#1398 Removed dependency on system boost, added subset of boost to ThirdParty

Added a subset of boost to ThirdParty folder. Code extracted from version boost version 1.59.0
This commit is contained in:
Magne Sjaastad
2017-04-05 08:34:52 +02:00
parent 6c7dfdca7b
commit 2b4efc4b5c
1617 changed files with 261070 additions and 88 deletions

36
ThirdParty/boost-Subset/CMakeLists.txt vendored Normal file
View File

@@ -0,0 +1,36 @@
cmake_minimum_required (VERSION 2.8)
# Procedure used to extract subset from complete Boost installation
#
# 1) Run command line tool bcp to extract required files for filesystem module
# http://www.boost.org/doc/libs/1_63_0/tools/bcp/doc/html/index.html#bcp.syntax.options
# bcp.exe filesystem --boost="c:/local/boost_1_59_0" d:/gitroot/ResInsight/ThirdParty/boost-Subset
#
# 2) Delete the following include folders, as they are large and not required
# It is probably possible to exclude more folders, but the dependencies for the remaining folders are quite complex
# boost-Subset/boost/preprocessor
# boost-Subset/boost/test
# boost-Subset/boost/typeof
# 3) Delete following source folders, keep folders 'filesystem' and 'system'
# boost-Subset/libs/chrono
# boost-Subset/libs/smart_ptr
# boost-Subset/libs/test
# boost-Subset/libs/timer
project (boost-Subset)
include_directories(
.
)
add_library( ${PROJECT_NAME}
libs/filesystem/src/codecvt_error_category.cpp
libs/filesystem/src/operations.cpp
libs/filesystem/src/path.cpp
libs/filesystem/src/path_traits.cpp
libs/filesystem/src/portability.cpp
libs/filesystem/src/windows_file_codecvt.cpp
libs/system/src/error_code.cpp
)