lyx_mirror/development/cmake/src/frontends/CMakeLists.txt

30 lines
820 B
CMake
Raw Normal View History

# This file is part of LyX, the document processor.
# Licence details can be found in the file COPYING.
#
# Copyright (c) 2006, Peter K<>mmel, <syntheticpp@gmx.net>
#
project(frontends)
include_directories(${TOP_SRC_DIR}/src/frontends)
add_subdirectory(controllers)
add_subdirectory(${qt_postfix})
file(GLOB frontends_sources ${TOP_SRC_DIR}/src/frontends/*.C)
file(GLOB frontends_headers ${TOP_SRC_DIR}/src/frontends/*.h)
lyx_add_msvc_pch(frontends)
if(NOT MERGE_FILES)
add_library(frontends ${library_type} ${frontends_sources} ${frontends_headers})
else(NOT MERGE_FILES)
lyx_const_touched_files(_allinone const_touched_files frontends_sources)
add_library(frontends ${library_type} ${const_touched_files})
endif(NOT MERGE_FILES)
project_source_group("${GROUP_CODE}" frontends_sources frontends_headers)