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 include_directories(${TOP_SRC_DIR}/src/frontends)
11 add_subdirectory(controllers)
12 add_subdirectory(${qt_postfix})
15 file(GLOB frontends_sources ${TOP_SRC_DIR}/src/frontends/*.C)
16 file(GLOB frontends_headers ${TOP_SRC_DIR}/src/frontends/*.h)
18 lyx_add_msvc_pch(frontends)
22 add_library(frontends STATIC ${frontends_sources} ${frontends_headers})
24 lyx_merge_files(${CMAKE_CURRENT_BINARY_DIR}/frontends_allinone.C frontends_sources)
25 add_library(frontends STATIC ${CMAKE_CURRENT_BINARY_DIR}/frontends_allinone.C)
26 endif(NOT MERGE_FILES)
28 project_source_group("${GROUP_CODE}" frontends_sources frontends_headers)