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)
|
|
|
|
|
|
2007-08-28 17:07:02 +00:00
|
|
|
|
add_subdirectory(qt4)
|
2006-06-20 09:57:19 +00:00
|
|
|
|
|
2007-04-23 16:52:27 +00:00
|
|
|
|
file(GLOB frontends_sources ${TOP_SRC_DIR}/src/frontends/${LYX_CPP_FILES})
|
|
|
|
|
file(GLOB frontends_headers ${TOP_SRC_DIR}/src/frontends/${LYX_HPP_FILES})
|
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)
|
2007-03-27 18:26:36 +00:00
|
|
|
|
add_library(frontends ${library_type} ${frontends_sources} ${frontends_headers})
|
2007-08-28 17:07:02 +00:00
|
|
|
|
else()
|
2007-04-04 19:21:16 +00:00
|
|
|
|
lyx_const_touched_files(_allinone frontends_sources)
|
|
|
|
|
add_library(frontends ${library_type} ${_allinone_files})
|
2007-08-28 17:07:02 +00:00
|
|
|
|
endif()
|
2006-06-11 11:57:25 +00:00
|
|
|
|
|
2009-08-04 20:56:14 +00:00
|
|
|
|
if(Boost_FOUND)
|
|
|
|
|
target_link_libraries(frontends ${Boost_LIBRARIES})
|
|
|
|
|
else()
|
|
|
|
|
target_link_libraries(frontends boost_regex)
|
|
|
|
|
endif()
|
2007-10-08 09:41:11 +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
|
|
|
|
|