2016-10-27 10:35:24 +08:00
|
|
|
#header-only library
|
2016-10-08 11:54:43 +08:00
|
|
|
include(vcpkg_common_functions)
|
2016-11-26 09:58:03 +08:00
|
|
|
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/RxCpp-3.0.0)
|
|
|
|
vcpkg_download_distfile(ARCHIVE
|
|
|
|
URLS "https://github.com/Reactive-Extensions/RxCpp/archive/v3.0.0.tar.gz"
|
2016-11-26 13:45:41 +08:00
|
|
|
FILENAME "RxCpp-v3.0.0.tar.gz"
|
2016-11-26 09:58:03 +08:00
|
|
|
SHA512 6d810b6163d0920d531f32a13729e290c81b47d5fc9c3e3d3d8a25d27a6f0671fec097d091bef7383b7e556e9e5471db087bb955e7f4fd9a5fdc9e7b06050844
|
2016-10-08 11:54:43 +08:00
|
|
|
)
|
2016-11-26 09:58:03 +08:00
|
|
|
vcpkg_extract_source_archive(${ARCHIVE})
|
2016-10-08 11:54:43 +08:00
|
|
|
|
|
|
|
file(INSTALL
|
2016-11-26 13:44:01 +08:00
|
|
|
${SOURCE_PATH}/Rx/v2/src/rxcpp
|
2016-10-08 11:54:43 +08:00
|
|
|
DESTINATION ${CURRENT_PACKAGES_DIR}/include
|
|
|
|
)
|
|
|
|
|
|
|
|
file(INSTALL
|
2016-11-26 13:44:01 +08:00
|
|
|
${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)
|