2006-09-15 17:05:20 +00:00
|
|
|
|
# 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>
|
|
|
|
|
#
|
|
|
|
|
|
2006-06-11 11:57:25 +00:00
|
|
|
|
project(frontends)
|
|
|
|
|
|
|
|
|
|
include_directories(${TOP_SRC_DIR}/src/frontends)
|
|
|
|
|
|
|
|
|
|
add_subdirectory(controllers)
|
2006-06-20 09:57:19 +00:00
|
|
|
|
add_subdirectory(${qt_postfix})
|
|
|
|
|
|
|
|
|
|
|
2006-06-16 16:43:17 +00:00
|
|
|
|
file(GLOB frontends_sources ${TOP_SRC_DIR}/src/frontends/*.C)
|
|
|
|
|
file(GLOB frontends_headers ${TOP_SRC_DIR}/src/frontends/*.h)
|
2006-06-11 11:57:25 +00:00
|
|
|
|
|
2006-10-23 19:04:29 +00:00
|
|
|
|
lyx_add_msvc_pch(frontends)
|
2006-10-23 13:32:46 +00:00
|
|
|
|
|
2007-03-20 22:13:21 +00:00
|
|
|
|
|
|
|
|
|
if(NOT MERGE_FILES)
|
|
|
|
|
add_library(frontends STATIC ${frontends_sources} ${frontends_headers})
|
|
|
|
|
else(NOT MERGE_FILES)
|
2007-03-24 11:33:03 +00:00
|
|
|
|
lyx_merge_files(allinone frontends_sources)
|
|
|
|
|
add_library(frontends STATIC
|
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/allinone_const.C
|
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/allinone_touched.C)
|
2007-03-20 22:13:21 +00:00
|
|
|
|
endif(NOT MERGE_FILES)
|
2006-06-11 11:57:25 +00:00
|
|
|
|
|
2006-09-03 23:50:16 +00:00
|
|
|
|
project_source_group("${GROUP_CODE}" frontends_sources frontends_headers)
|
2006-06-11 11:57:25 +00:00
|
|
|
|
|