2011-05-10 17:44:41 +00:00
|
|
|
|
# This file is part of LyX, the document processor.
|
|
|
|
|
# Licence details can be found in the file COPYING.
|
|
|
|
|
#
|
|
|
|
|
# Copyright (c) 2006-2011 Peter K<>mmel, <syntheticpp@gmx.net>
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
project(insets)
|
|
|
|
|
|
|
|
|
|
file(GLOB insets_sources ${TOP_SRC_DIR}/src/insets/${LYX_CPP_FILES})
|
|
|
|
|
file(GLOB insets_headers ${TOP_SRC_DIR}/src/insets/${LYX_HPP_FILES})
|
|
|
|
|
|
|
|
|
|
list(REMOVE_ITEM insets_sources ${TOP_SRC_DIR}/src/insets/InsetTheorem.cpp)
|
|
|
|
|
|
|
|
|
|
lyx_add_msvc_pch(insets)
|
|
|
|
|
|
|
|
|
|
include_directories(${TOP_SRC_DIR}/src/insets ${QT_INCLUDES})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(NOT LYX_MERGE_FILES)
|
|
|
|
|
add_library(insets ${library_type} ${insets_sources} ${insets_headers})
|
|
|
|
|
else()
|
|
|
|
|
lyx_const_touched_files(_allinone insets_sources)
|
|
|
|
|
add_library(insets ${library_type} ${_allinone_files})
|
|
|
|
|
endif()
|
2012-10-22 16:12:29 +00:00
|
|
|
|
set_target_properties(insets PROPERTIES FOLDER "applications/LyX")
|
2011-05-10 17:44:41 +00:00
|
|
|
|
|
2015-03-26 01:27:11 +00:00
|
|
|
|
qt_use_modules(insets Gui)
|
|
|
|
|
|
2011-05-10 17:44:41 +00:00
|
|
|
|
lyx_add_gcc_pch(insets)
|
|
|
|
|
|
|
|
|
|
project_source_group("${GROUP_CODE}" insets_sources insets_headers)
|
|
|
|
|
|