mirror of
https://github.com/cemu-project/vcpkg.git
synced 2024-11-23 11:19:43 +00:00
[immer] Add new port (#6814)
* [immer] Add new port * [immer] Clean * [immer] Update to 2019-06-07
This commit is contained in:
parent
2ab1207027
commit
a6960ed0b1
3
ports/immer/CONTROL
Normal file
3
ports/immer/CONTROL
Normal file
@ -0,0 +1,3 @@
|
||||
Source: immer
|
||||
Version: 2019-06-07
|
||||
Description: Postmodern immutable and persistent data structures for C++
|
29
ports/immer/portfile.cmake
Normal file
29
ports/immer/portfile.cmake
Normal file
@ -0,0 +1,29 @@
|
||||
# header-only library
|
||||
|
||||
include(vcpkg_common_functions)
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO arximboldi/immer
|
||||
REF fe1d5151f8e62a97a953664f8de39b05ac0d2031
|
||||
SHA512 2f78c2d85a24b2bcb69bbbf8b038c8bacb5a841e0f0ce7e4e521d369423c7d44f803a1c766a77d0955246a1b22476de15fa708a3786f05c41a3b705a574bbb71
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PREFER_NINJA
|
||||
OPTIONS
|
||||
-DENABLE_PYTHON=OFF
|
||||
-DENABLE_GUILE=OFF
|
||||
-DENABLE_BOOST_COROUTINE=OFF
|
||||
)
|
||||
|
||||
vcpkg_install_cmake()
|
||||
|
||||
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/Immer)
|
||||
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug ${CURRENT_PACKAGES_DIR}/lib)
|
||||
|
||||
# Handle copyright
|
||||
configure_file(${SOURCE_PATH}/LICENSE ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY)
|
Loading…
Reference in New Issue
Block a user