2011-05-10 17:44:41 +00:00
|
|
|
|
# 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(graphics)
|
|
|
|
|
|
|
|
|
|
file(GLOB graphics_sources ${TOP_SRC_DIR}/src/graphics/${LYX_CPP_FILES})
|
|
|
|
|
file(GLOB graphics_headers ${TOP_SRC_DIR}/src/graphics/${LYX_HPP_FILES})
|
|
|
|
|
|
|
|
|
|
lyx_add_msvc_pch(graphics)
|
|
|
|
|
|
2012-12-13 19:13:23 +00:00
|
|
|
|
include_directories(${TOP_SRC_DIR}/src/graphics)
|
2015-06-10 19:53:10 +00:00
|
|
|
|
lyx_automoc(${TOP_SRC_DIR}/src/graphics/PreviewLoader.cpp)
|
2015-06-10 22:09:31 +00:00
|
|
|
|
include_directories(${CMAKE_CURRENT_BINARY_DIR} ${QT_INCLUDES})
|
2011-05-10 17:44:41 +00:00
|
|
|
|
|
|
|
|
|
if(NOT LYX_MERGE_FILES)
|
|
|
|
|
add_library(graphics ${library_type} ${graphics_sources} ${graphics_headers})
|
|
|
|
|
else()
|
|
|
|
|
lyx_const_touched_files(_allinone graphics_sources)
|
|
|
|
|
add_library(graphics ${library_type} ${_allinone_files})
|
|
|
|
|
endif()
|
2012-10-22 16:12:29 +00:00
|
|
|
|
set_target_properties(graphics PROPERTIES FOLDER "applications/LyX")
|
2015-06-10 19:53:10 +00:00
|
|
|
|
qt_use_modules(graphics Core)
|
2011-05-10 17:44:41 +00:00
|
|
|
|
|
|
|
|
|
lyx_add_gcc_pch(graphics)
|
|
|
|
|
|
|
|
|
|
project_source_group("${GROUP_CODE}" graphics_sources graphics_headers)
|
|
|
|
|
|