mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 19:25:27 +08:00
24e8be5fcf
* [boost] update to 1.73 * [ompl] remove dependency to boost-disjoint-sets * [libtorrent] include fixes from RC_1_2 branch * [liblas] fix boost headers * [freeopcua] fix std headers * [pcl] fix build with Boost 1.73.0 * [hpx] fix build with Boost 1.73.0 * [libmysql] fix conflict with C++20 header <version> * [boost-modular-build-helper] move port-specific b2 options to the file `<port_dir>/b2-options.cmake` [boost-python] support Python2 (fixes #3495) * [boost-python] remove Python executable from user-config * [libtorrent] update version after merge * [libtorrent] add boost-variant dependency
70 lines
2.6 KiB
Plaintext
70 lines
2.6 KiB
Plaintext
import toolset ;
|
|
|
|
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@
|
|
@CFLAGS@
|
|
@LDFLAGS@
|
|
# MINGW here causes b2 to not run cygpath
|
|
<flavor>mingw
|
|
;
|
|
}
|
|
|
|
if "@PORT@" = "boost-python"
|
|
{
|
|
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 ;
|
|
}
|
|
|
|
if "@PORT@" = "boost-mpi"
|
|
{
|
|
using mpi : :
|
|
<library-path>"@CURRENT_INSTALLED_DIR@/lib"
|
|
<include>"@CURRENT_INSTALLED_DIR@/include"
|
|
<find-shared-library>msmpi ;
|
|
}
|
|
|
|
project user-config : ;
|
|
|
|
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 ;
|
|
|
|
lib icuin : : <file>"@CURRENT_INSTALLED_DIR@/lib/icuin.lib" <variant>release : : ;
|
|
lib icuin : : <file>"@CURRENT_INSTALLED_DIR@/debug/lib/icuind.lib" <variant>debug : : ;
|
|
|
|
lib icudt : : <file>"@CURRENT_INSTALLED_DIR@/lib/icudt.lib" <variant>release : : ;
|
|
lib icudt : : <file>"@CURRENT_INSTALLED_DIR@/debug/lib/icudtd.lib" <variant>debug : : ;
|
|
}
|
|
else
|
|
{
|
|
lib icuuc : : <file>"@CURRENT_INSTALLED_DIR@/lib/libicuuc.a" <variant>release : : ;
|
|
lib icuuc : : <file>"@CURRENT_INSTALLED_DIR@/debug/lib/libicuuc.a" <variant>debug : : ;
|
|
|
|
lib icuin : : <file>"@CURRENT_INSTALLED_DIR@/lib/libicui18n.a" <variant>release : : ;
|
|
lib icuin : : <file>"@CURRENT_INSTALLED_DIR@/debug/lib/libicui18n.a" <variant>debug : : ;
|
|
|
|
lib icudt : : <file>"@CURRENT_INSTALLED_DIR@/lib/libicudata.a" <variant>release : : ;
|
|
lib icudt : : <file>"@CURRENT_INSTALLED_DIR@/debug/lib/libicudata.a" <variant>debug : : ;
|
|
}
|
|
|
|
lib iconv : : <file>"@LIBICONV_LIBRARY@" <link>shared <runtime-link>shared <variant>release : : ;
|
|
lib iconv : : <file>"@LIBICONV_LIBRARY@" <link>shared <runtime-link>shared <variant>debug : : ;
|