+# This file is part of LyX, the document processor.
+# Licence details can be found in the file COPYING.
+#
+# Copyright (c) 2006, Peter Kümmel, <syntheticpp@gmx.net>
+#
+
project(boost_filesystem)
set(boost_filesystem_sources
- convenience.cpp
exception.cpp
- operations_posix_windows.cpp
- path_posix_windows.cpp
-)
+ operations.cpp
+ path.cpp
+ portability.cpp)
lyx_add_path(boost_filesystem_sources ${TOP_SRC_DIR}/boost/libs/filesystem/src)
-add_library(boost_filesystem STATIC ${boost_filesystem_sources})
\ No newline at end of file
+if(NOT MERGE_FILES)
+ add_library(boost_filesystem STATIC ${boost_filesystem_sources})
+else()
+ add_definitions(-D_WIN32_WINNT=0x500)
+ lyx_const_touched_files(_allinone boost_filesystem_sources)
+ add_library(boost_filesystem STATIC ${_allinone_files})
+endif()
+