mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-12 04:39:02 +08:00
30d39c8901
* Add RBDL core support (without features) * Fix port version * Add supports field to CONTROL * Mark rbdl:x64-uwp as fail in the CI baseline * Update ports/rbdl/portfile.cmake Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com> * Update ports/rbdl/portfile.cmake Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com> * Update ports/rbdl/portfile.cmake Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com> * Update ports/rbdl/portfile.cmake Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com> * Update ports/rbdl/portfile.cmake Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com> * ⏰ Temporal removing of Supports field * Update ports/rbdl/portfile.cmake Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com> * Revert "Mark rbdl:x64-uwp as fail in the CI baseline" This reverts commit65a8100131
. * Add Supports field * Update ports/rbdl/001_x64_number_of_sections_exceeded_in_object_file_patch.diff Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com> * Update ports/rbdl/portfile.cmake Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com> * Update ports/rbdl/portfile.cmake Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com> * Remove vcpkg_fail_port_install * Remove Supports field * Revert "Remove Supports field" This reverts commitb62ba898af
. * Revert "Remove vcpkg_fail_port_install" This reverts commitdd7aecaec6
. * Revert "Revert "Remove Supports field"" This reverts commit0e1cd7aa92
. * Revert "Revert "Remove vcpkg_fail_port_install"" This reverts commitae89760c29
. * Fix 001_x64_number_of_sections_exceeded_in_object_file_patch.diff * Remove vcpkg_fixup_cmake_targets * Disable manual handling for dynamic install target * ♻️ Clean code * Add 002_runtime_destination_for_not_static_build.diff patch * Revert "Add 002_runtime_destination_for_not_static_build.diff patch" This reverts commit32a0cfa251
. Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
33 lines
928 B
CMake
33 lines
928 B
CMake
if (VCPKG_LIBRARY_LINKAGE STREQUAL static)
|
|
set(RBDL_STATIC ON)
|
|
else()
|
|
set(RBDL_STATIC OFF)
|
|
endif()
|
|
|
|
vcpkg_from_github(ARCHIVE
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO rbdl/rbdl
|
|
REF v2.6.0
|
|
SHA512 7b5fd03c0090277f295a28a1ff0542cd8cff76dda4379b3edc61ca3d868bf77d8b4882f81865fdffd0cf756c613fe55238b29a83bc163fc32aa94aa9d5781480
|
|
HEAD_REF master
|
|
PATCHES 001_x64_number_of_sections_exceeded_in_object_file_patch.diff
|
|
)
|
|
|
|
|
|
vcpkg_configure_cmake(
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
PREFER_NINJA # Disable this option if project cannot be built with Ninja
|
|
OPTIONS
|
|
-DRBDL_BUILD_STATIC=${RBDL_STATIC}
|
|
)
|
|
|
|
vcpkg_install_cmake()
|
|
|
|
# # Handle copyright
|
|
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
|
|
|
# # Remove duplicated include directory
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
|
|
|
vcpkg_copy_pdbs()
|