mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 02:41:47 +08:00
[ccd] add double-precision option (#25870)
* Add double-precision option to ccd * Bump ccd port version * Update version database * format * format * x-add-version * Update ccd.json * add license * x-add-version Co-authored-by: Lily Wang <494550702@qq.com> Co-authored-by: Lily Wang <94091114+LilyWangLL@users.noreply.github.com>
This commit is contained in:
parent
1432faa595
commit
ca4b4621a2
@ -14,22 +14,27 @@ vcpkg_from_github(
|
||||
${STATIC_PATCH}
|
||||
)
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PREFER_NINJA
|
||||
OPTIONS
|
||||
-DBUILD_TESTING=OFF
|
||||
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
||||
FEATURES
|
||||
double-precision ENABLE_DOUBLE_PRECISION
|
||||
)
|
||||
|
||||
vcpkg_install_cmake()
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
-DBUILD_TESTING=OFF
|
||||
${FEATURE_OPTIONS}
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
vcpkg_copy_pdbs()
|
||||
|
||||
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/ccd)
|
||||
vcpkg_cmake_config_fixup(CONFIG_PATH lib/ccd)
|
||||
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/share/doc)
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/share/doc")
|
||||
|
||||
file(INSTALL ${SOURCE_PATH}/BSD-LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
||||
file(INSTALL "${SOURCE_PATH}/BSD-LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||
|
||||
vcpkg_fixup_pkgconfig()
|
||||
|
@ -1,7 +1,23 @@
|
||||
{
|
||||
"name": "ccd",
|
||||
"version-string": "2.1-4",
|
||||
"port-version": 3,
|
||||
"version": "2.1",
|
||||
"port-version": 4,
|
||||
"description": "Library for collision detection between two convex shapes",
|
||||
"homepage": "https://github.com/danfis/libccd"
|
||||
"homepage": "https://github.com/danfis/libccd",
|
||||
"license": "BSD-3-Clause",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
],
|
||||
"features": {
|
||||
"double-precision": {
|
||||
"description": "Use float64 doubles for ccd"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1301,8 +1301,8 @@
|
||||
"port-version": 2
|
||||
},
|
||||
"ccd": {
|
||||
"baseline": "2.1-4",
|
||||
"port-version": 3
|
||||
"baseline": "2.1",
|
||||
"port-version": 4
|
||||
},
|
||||
"ccfits": {
|
||||
"baseline": "2.5",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "a6cd46396151b69680100934c824c290c7057379",
|
||||
"version": "2.1",
|
||||
"port-version": 4
|
||||
},
|
||||
{
|
||||
"git-tree": "8e6fc55567d05873ba6f78c3c33363a0fd9a1549",
|
||||
"version-string": "2.1-4",
|
||||
|
Loading…
Reference in New Issue
Block a user