mirror of https://github.com/microsoft/vcpkg.git
[numcpp] change boost dependencies to a feature (#39384)
This commit is contained in:
parent
0ae1da11b0
commit
cef0b9e6ab
|
|
@ -7,8 +7,15 @@ vcpkg_from_github(
|
|||
HEAD_REF master
|
||||
)
|
||||
|
||||
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
||||
INVERTED_FEATURES
|
||||
boost NUMCPP_NO_USE_BOOST
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
${FEATURE_OPTIONS}
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
|
|
|
|||
|
|
@ -1,21 +1,11 @@
|
|||
{
|
||||
"name": "numcpp",
|
||||
"version": "2.12.1",
|
||||
"port-version": 1,
|
||||
"port-version": 2,
|
||||
"description": "C++ implementation of the Python Numpy library",
|
||||
"homepage": "https://dpilger26.github.io/NumCpp",
|
||||
"license": "MIT",
|
||||
"dependencies": [
|
||||
"boost-algorithm",
|
||||
"boost-date-time",
|
||||
"boost-endian",
|
||||
"boost-integer",
|
||||
"boost-log",
|
||||
"boost-math",
|
||||
"boost-predef",
|
||||
"boost-python",
|
||||
"boost-random",
|
||||
"boost-type-traits",
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
|
|
@ -26,6 +16,21 @@
|
|||
}
|
||||
],
|
||||
"features": {
|
||||
"boost": {
|
||||
"description": "Enable use boost",
|
||||
"dependencies": [
|
||||
"boost-algorithm",
|
||||
"boost-date-time",
|
||||
"boost-endian",
|
||||
"boost-integer",
|
||||
"boost-log",
|
||||
"boost-math",
|
||||
"boost-predef",
|
||||
"boost-python",
|
||||
"boost-random",
|
||||
"boost-type-traits"
|
||||
]
|
||||
},
|
||||
"python": {
|
||||
"description": "Interacting with Python with pybind11 interface",
|
||||
"dependencies": [
|
||||
|
|
|
|||
|
|
@ -6262,7 +6262,7 @@
|
|||
},
|
||||
"numcpp": {
|
||||
"baseline": "2.12.1",
|
||||
"port-version": 1
|
||||
"port-version": 2
|
||||
},
|
||||
"nuspell": {
|
||||
"baseline": "5.1.4",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "e82e792de63955399c5b96c8ceaef6e66eb6230a",
|
||||
"version": "2.12.1",
|
||||
"port-version": 2
|
||||
},
|
||||
{
|
||||
"git-tree": "300dfe4a76995143213ee1c14076a13c597f3bea",
|
||||
"version": "2.12.1",
|
||||
|
|
|
|||
Loading…
Reference in New Issue