early-access version 2853

This commit is contained in:
pineappleEA
2022-07-23 03:01:36 +02:00
parent 1f2b5081b5
commit 1f111bb69c
8955 changed files with 418777 additions and 999 deletions

View File

@@ -0,0 +1,15 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b2db532da..42c004380 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -112,6 +112,10 @@ SET ( RBDL_SOURCES
src/Kinematics.cc
)
+IF (MSVC)
+ SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /bigobj")
+ENDIF (MSVC)
+
IF (MSVC AND NOT RBDL_BUILD_STATIC)
MESSAGE (FATAL_ERROR, "Compiling RBDL as a DLL currently not supported. Please enable RBDL_BUILD_STATIC.")
ENDIF (MSVC AND NOT RBDL_BUILD_STATIC)

31
externals/vcpkg/ports/rbdl/portfile.cmake vendored Executable file
View File

@@ -0,0 +1,31 @@
if (EXISTS "${CURRENT_INSTALLED_DIR}/share/rbdl-orb/copyright")
message(FATAL_ERROR "${PORT} conflict with rbdl-orb, please remove rbdl-orb before install ${PORT}.")
endif()
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "static" RBDL_STATIC)
vcpkg_from_github(
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_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DRBDL_BUILD_STATIC=${RBDL_STATIC}
)
vcpkg_cmake_install()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
vcpkg_copy_pdbs()
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
vcpkg_fixup_pkgconfig()

15
externals/vcpkg/ports/rbdl/vcpkg.json vendored Executable file
View File

@@ -0,0 +1,15 @@
{
"name": "rbdl",
"version": "2.6.0",
"port-version": 3,
"description": "Rigid Body Dynamics Library",
"homepage": "https://github.com/rbdl/rbdl",
"license": "Zlib",
"dependencies": [
"eigen3",
{
"name": "vcpkg-cmake",
"host": true
}
]
}