mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 10:59:00 +08:00
[fplus] Add new port (#7883)
This commit is contained in:
parent
1550b9e71b
commit
5f57714524
4
ports/fplus/CONTROL
Normal file
4
ports/fplus/CONTROL
Normal file
@ -0,0 +1,4 @@
|
||||
Source: fplus
|
||||
Version: 0.2.3-p0
|
||||
Description: Functional Programming Library for C++. Write concise and readable C++ code.
|
||||
Homepage: https://github.com/Dobiasd/FunctionalPlus
|
22
ports/fplus/portfile.cmake
Normal file
22
ports/fplus/portfile.cmake
Normal file
@ -0,0 +1,22 @@
|
||||
include(vcpkg_common_functions)
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO Dobiasd/FunctionalPlus
|
||||
REF v0.2.3-p0
|
||||
SHA512 99fe07e68cd5630b9b243670778772f396cabb89845fb3ae5105884fab1cdbb7fae4080f57d0aea4d9282f84036572c0dd1e4b9602997dec4171a90b98416759
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PREFER_NINJA
|
||||
-DFPLUS_BUILD_EXAMPLES=OFF
|
||||
)
|
||||
|
||||
vcpkg_install_cmake()
|
||||
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/lib)
|
||||
|
||||
configure_file(${SOURCE_PATH}/LICENSE ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY)
|
Loading…
Reference in New Issue
Block a user