Skip to content

Commit

Permalink
Merge pull request microsoft#130 from sdcb/rxcpp
Browse files Browse the repository at this point in the history
Add RxCpp
  • Loading branch information
ras0219-msft authored Oct 11, 2016
2 parents 5743e32 + ad7b893 commit 4ddfc53
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ports/rxcpp/CONTROL
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Source: rxcpp
Version: 2.3.0
Description: Reactive Extensions for C++
23 changes: 23 additions & 0 deletions ports/rxcpp/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
include(${CMAKE_TRIPLET_FILE})
include(vcpkg_common_functions)
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/RxCpp-2.3.0)
vcpkg_download_distfile(ARCHIVE_FILE
URLS "https://github.com/Reactive-Extensions/RxCpp/archive/v2.3.0.tar.gz"
FILENAME "RxCpp-2.3.0.tar.gz"
SHA512 180cf36777b0c14e989b4b79f01fcda7ecabfe4b3cee3ad7343138497578af02745de63f74941ec228eac3fccca4a7dfdfdd1c4d16a89438022dca6f9968953f
)
vcpkg_extract_source_archive(${ARCHIVE_FILE})

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)

0 comments on commit 4ddfc53

Please sign in to comment.