early-access version 2853
This commit is contained in:
27
externals/vcpkg/ports/stlab/portfile.cmake
vendored
Executable file
27
externals/vcpkg/ports/stlab/portfile.cmake
vendored
Executable file
@@ -0,0 +1,27 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO stlab/libraries
|
||||
REF 0a7232a4120c2daf8ddb6621ec13f313a029e495 # V1.6.2
|
||||
SHA512 6e03a5370d02accd798fc14fd256ab593b9a33b4a9b9cda8f2233eeafacf70c389c2999d1834b7ffef6968008921d28d88bcf728a322ba7943106ddc9d8e6f16
|
||||
HEAD_REF develop
|
||||
)
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PREFER_NINJA
|
||||
OPTIONS
|
||||
-DBUILD_TESTING=OFF
|
||||
)
|
||||
|
||||
vcpkg_install_cmake()
|
||||
vcpkg_fixup_cmake_targets(CONFIG_PATH share/cmake/stlab)
|
||||
vcpkg_copy_pdbs()
|
||||
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug ${CURRENT_PACKAGES_DIR}/share/cmake)
|
||||
|
||||
file(READ ${CURRENT_PACKAGES_DIR}/share/${PORT}/stlabConfig.cmake STLAB_CONFIG)
|
||||
string(REPLACE "find_dependency(Boost 1.60.0)" "if(APPLE)\nfind_dependency(Boost)\nendif()" STLAB_CONFIG ${STLAB_CONFIG})
|
||||
|
||||
file(WRITE ${CURRENT_PACKAGES_DIR}/share/${PORT}/stlabConfig.cmake "${STLAB_CONFIG}")
|
||||
|
||||
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
||||
15
externals/vcpkg/ports/stlab/vcpkg.json
vendored
Executable file
15
externals/vcpkg/ports/stlab/vcpkg.json
vendored
Executable file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"name": "stlab",
|
||||
"version-string": "1.6.2",
|
||||
"port-version": 1,
|
||||
"description": [
|
||||
"stlab is the ongoing work of what was Adobe Software Technology Lab.",
|
||||
"The Concurrency library provides futures and channels, high level constructs for implementing algorithms that eases the use of multiple CPU cores while minimizing contention. This library solves several problems of the C++11 and C++17 TS futures."
|
||||
],
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "boost-variant",
|
||||
"platform": "osx"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user