]> git.lyx.org Git - lyx.git/blob - development/cmake/boost/libs/filesystem/CMakeLists.txt
7b34271b714fdd86a10e043bd6e12d0740224c99
[lyx.git] / development / cmake / boost / libs / filesystem / CMakeLists.txt
1 # This file is part of LyX, the document processor.
2 # Licence details can be found in the file COPYING.
3 #
4 # Copyright (c) 2006, Peter Kümmel, <syntheticpp@gmx.net>
5 #
6
7 project(boost_filesystem)
8
9 set(boost_filesystem_sources
10         exception.cpp
11         operations.cpp
12         path.cpp
13         portability.cpp
14 )
15
16 lyx_add_path(boost_filesystem_sources ${TOP_SRC_DIR}/boost/libs/filesystem/src)
17
18 if(NOT MERGE_FILES)
19         add_library(boost_filesystem STATIC ${boost_filesystem_sources})
20 else(NOT MERGE_FILES)
21         add_definitions(-D_WIN32_WINNT=0x500)
22         lyx_merge_files(allinone boost_filesystem_sources)
23         add_library(boost_filesystem STATIC 
24                                         ${CMAKE_CURRENT_BINARY_DIR}/allinone_const.C
25                                         ${CMAKE_CURRENT_BINARY_DIR}/allinone_touched.C)
26 endif(NOT MERGE_FILES)
27