]> git.lyx.org Git - lyx.git/blob - src/frontends/CMakeLists.txt
Disable CheckTeX while buffer is processed
[lyx.git] / src / frontends / 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-2011 Peter Kümmel, <syntheticpp@gmx.net>
5 #
6
7 project(frontends)
8
9 include_directories(${TOP_SRC_DIR}/src/frontends)
10
11 add_subdirectory(qt4)
12
13 file(GLOB frontends_sources ${TOP_SRC_DIR}/src/frontends/${LYX_CPP_FILES})
14 file(GLOB frontends_headers ${TOP_SRC_DIR}/src/frontends/${LYX_HPP_FILES})
15
16
17 if(NOT LYX_MERGE_FILES)
18         add_library(frontends ${library_type} ${frontends_sources} ${frontends_headers})
19 else()
20         lyx_const_touched_files(_allinone  frontends_sources)
21         add_library(frontends ${library_type} ${_allinone_files})
22 endif()
23 set_target_properties(frontends PROPERTIES FOLDER "applications/LyX")
24
25 target_link_libraries(frontends ${Lyx_Boost_Libraries})
26
27 project_source_group("${GROUP_CODE}" frontends_sources frontends_headers)
28
29 add_subdirectory(tests)