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.
|
|
|
|
|
#
|
2011-01-10 23:24:00 +00:00
|
|
|
|
# Copyright (c) 2006-2011 Peter K<>mmel, <syntheticpp@gmx.net>
|
2006-09-15 17:05:20 +00:00
|
|
|
|
#
|
|
|
|
|
|
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
|
|
|
|
|
2007-03-20 22:13:21 +00:00
|
|
|
|
|
2010-07-06 19:47:16 +00:00
|
|
|
|
if(NOT LYX_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-17 21:27:56 +00:00
|
|
|
|
target_link_libraries(frontends ${Lyx_Boost_Libraries})
|
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
|
|
|
|
|