2017-12-06 05:00:50 +08:00
|
|
|
import toolset ;
|
|
|
|
|
2018-03-12 14:01:33 +08:00
|
|
|
if "@VCPKG_PLATFORM_TOOLSET@" != "external"
|
|
|
|
{
|
2021-09-22 06:07:46 +08:00
|
|
|
using msvc : @BOOST_MSVC_VERSION@ : cl.exe
|
2020-03-03 02:41:27 +08:00
|
|
|
:
|
|
|
|
<setup>"@NOTHING_BAT@"
|
2021-09-22 06:07:46 +08:00
|
|
|
@CXXFLAGS@
|
|
|
|
@CFLAGS@
|
|
|
|
@LDFLAGS@
|
2020-03-03 02:41:27 +08:00
|
|
|
;
|
2018-03-12 14:01:33 +08:00
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
2021-07-07 05:05:13 +08:00
|
|
|
using @B2_TOOLSET@ : : @CMAKE_CXX_COMPILER@
|
2018-03-12 14:01:33 +08:00
|
|
|
:
|
|
|
|
<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"
|
|
|
|
{
|
2020-05-14 01:26:05 +08:00
|
|
|
using python : @VCPKG_PYTHON3_VERSION@ : : "@VCPKG_PYTHON3_INCLUDE@" : "@VCPKG_PYTHON3_LIBS_RELEASE@" ;
|
|
|
|
using python : @VCPKG_PYTHON3_VERSION@ : : "@VCPKG_PYTHON3_INCLUDE@" : "@VCPKG_PYTHON3_LIBS_DEBUG@" : <python-debugging>on ;
|
|
|
|
using python : @VCPKG_PYTHON2_VERSION@ : : "@VCPKG_PYTHON2_INCLUDE@" : "@VCPKG_PYTHON2_LIBS_RELEASE@" ;
|
|
|
|
using python : @VCPKG_PYTHON2_VERSION@ : : "@VCPKG_PYTHON2_INCLUDE@" : "@VCPKG_PYTHON2_LIBS_DEBUG@" : <python-debugging>on ;
|
2017-12-06 05:00:50 +08:00
|
|
|
}
|
|
|
|
|
2021-09-28 08:12:39 +08:00
|
|
|
if "@PORT@" = "boost-mpi" || "@PORT@" = "boost-graph-parallel"
|
2018-02-17 19:54:43 +08:00
|
|
|
{
|
|
|
|
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 : ;
|
|
|
|
|
2020-03-03 02:41:27 +08:00
|
|
|
if "@VCPKG_PLATFORM_TOOLSET@" != "external"
|
|
|
|
{
|
|
|
|
lib advapi32 ;
|
|
|
|
|
|
|
|
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
|
|
|
|
2020-03-03 02:41:27 +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
|
|
|
|
2020-03-03 02:41:27 +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 : : ;
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
2020-12-16 07:00:41 +08:00
|
|
|
if "@CMAKE_SYSTEM_NAME@" = "Windows" # We are hopelessly stuck inside boost-modular-build-helper, only this works
|
|
|
|
{
|
|
|
|
lib icuuc : : <name>icuuc <search>"@CURRENT_INSTALLED_DIR@/lib" <variant>release : : ;
|
|
|
|
lib icuuc : : <name>icuucd <search>"@CURRENT_INSTALLED_DIR@/debug/lib" <variant>debug : : ;
|
2017-12-06 05:00:50 +08:00
|
|
|
|
2020-12-16 07:00:41 +08:00
|
|
|
lib icuin : : <name>icuin <search>"@CURRENT_INSTALLED_DIR@/lib" <variant>release : : ;
|
|
|
|
lib icuin : : <name>icuind <search>"@CURRENT_INSTALLED_DIR@/debug/lib" <variant>debug : : ;
|
2020-03-03 02:41:27 +08:00
|
|
|
|
2020-12-16 07:00:41 +08:00
|
|
|
lib icudt : : <name>icudt <search>"@CURRENT_INSTALLED_DIR@/lib" <variant>release : : ;
|
|
|
|
lib icudt : : <name>icudtd <search>"@CURRENT_INSTALLED_DIR@/debug/lib" <variant>debug : : ;
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
2021-03-25 04:45:55 +08:00
|
|
|
lib dl ;
|
|
|
|
lib icuuc : : <name>icuuc <search>"@CURRENT_INSTALLED_DIR@/lib" <variant>release : : <library>dl ;
|
|
|
|
lib icuuc : : <name>icuuc <search>"@CURRENT_INSTALLED_DIR@/debug/lib" <variant>debug : : <library>dl ;
|
2020-12-16 07:00:41 +08:00
|
|
|
|
|
|
|
lib icuin : : <name>icui18n <search>"@CURRENT_INSTALLED_DIR@/lib" <variant>release : : ;
|
|
|
|
lib icuin : : <name>icui18n <search>"@CURRENT_INSTALLED_DIR@/debug/lib" <variant>debug : : ;
|
|
|
|
|
|
|
|
lib icudt : : <name>icudata <search>"@CURRENT_INSTALLED_DIR@/lib" <variant>release : : ;
|
|
|
|
lib icudt : : <name>icudata <search>"@CURRENT_INSTALLED_DIR@/debug/lib" <variant>debug : : ;
|
|
|
|
}
|
2020-03-03 02:41:27 +08:00
|
|
|
}
|
2018-04-18 07:26:01 +08:00
|
|
|
|
2021-09-28 08:12:39 +08:00
|
|
|
lib iconv : : <file>"@VCPKG_ICONV_LIBRARY_RELEASE@" <link>shared <runtime-link>shared <variant>release : : ;
|
|
|
|
lib iconv : : <file>"@VCPKG_ICONV_LIBRARY_DEBUG@" <link>shared <runtime-link>shared <variant>debug : : ;
|