mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-27 22:41:09 +00:00
707eeb22fb
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37174 a592a061-630c-0410-9148-cb99ea01b6c8
31 lines
848 B
CMake
31 lines
848 B
CMake
# 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
|
|
${TOP_SRC_DIR}/src/mathed/InsetMathXYArrow.cpp
|
|
${TOP_SRC_DIR}/src/mathed/InsetFormulaMacro.cpp)
|
|
|
|
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()
|
|
|
|
lyx_add_gcc_pch(mathed)
|
|
|
|
project_source_group("${GROUP_CODE}" mathed_sources mathed_headers)
|
|
|