Skip to content

Commit

Permalink
[bullet3] Add featrue extras (#32850)
Browse files Browse the repository at this point in the history
* Add feature extras

* formated vcpkg.json

* update version

* formated portfile.cmake

* update git-tree

* formated portfile.cmake

* update git-tree

---------

Co-authored-by: Monica <v-liumonica@microsoft.com>
  • Loading branch information
MonicaLiu0311 and Monica committed Jul 31, 2023
1 parent 4af97c9 commit 51569b4
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
3 changes: 1 addition & 2 deletions ports/bullet3/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
vcpkg_minimum_required(VERSION 2022-10-12) # for ${VERSION}

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
Expand All @@ -15,6 +14,7 @@ vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
FEATURES
multithreading BULLET2_MULTITHREADING
double-precision USE_DOUBLE_PRECISION
extras BUILD_EXTRAS
INVERTED_FEATURES
rtti USE_MSVC_DISABLE_RTTI
)
Expand All @@ -27,7 +27,6 @@ vcpkg_cmake_configure(
-DBUILD_BULLET2_DEMOS=OFF
-DBUILD_OPENGL3_DEMOS=OFF
-DBUILD_BULLET3=OFF
-DBUILD_EXTRAS=ON
-DBUILD_BULLET_ROBOTICS_GUI_EXTRA=OFF
-DBUILD_BULLET_ROBOTICS_EXTRA=OFF
-DBUILD_GIMPACTUTILS_EXTRA=OFF
Expand Down
4 changes: 4 additions & 0 deletions ports/bullet3/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "bullet3",
"version": "3.25",
"port-version": 1,
"description": "Bullet Physics is a professional collision detection, rigid body, and soft body dynamics library",
"homepage": "https://github.com/bulletphysics/bullet3",
"license": "Zlib",
Expand All @@ -18,6 +19,9 @@
"double-precision": {
"description": "Use float64 doubles for bullet3"
},
"extras": {
"description": "Build the extras"
},
"multithreading": {
"description": "Multithreading functionality for bullet3"
},
Expand Down
5 changes: 5 additions & 0 deletions versions/b-/bullet3.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "9ecadb6b6e0651347e89555207f28c4ee5b1b51c",
"version": "3.25",
"port-version": 1
},
{
"git-tree": "2ddb8da6a7bd04aff093231935f5ead2a8ee7c79",
"version": "3.25",
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -1318,7 +1318,7 @@
},
"bullet3": {
"baseline": "3.25",
"port-version": 0
"port-version": 1
},
"bustache": {
"baseline": "1.1.0",
Expand Down

0 comments on commit 51569b4

Please sign in to comment.