mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-21 18:17:10 +01:00
[toml11] Add new port (#9941)
This commit is contained in:
parent
acdbfaec17
commit
716d189d6b
4
ports/toml11/CONTROL
Normal file
4
ports/toml11/CONTROL
Normal file
@ -0,0 +1,4 @@
|
||||
Source: toml11
|
||||
Version: 3.3.0
|
||||
Homepage: https://github.com/ToruNiina/toml11
|
||||
Description: A C++11 header-only toml parser/encoder depending only on C++ standard library.
|
13
ports/toml11/portfile.cmake
Normal file
13
ports/toml11/portfile.cmake
Normal file
@ -0,0 +1,13 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO ToruNiina/toml11
|
||||
REF v3.3.0
|
||||
SHA512 3de018972bd2d9da193ca3d4746f1a77a120d563dbfb0e8f72800a0b01e24fb95fe83e4bd1a93d4bc10b3a603e7e63dd9478079bd0a31692d8412cbcf4860c37
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
file(INSTALL ${SOURCE_PATH}/toml.hpp DESTINATION ${CURRENT_PACKAGES_DIR}/include)
|
||||
file(INSTALL ${SOURCE_PATH}/toml DESTINATION ${CURRENT_PACKAGES_DIR}/include FILES_MATCHING PATTERN "*.hpp")
|
||||
|
||||
# Handle copyright
|
||||
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
Loading…
x
Reference in New Issue
Block a user