Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 48 additions & 0 deletions ports/rsasynccpp/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
vcpkg_fail_port_install(ON_TARGET "Linux" "OSX" "ANDROID" "FREEBSD" "OPENBSD")
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO renestein/Rstein.AsyncCpp
REF 0.0.7
SHA512 b4cc1c68b6fc7bb8b418457ba18b834769abec07e44305955214f8918cc57f85c4258a0521ea55388fab3ec9724488e506d2b114c765b804991c38bf33133c55
HEAD_REF master
)

if("lib-cl-win-legacy-await" IN_LIST FEATURES)
if (VCPKG_CRT_LINKAGE MATCHES "static")
set(RELEASE_CONFIGURATION "ReleaseMT_VSAWAIT")
set(DEBUG_CONFIGURATION "DebugMT_VSAWAIT")
else()
set(RELEASE_CONFIGURATION "Release_VSAWAIT")
set(DEBUG_CONFIGURATION "Debug_VSAWAIT")
endif()
else()
if (VCPKG_CRT_LINKAGE MATCHES "static")
set(RELEASE_CONFIGURATION "ReleaseMT")
set(DEBUG_CONFIGURATION "DebugMT")
else()
set(RELEASE_CONFIGURATION "Release")
set(DEBUG_CONFIGURATION "Debug")
endif()
endif()

if (TRIPLET_SYSTEM_ARCH MATCHES "x86")
set(MSBUILD_PLATFORM "x86")
else ()
set(MSBUILD_PLATFORM ${TRIPLET_SYSTEM_ARCH})
endif()


vcpkg_install_msbuild(
SOURCE_PATH ${SOURCE_PATH}
PROJECT_SUBPATH RStein.AsyncCppLib.sln
LICENSE_SUBPATH LICENSE
PLATFORM ${MSBUILD_PLATFORM}
DEBUG_CONFIGURATION ${DEBUG_CONFIGURATION}
RELEASE_CONFIGURATION ${RELEASE_CONFIGURATION}
)

file(COPY "${SOURCE_PATH}/RStein.AsyncCpp/"
DESTINATION "${CURRENT_PACKAGES_DIR}/include/asynccpp"
FILES_MATCHING PATTERN "*.h")
13 changes: 13 additions & 0 deletions ports/rsasynccpp/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"name": "rsasynccpp",
"version": "0.0.7",
"maintainers": "Rene Stein <rene@renestein.net>",
"description": "Task Parallel Library (TPL)/dataflow/actors/async primitives for C++ based on C++ 20 coroutines.",
"homepage": "https://github.com/renestein/Rstein.AsyncCpp",
"supports": "windows & !arm",
"features": {
"lib-cl-win-legacy-await": {
"description": "Legacy coroutines (/await switch, std::experimental namespace)."
}
}
}
4 changes: 4 additions & 0 deletions scripts/ci.baseline.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1363,6 +1363,10 @@ rocksdb:x64-uwp=fail
rpclib:arm64-windows=fail
rpclib:arm-uwp=fail
rpclib:x64-uwp=fail
rsasynccpp:arm64-windows=fail
rsasynccpp:arm-uwp=fail
rsasynccpp:x64-linux=fail
rsasynccpp:x64-osx=fail
Comment on lines +1366 to +1369
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should remove these codes...

rsocket:x64-windows=fail
rsocket:x64-windows-static=fail
rsocket:x64-windows-static-md=fail
Expand Down
4 changes: 4 additions & 0 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -5180,6 +5180,10 @@
"baseline": "2020-09-14",
"port-version": 0
},
"rsasynccpp": {
"baseline": "0.0.7",
"port-version": 0
},
"rsocket": {
"baseline": "2020.05.04.00-1",
"port-version": 0
Expand Down
9 changes: 9 additions & 0 deletions versions/r-/rsasynccpp.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "80995d80f9e7e551f8305ce2cecb0a91bc9c457a",
"version": "0.0.7",
"port-version": 0
}
]
}