]> git.lyx.org Git - lyx.git/blob - development/cmake/src/frontends/CMakeLists.txt
afcdd8620fe23ecb0fcabf9f7d67447a20cd7971
[lyx.git] / development / cmake / 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, Peter Kümmel, <syntheticpp@gmx.net>
5 #
6
7 project(frontends)
8
9 include_directories(${TOP_SRC_DIR}/src/frontends)
10
11 add_subdirectory(controllers) 
12 add_subdirectory(qt4) 
13
14 file(GLOB frontends_sources ${TOP_SRC_DIR}/src/frontends/${LYX_CPP_FILES})
15 file(GLOB frontends_headers ${TOP_SRC_DIR}/src/frontends/${LYX_HPP_FILES})
16
17 lyx_add_msvc_pch(frontends)
18
19
20 if(NOT MERGE_FILES)
21         add_library(frontends ${library_type} ${frontends_sources} ${frontends_headers})
22 else()
23         lyx_const_touched_files(_allinone  frontends_sources)
24         add_library(frontends ${library_type} ${_allinone_files})
25 endif()
26
27 project_source_group("${GROUP_CODE}" frontends_sources frontends_headers)
28