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(mathed)
|
|
|
|
|
|
|
|
|
|
file(GLOB mathed_sources ${TOP_SRC_DIR}/src/mathed/${LYX_CPP_FILES})
|
|
|
|
|
file(GLOB mathed_headers ${TOP_SRC_DIR}/src/mathed/${LYX_HPP_FILES})
|
|
|
|
|
|
|
|
|
|
list(REMOVE_ITEM mathed_sources
|
2013-05-24 05:17:20 +00:00
|
|
|
|
${TOP_SRC_DIR}/src/mathed/InsetMathXYArrow.cpp)
|
2011-05-10 17:44:41 +00:00
|
|
|
|
|
|
|
|
|
lyx_add_msvc_pch(mathed)
|
|
|
|
|
|
|
|
|
|
include_directories(${TOP_SRC_DIR}/src/mathed)
|
|
|
|
|
|
|
|
|
|
if(NOT LYX_MERGE_FILES)
|
|
|
|
|
add_library(mathed ${library_type} ${mathed_sources} ${mathed_headers})
|
|
|
|
|
else()
|
|
|
|
|
lyx_const_touched_files(_allinone mathed_sources)
|
|
|
|
|
add_library(mathed ${library_type} ${_allinone_files})
|
|
|
|
|
endif()
|
2012-10-22 16:12:29 +00:00
|
|
|
|
set_target_properties(mathed PROPERTIES FOLDER "applications/LyX")
|
2015-06-10 19:53:10 +00:00
|
|
|
|
qt_use_modules(mathed Core)
|
2011-05-10 17:44:41 +00:00
|
|
|
|
|
|
|
|
|
lyx_add_gcc_pch(mathed)
|
|
|
|
|
|
|
|
|
|
project_source_group("${GROUP_CODE}" mathed_sources mathed_headers)
|
|
|
|
|
|