2017-12-06 05:00:50 +08:00
|
|
|
import toolset ;
|
|
|
|
|
2018-03-12 14:01:33 +08:00
|
|
|
if "@VCPKG_PLATFORM_TOOLSET@" != "external"
|
|
|
|
{
|
|
|
|
using msvc : : cl.exe :
|
|
|
|
<setup>"@NOTHING_BAT@"
|
|
|
|
@TOOLSET_OPTIONS@
|
|
|
|
;
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
using gcc : 5.4.1 : @CMAKE_CXX_COMPILER@
|
|
|
|
:
|
|
|
|
<ranlib>@CMAKE_RANLIB@
|
|
|
|
<archiver>@CMAKE_AR@
|
|
|
|
@CXXFLAGS@
|
2018-10-23 00:29:54 +08:00
|
|
|
@CFLAGS@
|
|
|
|
@LDFLAGS@
|
2018-03-12 14:01:33 +08:00
|
|
|
# MINGW here causes b2 to not run cygpath
|
|
|
|
<flavor>mingw
|
|
|
|
;
|
|
|
|
}
|
2017-12-06 05:00:50 +08:00
|
|
|
|
|
|
|
if "@PORT@" = "boost-python"
|
|
|
|
{
|
2018-02-02 07:44:22 +08:00
|
|
|
using python : @PYTHON_VERSION@ : : "@PYTHON_INCLUDE_PATH@" : "@PYTHONLIBS_RELEASE@" ;
|
|
|
|
using python : @PYTHON_VERSION@ : : "@PYTHON_INCLUDE_PATH@" : "@PYTHONLIBS_DEBUG@" : <python-debugging>on ;
|
2017-12-06 05:00:50 +08:00
|
|
|
}
|
|
|
|
|
2018-02-17 19:54:43 +08:00
|
|
|
if "@PORT@" = "boost-mpi"
|
|
|
|
{
|
|
|
|
using mpi : :
|
2018-03-16 16:02:55 +08:00
|
|
|
<library-path>"@CURRENT_INSTALLED_DIR@/lib"
|
|
|
|
<include>"@CURRENT_INSTALLED_DIR@/include"
|
2018-02-17 19:54:43 +08:00
|
|
|
<find-shared-library>msmpi ;
|
|
|
|
}
|
|
|
|
|
2017-12-06 05:00:50 +08:00
|
|
|
project user-config : ;
|
|
|
|
|
|
|
|
lib advapi32 ;
|
|
|
|
|
2018-02-02 07:44:22 +08:00
|
|
|
lib icuuc : : <file>"@CURRENT_INSTALLED_DIR@/lib/icuuc.lib" <variant>release : : <library>advapi32 ;
|
|
|
|
lib icuuc : : <file>"@CURRENT_INSTALLED_DIR@/debug/lib/icuucd.lib" <variant>debug : : <library>advapi32 ;
|
2017-12-06 05:00:50 +08:00
|
|
|
|
2018-02-02 07:44:22 +08:00
|
|
|
lib icuin : : <file>"@CURRENT_INSTALLED_DIR@/lib/icuin.lib" <variant>release : : ;
|
|
|
|
lib icuin : : <file>"@CURRENT_INSTALLED_DIR@/debug/lib/icuind.lib" <variant>debug : : ;
|
2017-12-06 05:00:50 +08:00
|
|
|
|
2018-02-02 07:44:22 +08:00
|
|
|
lib icudt : : <file>"@CURRENT_INSTALLED_DIR@/lib/icudt.lib" <variant>release : : ;
|
|
|
|
lib icudt : : <file>"@CURRENT_INSTALLED_DIR@/debug/lib/icudtd.lib" <variant>debug : : ;
|
2018-04-18 07:26:01 +08:00
|
|
|
|
|
|
|
lib iconv : : <file>"@LIBICONV_LIBRARY@" <link>shared <runtime-link>shared <variant>release : : ;
|
|
|
|
lib iconv : : <file>"@LIBICONV_LIBRARY@" <link>shared <runtime-link>shared <variant>debug : : ;
|