]> git.lyx.org Git - lyx.git/blob - src/mathed/CMakeLists.txt
Fix -Winconsistent-missing-override
[lyx.git] / src / mathed / CMakeLists.txt
1 # This file is part of LyX, the document processor.
2 # Licence details can be found in the file COPYING.
3 #
4 # Copyright (c) 2006-2011, Peter Kümmel, <syntheticpp@gmx.net>
5 #
6
7 project(mathed)
8
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})
11
12 lyx_add_msvc_pch(mathed)
13
14 include_directories(${TOP_SRC_DIR}/src/mathed ${QT_INCLUDES})
15
16 if(NOT LYX_MERGE_FILES)
17         add_library(mathed ${library_type} ${mathed_sources} ${mathed_headers})
18 else()
19         lyx_const_touched_files(_allinone  mathed_sources)
20         add_library(mathed ${library_type} ${_allinone_files})
21 endif()
22 set_target_properties(mathed PROPERTIES FOLDER "applications/LyX" QT_NO_UNICODE_DEFINES TRUE)
23 qt_use_modules(mathed Core)
24
25 lyx_add_gcc_pch(mathed)
26
27 project_source_group("${GROUP_CODE}" mathed_sources mathed_headers)
28