mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-14 06:28:00 +08:00
[cpptoml] new port (#6089)
This commit is contained in:
parent
0907798d40
commit
ff932937f0
3
ports/cpptoml/CONTROL
Normal file
3
ports/cpptoml/CONTROL
Normal file
@ -0,0 +1,3 @@
|
||||
Source: cpptoml
|
||||
Version: v0.1.1
|
||||
Description: A header-only library for parsing TOML configuration files.
|
16
ports/cpptoml/portfile.cmake
Normal file
16
ports/cpptoml/portfile.cmake
Normal file
@ -0,0 +1,16 @@
|
||||
include(vcpkg_common_functions)
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO skystrife/cpptoml
|
||||
|
||||
REF fededad7169e538ca47e11a9ee9251bc361a9a65
|
||||
SHA512 2ec50f4585bca33bb343170470048a7d7e7902f1ffa5709cf84ddf9f53a899ff1cc9ffa49e059f6dad93d13823c4d2661bc8109e4356078cdbdfef1a2be6a622
|
||||
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
file(INSTALL ${SOURCE_PATH}/include DESTINATION ${CURRENT_PACKAGES_DIR} FILES_MATCHING PATTERN "*.h")
|
||||
|
||||
# Handle copyright
|
||||
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/cpptoml RENAME copyright)
|
Loading…
x
Reference in New Issue
Block a user