mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 18:31:15 +08:00
[mpark-variant] Initial commit of v1.3.0
This commit is contained in:
parent
b00aa49657
commit
651fc94651
3
ports/mpark-variant/CONTROL
Normal file
3
ports/mpark-variant/CONTROL
Normal file
@ -0,0 +1,3 @@
|
||||
Source: mpark-variant
|
||||
Version: 1.3.0
|
||||
Description: an implementation of C++17 std::variant for C++11/14/17.
|
24
ports/mpark-variant/portfile.cmake
Normal file
24
ports/mpark-variant/portfile.cmake
Normal file
@ -0,0 +1,24 @@
|
||||
include(vcpkg_common_functions)
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO mpark/variant
|
||||
REF v1.3.0
|
||||
SHA512 53735d14a9b241d93191fa3b7ac8ed8fb17a8f8766318b2817c4dd1948088377190ca168027a297bae41bb2cc1f6043fe51752d43b8c33badcc9f2df9fa08ece
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PREFER_NINJA
|
||||
)
|
||||
|
||||
vcpkg_install_cmake()
|
||||
|
||||
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/mpark_variant TARGET_PATH share/mpark_variant)
|
||||
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug ${CURRENT_PACKAGES_DIR}/lib)
|
||||
|
||||
file(INSTALL
|
||||
${SOURCE_PATH}/LICENSE.md
|
||||
DESTINATION ${CURRENT_PACKAGES_DIR}/share/mpark-variant RENAME copyright)
|
Loading…
x
Reference in New Issue
Block a user