mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-25 22:06:15 +00:00
0cd8c03d17
This patch puts all projects into subfolders (at least for MSVS). In this way, there is a better overview (especially if the number of test projects will be increasing).
29 lines
856 B
CMake
29 lines
856 B
CMake
# This file is part of LyX, the document processor.
|
|
# Licence details can be found in the file COPYING.
|
|
#
|
|
# Copyright (c) 2006-2011 Peter Kümmel, <syntheticpp@gmx.net>
|
|
#
|
|
|
|
project(frontends)
|
|
|
|
include_directories(${TOP_SRC_DIR}/src/frontends)
|
|
|
|
add_subdirectory(qt4)
|
|
|
|
file(GLOB frontends_sources ${TOP_SRC_DIR}/src/frontends/${LYX_CPP_FILES})
|
|
file(GLOB frontends_headers ${TOP_SRC_DIR}/src/frontends/${LYX_HPP_FILES})
|
|
|
|
|
|
if(NOT LYX_MERGE_FILES)
|
|
add_library(frontends ${library_type} ${frontends_sources} ${frontends_headers})
|
|
else()
|
|
lyx_const_touched_files(_allinone frontends_sources)
|
|
add_library(frontends ${library_type} ${_allinone_files})
|
|
endif()
|
|
set_target_properties(frontends PROPERTIES FOLDER "applications/LyX")
|
|
|
|
target_link_libraries(frontends ${Lyx_Boost_Libraries})
|
|
|
|
project_source_group("${GROUP_CODE}" frontends_sources frontends_headers)
|
|
|