1 # This file is part of LyX, the document processor.
2 # Licence details can be found in the file COPYING.
4 # Copyright (c) 2006-2011 Peter Kümmel, <syntheticpp@gmx.net>
9 include_directories(${TOP_SRC_DIR}/src/frontends)
13 file(GLOB frontends_sources ${TOP_SRC_DIR}/src/frontends/${LYX_CPP_FILES})
14 file(GLOB frontends_headers ${TOP_SRC_DIR}/src/frontends/${LYX_HPP_FILES})
17 if(NOT LYX_MERGE_FILES)
18 add_library(frontends ${library_type} ${frontends_sources} ${frontends_headers})
20 lyx_const_touched_files(_allinone frontends_sources)
21 add_library(frontends ${library_type} ${_allinone_files})
23 set_target_properties(frontends PROPERTIES FOLDER "applications/LyX")
25 target_link_libraries(frontends ${Lyx_Boost_Libraries})
27 project_source_group("${GROUP_CODE}" frontends_sources frontends_headers)
29 add_subdirectory(tests)