From 809eb64c97e6ec459cd1e1d601e916100395529e Mon Sep 17 00:00:00 2001 From: atkawa7 Date: Fri, 21 Jul 2017 12:26:24 -0700 Subject: [PATCH] [cxxopts] init port required by #1248 --- ports/cxxopts/CONTROL | 3 +++ ports/cxxopts/portfile.cmake | 11 +++++++++++ 2 files changed, 14 insertions(+) create mode 100644 ports/cxxopts/CONTROL create mode 100644 ports/cxxopts/portfile.cmake 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()