vcpkg/ports/rxcpp/portfile.cmake

25 lines
678 B
CMake
Raw Normal View History

2016-10-27 10:35:24 +08:00
#header-only library
include(vcpkg_common_functions)
2017-05-10 11:11:00 +08:00
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/RxCpp-4.0.0)
2017-05-10 11:55:58 +08:00
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO Reactive-Extensions/RxCpp
REF v4.0.0
2017-05-10 11:11:00 +08:00
SHA512 df7582925e749fb7f9fbc085566d57a46571e18202aacaa7d35cf9da8152b29dd2886b2d07dae93e538f2a0f7b91d93fb3da23c34c7ea4467772515c794a25b7
2017-05-10 11:55:58 +08:00
HEAD_REF master
)
file(INSTALL
${SOURCE_PATH}/Rx/v2/src/rxcpp
DESTINATION ${CURRENT_PACKAGES_DIR}/include
)
file(INSTALL
${SOURCE_PATH}/Ix/CPP/src/cpplinq
DESTINATION ${CURRENT_PACKAGES_DIR}/include
)
file(INSTALL
${SOURCE_PATH}/license.md
DESTINATION ${CURRENT_PACKAGES_DIR}/share/rxcpp RENAME copyright)