]> git.lyx.org Git - lyx.git/blob - src/mathed/CMakeLists.txt
Natbib authoryear uses (Ref1; Ref2) by default.
[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 list(REMOVE_ITEM mathed_sources
13         ${TOP_SRC_DIR}/src/mathed/InsetMathXYArrow.cpp
14         ${TOP_SRC_DIR}/src/mathed/InsetFormulaMacro.cpp)
15
16 lyx_add_msvc_pch(mathed)
17
18 include_directories(${TOP_SRC_DIR}/src/mathed)
19
20 if(NOT LYX_MERGE_FILES)
21         add_library(mathed ${library_type} ${mathed_sources} ${mathed_headers})
22 else()
23         lyx_const_touched_files(_allinone  mathed_sources)
24         add_library(mathed ${library_type} ${_allinone_files})
25 endif()
26 set_target_properties(mathed PROPERTIES FOLDER "applications/LyX")
27
28 lyx_add_gcc_pch(mathed)
29
30 project_source_group("${GROUP_CODE}" mathed_sources mathed_headers)
31