diff options
| author | David Garcia <48836389+david-antiteum@users.noreply.github.com> | 2019-04-15 13:21:25 +0200 |
|---|---|---|
| committer | Griffin Downs <35574547+grdowns@users.noreply.github.com> | 2019-04-15 04:21:25 -0700 |
| commit | ff932937f06ccae36f8dd4c424cf259431c1421b (patch) | |
| tree | 46fdd6186c95035f79318ec08daffd2fcee2a53c /ports/cpptoml | |
| parent | 0907798d406d036a488b826b91d1cea427d93497 (diff) | |
| download | vcpkg-ff932937f06ccae36f8dd4c424cf259431c1421b.tar.gz vcpkg-ff932937f06ccae36f8dd4c424cf259431c1421b.zip | |
[cpptoml] new port (#6089)
Diffstat (limited to 'ports/cpptoml')
| -rw-r--r-- | ports/cpptoml/CONTROL | 3 | ||||
| -rw-r--r-- | ports/cpptoml/portfile.cmake | 16 |
2 files changed, 19 insertions, 0 deletions
diff --git a/ports/cpptoml/CONTROL b/ports/cpptoml/CONTROL new file mode 100644 index 000000000..2409ddbd2 --- /dev/null +++ b/ports/cpptoml/CONTROL @@ -0,0 +1,3 @@ +Source: cpptoml
+Version: v0.1.1
+Description: A header-only library for parsing TOML configuration files.
diff --git a/ports/cpptoml/portfile.cmake b/ports/cpptoml/portfile.cmake new file mode 100644 index 000000000..093feb9aa --- /dev/null +++ b/ports/cpptoml/portfile.cmake @@ -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)
|
