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 lyx_add_msvc_pch(mathed)
14 include_directories(${TOP_SRC_DIR}/src/mathed ${QT_INCLUDES})
16 if(NOT LYX_MERGE_FILES)
17 add_library(mathed ${library_type} ${mathed_sources} ${mathed_headers})
19 lyx_const_touched_files(_allinone mathed_sources)
20 add_library(mathed ${library_type} ${_allinone_files})
22 set_target_properties(mathed PROPERTIES FOLDER "applications/LyX" QT_NO_UNICODE_DEFINES TRUE)
23 qt_use_modules(mathed Core)
25 lyx_add_gcc_pch(mathed)
27 project_source_group("${GROUP_CODE}" mathed_sources mathed_headers)