aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoratkawa7 <atkawa7@yahoo.com>2017-07-21 12:26:24 -0700
committeratkawa7 <atkawa7@yahoo.com>2017-07-21 12:26:24 -0700
commit809eb64c97e6ec459cd1e1d601e916100395529e (patch)
tree8bd22bbff92ad417329a7ac8775507da689f2314
parenta42da34a07187063da297b422a95dbb2d7bd064a (diff)
downloadvcpkg-809eb64c97e6ec459cd1e1d601e916100395529e.tar.gz
vcpkg-809eb64c97e6ec459cd1e1d601e916100395529e.zip
[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()