vcpkg/ports/boost-build/user-config.jam
Albert Ziegenhagel 14ef8e2fd2 Fix building boost.mpi (#2684)
* Fix building boost.mpi

* [boost-*] Remove boost-mpi dependencies to avoid direct dependency on msmpi.

* [boost-build] Bump version with mpi changes
2018-02-17 03:54:43 -08:00

34 lines
1.1 KiB
Plaintext

import toolset ;
using msvc : : cl.exe :
<setup>"@NOTHING_BAT@"
@TOOLSET_OPTIONS@
;
if "@PORT@" = "boost-python"
{
using python : @PYTHON_VERSION@ : : "@PYTHON_INCLUDE_PATH@" : "@PYTHONLIBS_RELEASE@" ;
using python : @PYTHON_VERSION@ : : "@PYTHON_INCLUDE_PATH@" : "@PYTHONLIBS_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 : ;
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 : : ;