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/tiny-process-library/portfile.cmake | |
Diffstat (limited to 'vcpkg/ports/tiny-process-library/portfile.cmake')
| -rw-r--r-- | vcpkg/ports/tiny-process-library/portfile.cmake | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/vcpkg/ports/tiny-process-library/portfile.cmake b/vcpkg/ports/tiny-process-library/portfile.cmake new file mode 100644 index 0000000..be90620 --- /dev/null +++ b/vcpkg/ports/tiny-process-library/portfile.cmake @@ -0,0 +1,35 @@ +if(VCPKG_TARGET_IS_WINDOWS)
+ vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
+endif()
+
+vcpkg_from_gitlab(
+ GITLAB_URL https://gitlab.com
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO eidheim/tiny-process-library
+ REF v2.0.4
+ SHA512 bbdd268361159b7c64cb60f29afa780ee5e57fa696f0683a55cb9824ec5985c8229a9a8217d2b9ecdd194b9a3acbbd75a1a821392361fbc85b1f6841f40c95db
+ HEAD_REF master
+ PATCHES
+ disable-examples.patch
+)
+
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
+ OPTIONS
+ -DBUILD_TESTING=OFF
+)
+
+vcpkg_cmake_install()
+
+vcpkg_copy_pdbs()
+
+vcpkg_cmake_config_fixup(
+ CONFIG_PATH lib/cmake/tiny-process-library
+)
+
+file(REMOVE_RECURSE
+ "${CURRENT_PACKAGES_DIR}/debug/include"
+ "${CURRENT_PACKAGES_DIR}/debug/share"
+)
+
+vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|