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/azure-macro-utils-c | |
Diffstat (limited to 'vcpkg/ports/azure-macro-utils-c')
| -rw-r--r-- | vcpkg/ports/azure-macro-utils-c/portfile.cmake | 28 | ||||
| -rw-r--r-- | vcpkg/ports/azure-macro-utils-c/vcpkg.json | 17 |
2 files changed, 45 insertions, 0 deletions
diff --git a/vcpkg/ports/azure-macro-utils-c/portfile.cmake b/vcpkg/ports/azure-macro-utils-c/portfile.cmake new file mode 100644 index 0000000..b610220 --- /dev/null +++ b/vcpkg/ports/azure-macro-utils-c/portfile.cmake @@ -0,0 +1,28 @@ +vcpkg_check_linkage(ONLY_STATIC_LIBRARY) + +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO Azure/azure-macro-utils-c + REF 5926caf4e42e98e730e6d03395788205649a3ada + SHA512 8f9fd02012202db6cff5b647edbc8332a2c03963e80182a630af6a884f23df96b8e24d60e5412bfc2a0a7f43240a54f9597040aa28a9d3e1566755e1d52aac62 + HEAD_REF master + FILE_DISAMBIGUATOR 1 +) + +vcpkg_cmake_configure( + SOURCE_PATH "${SOURCE_PATH}" + OPTIONS + -Drun_int_tests=OFF +) + +vcpkg_cmake_install() + +vcpkg_cmake_config_fixup(PACKAGE_NAME azure_macro_utils_c CONFIG_PATH "cmake") + +file(COPY ${SOURCE_PATH}/inc/azure_macro_utils/macro_utils.h DESTINATION ${CURRENT_PACKAGES_DIR}/share/azure_macro_utils_c/include/azure_macro_utils) + +file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include ${CURRENT_PACKAGES_DIR}/debug) + +configure_file(${SOURCE_PATH}/LICENSE ${CURRENT_PACKAGES_DIR}/share/azure-macro-utils-c/copyright COPYONLY) + +vcpkg_copy_pdbs() diff --git a/vcpkg/ports/azure-macro-utils-c/vcpkg.json b/vcpkg/ports/azure-macro-utils-c/vcpkg.json new file mode 100644 index 0000000..ab060e5 --- /dev/null +++ b/vcpkg/ports/azure-macro-utils-c/vcpkg.json @@ -0,0 +1,17 @@ +{ + "name": "azure-macro-utils-c", + "version-date": "2022-01-21", + "port-version": 1, + "description": "A library of macros for the Azure IoT SDK Suite", + "license": "MIT", + "dependencies": [ + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] +} |