aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/cppdap
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/cppdap
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/cppdap')
-rw-r--r--vcpkg/ports/cppdap/portfile.cmake21
-rw-r--r--vcpkg/ports/cppdap/vcpkg.json18
2 files changed, 39 insertions, 0 deletions
diff --git a/vcpkg/ports/cppdap/portfile.cmake b/vcpkg/ports/cppdap/portfile.cmake
new file mode 100644
index 0000000..f4f0887
--- /dev/null
+++ b/vcpkg/ports/cppdap/portfile.cmake
@@ -0,0 +1,21 @@
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO google/cppdap
+ REF "dap-${VERSION}"
+ SHA512 36f31cf7b90190820f5a5b7df679a3ca1a4f51b58a7a4c46f85c7b55b0ad9dbeba3436992b5eb8a3fd4499fc38bbf2b16f834f5f1989717f151abf13c262c747
+ HEAD_REF main
+)
+
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
+ OPTIONS
+ -DCPPDAP_USE_EXTERNAL_NLOHMANN_JSON_PACKAGE=ON
+)
+
+vcpkg_cmake_install()
+
+vcpkg_cmake_config_fixup(CONFIG_PATH "lib/cmake/cppdap")
+
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
+
+vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
diff --git a/vcpkg/ports/cppdap/vcpkg.json b/vcpkg/ports/cppdap/vcpkg.json
new file mode 100644
index 0000000..6e9563e
--- /dev/null
+++ b/vcpkg/ports/cppdap/vcpkg.json
@@ -0,0 +1,18 @@
+{
+ "name": "cppdap",
+ "version-semver": "1.58.0-a",
+ "description": "A C++11 library (\"SDK\") implementation of the Debug Adapter Protocol, providing an API for implementing a DAP client or server.",
+ "homepage": "https://github.com/google/cppdap",
+ "license": "Apache-2.0",
+ "dependencies": [
+ "nlohmann-json",
+ {
+ "name": "vcpkg-cmake",
+ "host": true
+ },
+ {
+ "name": "vcpkg-cmake-config",
+ "host": true
+ }
+ ]
+}