]> git.lyx.org Git - features.git/blob - development/cmake/src/frontends/controllers/CMakeLists.txt
cmake cosmetics
[features.git] / development / cmake / src / frontends / controllers / CMakeLists.txt
1 # This file is part of LyX, the document processor.
2 # Licence details can be found in the file COPYING.
3 #
4 # Copyright (c) 2006, Peter Kümmel, <syntheticpp@gmx.net>
5 #
6
7 project(controllers)
8
9 file(GLOB controllers_sources ${TOP_SRC_DIR}/src/frontends/controllers/${LYX_CPP_FILES})
10 file(GLOB controllers_headers ${TOP_SRC_DIR}/src/frontends/controllers/${LYX_HPP_FILES})
11
12 lyx_add_msvc_pch(controllers)
13
14 include_directories(${TOP_SRC_DIR}/src/frontends/controllers)
15
16 if(NOT MERGE_FILES)
17         add_library(controllers ${library_type} ${controllers_sources} ${controllers_headers})
18 else()
19         lyx_const_touched_files(_allinone  controllers_sources)
20         add_library(controllers ${library_type} ${_allinone_files})
21 endif()
22
23 target_link_libraries(controllers boost_regex boost_filesystem)
24
25 project_source_group("${GROUP_CODE}" controllers_sources controllers_headers)
26