1 # This file is part of LyX, the document processor.
2 # Licence details can be found in the file COPYING.
4 # Copyright (c) 2006-2011, Peter Kümmel, <syntheticpp@gmx.net>
9 file(GLOB mathed_sources ${TOP_SRC_DIR}/src/mathed/${LYX_CPP_FILES})
10 file(GLOB mathed_headers ${TOP_SRC_DIR}/src/mathed/${LYX_HPP_FILES})
12 list(REMOVE_ITEM mathed_sources
13 ${TOP_SRC_DIR}/src/mathed/InsetMathXYArrow.cpp)
15 lyx_add_msvc_pch(mathed)
17 include_directories(${TOP_SRC_DIR}/src/mathed)
19 if(NOT LYX_MERGE_FILES)
20 add_library(mathed ${library_type} ${mathed_sources} ${mathed_headers})
22 lyx_const_touched_files(_allinone mathed_sources)
23 add_library(mathed ${library_type} ${_allinone_files})
25 set_target_properties(mathed PROPERTIES FOLDER "applications/LyX")
27 lyx_add_gcc_pch(mathed)
29 project_source_group("${GROUP_CODE}" mathed_sources mathed_headers)