]> git.lyx.org Git - lyx.git/blob - development/cmake/src/mathed/CMakeLists.txt
use glob instead of lists
[lyx.git] / development / cmake / src / mathed / CMakeLists.txt
1 project(mathed)
2
3 file(GLOB mathed_sources ${TOP_SRC_DIR}/src/mathed/*.C)
4 file(GLOB mathed_headers ${TOP_SRC_DIR}/src/mathed/*.h)
5
6 list(REMOVE_ITEM mathed_sources
7         ${TOP_SRC_DIR}/src/mathed/math_xyarrowinset.C
8         ${TOP_SRC_DIR}/src/mathed/math_mboxinset.C
9         ${TOP_SRC_DIR}/src/mathed/formulamacro.C)
10
11 include_directories(${TOP_SRC_DIR}/src/mathed)
12
13 add_library(mathed STATIC ${mathed_sources} ${mathed_headers})
14
15