diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/getopt | |
Diffstat (limited to 'vcpkg/ports/getopt')
| -rw-r--r-- | vcpkg/ports/getopt/portfile.cmake | 5 | ||||
| -rw-r--r-- | vcpkg/ports/getopt/vcpkg.json | 13 |
2 files changed, 18 insertions, 0 deletions
diff --git a/vcpkg/ports/getopt/portfile.cmake b/vcpkg/ports/getopt/portfile.cmake new file mode 100644 index 0000000..21d59eb --- /dev/null +++ b/vcpkg/ports/getopt/portfile.cmake @@ -0,0 +1,5 @@ +if(VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
+ message(FATAL_ERROR "No implementation of getopt is currently available for UWP targets")
+endif()
+
+set(VCPKG_POLICY_EMPTY_PACKAGE enabled)
diff --git a/vcpkg/ports/getopt/vcpkg.json b/vcpkg/ports/getopt/vcpkg.json new file mode 100644 index 0000000..3c36900 --- /dev/null +++ b/vcpkg/ports/getopt/vcpkg.json @@ -0,0 +1,13 @@ +{ + "name": "getopt", + "version": "0", + "port-version": 3, + "description": "The getopt and getopt_long functions automate some of the chore involved in parsing typical unix command line options.", + "supports": "!uwp", + "dependencies": [ + { + "name": "getopt-win32", + "platform": "windows & !mingw" + } + ] +} |