1 # This file is part of LyX, the document processor.
2 # Licence details can be found in the file COPYING.
4 # Copyright (c) 2006, Peter Kümmel, <syntheticpp@gmx.net>
9 file(GLOB insets_sources ${TOP_SRC_DIR}/src/insets/*.C)
10 file(GLOB insets_headers ${TOP_SRC_DIR}/src/insets/*.h)
12 list(REMOVE_ITEM insets_sources ${TOP_SRC_DIR}/src/insets/insettheorem.C)
14 lyx_add_msvc_pch(insets)
16 include_directories(${TOP_SRC_DIR}/src/insets)
20 add_library(insets STATIC ${insets_sources} ${insets_headers})
22 lyx_merge_files(allinone insets_sources)
23 add_library(insets STATIC
24 ${CMAKE_CURRENT_BINARY_DIR}/allinone.h
25 ${CMAKE_CURRENT_BINARY_DIR}/allinone_const.C
26 ${CMAKE_CURRENT_BINARY_DIR}/allinone_touched.C)
27 endif(NOT MERGE_FILES)
30 project_source_group("${GROUP_CODE}" insets_sources insets_headers)