1 # This file is part of LyX, the document processor.
2 # Licence details can be found in the file COPYING.
4 # Copyright (c) 2006, Peter Kümmel, <syntheticpp@gmx.net>
9 file(GLOB support_sources ${TOP_SRC_DIR}/src/support/${LYX_CPP_FILES})
10 file(GLOB support_headers ${TOP_SRC_DIR}/src/support/${LYX_HPP_FILES})
12 file(GLOB support_minzip_sources ${TOP_SRC_DIR}/src/support/minizip/*.c)
13 file(GLOB support_minzip_cpp_sources ${TOP_SRC_DIR}/src/support/minizip/*.cpp)
14 file(GLOB support_min_zip_headers ${TOP_SRC_DIR}/src/support/minizip/*.h)
16 list(REMOVE_ITEM support_sources
17 ${TOP_SRC_DIR}/src/support/os_win32.cpp
18 ${TOP_SRC_DIR}/src/support/os_unix.cpp
19 ${TOP_SRC_DIR}/src/support/os_cygwin.cpp
20 ${TOP_SRC_DIR}/src/support/os_os2.C
21 ${TOP_SRC_DIR}/src/support/atexit.c
22 ${TOP_SRC_DIR}/src/support/strerror.c
23 ${TOP_SRC_DIR}/src/support/minizip/iowin32.h
24 ${TOP_SRC_DIR}/src/support/minizip/iowin32.c)
26 lyx_add_msvc_pch(support)
28 include_directories(${TOP_SRC_DIR}/src/support
29 ${TOP_SRC_DIR}/src/support/minizip
30 ${QT_INCLUDE_DIR} ${QT_INCLUDE_DIR}/QtCore
35 set(support_sources ${support_sources} ${support_minzip_sources})
36 set(support_headers ${support_headers} ${support_minzip_headers})
37 add_library(support ${library_type} ${support_sources} ${support_headers})
39 lyx_const_touched_files(_allinone support_sources)
40 add_library(support ${library_type} ${_allinone_files}
41 ${support_minzip_sources} ${support_minzip_cpp_sources})
45 target_link_libraries(support boost_signals)
48 target_link_libraries(support shlwapi)
51 project_source_group("${GROUP_CODE}" support_sources support_headers)