aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2017-07-24 09:14:09 -0700
committerGitHub <noreply@github.com>2017-07-24 09:14:09 -0700
commitf57840f7fc8152e7f7c074dd29497bd1855a6ce7 (patch)
treefb3ee8b333c97e0b2f6576b60a9e857e2e9006cd
parent378b6bd957bbdf92823c00a6dc287603842f2777 (diff)
parent809eb64c97e6ec459cd1e1d601e916100395529e (diff)
downloadvcpkg-f57840f7fc8152e7f7c074dd29497bd1855a6ce7.tar.gz
vcpkg-f57840f7fc8152e7f7c074dd29497bd1855a6ce7.zip
Merge pull request #1506 from atkawa7/cxxopts
[cxxopts] init port required by #1248
-rw-r--r--ports/cxxopts/CONTROL3
-rw-r--r--ports/cxxopts/portfile.cmake11
2 files changed, 14 insertions, 0 deletions
diff --git a/ports/cxxopts/CONTROL b/ports/cxxopts/CONTROL
new file mode 100644
index 000000000..e1f571b11
--- /dev/null
+++ b/ports/cxxopts/CONTROL
@@ -0,0 +1,3 @@
+Source: cxxopts
+Version: 1.3.0
+Description: This is a lightweight C++ option parser library, supporting the standard GNU style syntax for options
diff --git a/ports/cxxopts/portfile.cmake b/ports/cxxopts/portfile.cmake
new file mode 100644
index 000000000..c45da3a05
--- /dev/null
+++ b/ports/cxxopts/portfile.cmake
@@ -0,0 +1,11 @@
+include(vcpkg_common_functions)
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO jarro2783/cxxopts
+ REF v1.3.0
+ SHA512 0c02716cdc1ca83f64c3757685042580e06c894ac51986a8df971ed30b8dd6d49448f2c9f61fff947fb34c48055f11cac446b54a9294bc880d78d91081c379b4
+ HEAD_REF master
+)
+file(INSTALL ${SOURCE_PATH}/include/cxxopts.hpp DESTINATION ${CURRENT_PACKAGES_DIR}/include)
+file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/cxxopts RENAME copyright)
+vcpkg_copy_pdbs()