1 # This file is part of LyX, the document processor.
2 # Licence details can be found in the file COPYING.
4 # Copyright (c) 2006-2011 Peter Kümmel, <syntheticpp@gmx.net>
9 file(GLOB graphics_sources ${TOP_SRC_DIR}/src/graphics/${LYX_CPP_FILES})
10 file(GLOB graphics_headers ${TOP_SRC_DIR}/src/graphics/${LYX_HPP_FILES})
12 lyx_add_msvc_pch(graphics)
15 include_directories(${TOP_SRC_DIR}/src/graphics)
17 if(NOT LYX_MERGE_FILES)
18 add_library(graphics ${library_type} ${graphics_sources} ${graphics_headers})
20 lyx_const_touched_files(_allinone graphics_sources)
21 add_library(graphics ${library_type} ${_allinone_files})
24 lyx_add_gcc_pch(graphics)
26 project_source_group("${GROUP_CODE}" graphics_sources graphics_headers)