]> git.lyx.org Git - lyx.git/blob - development/cmake/src/insets/CMakeLists.txt
Rename insets/insetxxx to insets/InsetXxx, part 1
[lyx.git] / development / cmake / src / insets / 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(insets)
8
9 file(GLOB insets_sources ${TOP_SRC_DIR}/src/insets/${LYX_CPP_FILES})
10 file(GLOB insets_headers ${TOP_SRC_DIR}/src/insets/${LYX_HPP_FILES})
11
12 list(REMOVE_ITEM insets_sources ${TOP_SRC_DIR}/src/insets/InsetTheorem.cpp)
13
14 lyx_add_msvc_pch(insets)
15
16 include_directories(${TOP_SRC_DIR}/src/insets)
17
18
19 if(NOT MERGE_FILES)
20         add_library(insets ${library_type} ${insets_sources} ${insets_headers})
21 else(NOT MERGE_FILES)
22         lyx_const_touched_files(_allinone  insets_sources)
23         add_library(insets ${library_type} ${_allinone_files})
24 endif(NOT MERGE_FILES)
25
26
27 project_source_group("${GROUP_CODE}" insets_sources insets_headers)
28