diff options
Diffstat (limited to 'vcpkg/ports/cyclonedds-cxx')
| -rw-r--r-- | vcpkg/ports/cyclonedds-cxx/portfile.cmake | 27 | ||||
| -rw-r--r-- | vcpkg/ports/cyclonedds-cxx/vcpkg.json | 36 |
2 files changed, 63 insertions, 0 deletions
diff --git a/vcpkg/ports/cyclonedds-cxx/portfile.cmake b/vcpkg/ports/cyclonedds-cxx/portfile.cmake new file mode 100644 index 0000000..2b46ebc --- /dev/null +++ b/vcpkg/ports/cyclonedds-cxx/portfile.cmake @@ -0,0 +1,27 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO eclipse-cyclonedds/cyclonedds-cxx + REF "${VERSION}" + SHA512 fd03beca1f2b7140c213a2be8c19390c308469b625e2bafd66935258d4e6bec6a8c01940c208501f2619c36f0a04f6538b17b1b7ca562ab5a7533be0747e5bef + HEAD_REF master +) + +vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS + FEATURES + "idllib" BUILD_IDLLIB +) + +vcpkg_cmake_configure( + SOURCE_PATH "${SOURCE_PATH}" + OPTIONS + ${FEATURE_OPTIONS} +) + +vcpkg_cmake_install() +vcpkg_cmake_config_fixup(CONFIG_PATH "lib/cmake/CycloneDDS-CXX") + +file(REMOVE_RECURSE + "${CURRENT_PACKAGES_DIR}/debug/include" + "${CURRENT_PACKAGES_DIR}/debug/share") + +vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE") diff --git a/vcpkg/ports/cyclonedds-cxx/vcpkg.json b/vcpkg/ports/cyclonedds-cxx/vcpkg.json new file mode 100644 index 0000000..5e09d01 --- /dev/null +++ b/vcpkg/ports/cyclonedds-cxx/vcpkg.json @@ -0,0 +1,36 @@ +{ + "name": "cyclonedds-cxx", + "version": "0.10.5", + "description": "C++ binding for Eclipse Cyclone DDS", + "homepage": "https://cyclonedds.io", + "license": "EPL-2.0", + "dependencies": [ + { + "name": "cyclonedds", + "default-features": false + }, + "openssl", + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ], + "features": { + "idllib": { + "description": "Build IDL preprocessor lib", + "dependencies": [ + { + "name": "cyclonedds", + "default-features": false, + "features": [ + "idlc" + ] + } + ] + } + } +} |