1 # This file is part of LyX, the document processor.
2 # Licence details can be found in the file COPYING.
4 # Copyright (c) 2006, Peter Kümmel, <syntheticpp@gmx.net>
9 file(GLOB controllers_sources ${TOP_SRC_DIR}/src/frontends/controllers/*.C)
10 file(GLOB controllers_headers ${TOP_SRC_DIR}/src/frontends/controllers/*.h)
12 lyx_add_msvc_pch(controllers)
14 include_directories(${TOP_SRC_DIR}/src/frontends/controllers)
17 add_library(controllers STATIC ${controllers_sources} ${controllers_headers})
19 lyx_merge_files(allinone controllers_sources)
20 add_library(controllers STATIC
21 ${CMAKE_CURRENT_BINARY_DIR}/allinone.h
22 ${CMAKE_CURRENT_BINARY_DIR}/allinone_const.C
23 ${CMAKE_CURRENT_BINARY_DIR}/allinone_touched.C)
24 endif(NOT MERGE_FILES)
26 target_link_libraries(controllers boost_regex boost_filesystem)
28 project_source_group("${GROUP_CODE}" controllers_sources controllers_headers)