mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 19:09:00 +08:00
[joltphysics] Add debug build compile definitions features (#41858)
Co-authored-by: LilyWangLL <4945507022qq.com>
This commit is contained in:
parent
b8a0a2dfca
commit
71542c0ff1
@ -10,6 +10,12 @@ vcpkg_from_github(
|
||||
|
||||
string(COMPARE EQUAL "${VCPKG_CRT_LINKAGE}" "static" USE_STATIC_CRT)
|
||||
|
||||
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
||||
FEATURES
|
||||
debugrenderer DEBUG_RENDERER_IN_DEBUG_AND_RELEASE
|
||||
profiler PROFILER_IN_DEBUG_AND_RELEASE
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}/Build"
|
||||
OPTIONS
|
||||
@ -23,8 +29,7 @@ vcpkg_cmake_configure(
|
||||
-DUSE_STATIC_MSVC_RUNTIME_LIBRARY=${USE_STATIC_CRT}
|
||||
-DENABLE_ALL_WARNINGS=OFF
|
||||
-DOVERRIDE_CXX_FLAGS=OFF
|
||||
-DDEBUG_RENDERER_IN_DEBUG_AND_RELEASE=OFF
|
||||
-DPROFILER_IN_DEBUG_AND_RELEASE=OFF
|
||||
${FEATURE_OPTIONS}
|
||||
OPTIONS_RELEASE
|
||||
-DGENERATE_DEBUG_SYMBOLS=OFF
|
||||
)
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "joltphysics",
|
||||
"version": "5.1.0",
|
||||
"port-version": 1,
|
||||
"port-version": 2,
|
||||
"description": "A multi core friendly rigid body physics and collision detection library suitable for games and VR applications",
|
||||
"homepage": "https://github.com/jrouwe/JoltPhysics",
|
||||
"license": "MIT",
|
||||
@ -14,5 +14,13 @@
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
],
|
||||
"features": {
|
||||
"debugrenderer": {
|
||||
"description": "Enable debug renderer in Debug and Release builds"
|
||||
},
|
||||
"profiler": {
|
||||
"description": "Enable the profiler in Debug and Release builds"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -3842,7 +3842,7 @@
|
||||
},
|
||||
"joltphysics": {
|
||||
"baseline": "5.1.0",
|
||||
"port-version": 1
|
||||
"port-version": 2
|
||||
},
|
||||
"josuttis-jthread": {
|
||||
"baseline": "2020-07-21",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "77fc93156891bade6362a38c0cc5619fce1b6b2b",
|
||||
"version": "5.1.0",
|
||||
"port-version": 2
|
||||
},
|
||||
{
|
||||
"git-tree": "be4e60601ee3a8e15476ee5f583a1102e0d53f51",
|
||||
"version": "5.1.0",
|
||||
|
Loading…
Reference in New Issue
Block a user