mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-29 12:49:01 +08:00
9aa0d66373
* [cyclonedds-cxx] Add new port * [cyclonedds-cxx] Fix features list * [cyclonedds-cxx] Add patch * [cyclonedds-cxx] Fix features list * [cyclonedds-cxx] Fix dependencies list
30 lines
794 B
CMake
30 lines
794 B
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO eclipse-cyclonedds/cyclonedds-cxx
|
|
REF "${VERSION}"
|
|
SHA512 7131b0980edf4dbd16ffd29edde24b4f31c8a4813eda7dfe93fe11f9eb102ef682651a037a12bf671b4617a673e35d97106172828328e47de51d0baddae22ab6
|
|
HEAD_REF master
|
|
PATCHES
|
|
static-idllib.patch
|
|
)
|
|
|
|
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")
|