-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into Physics_Suvrat
- Loading branch information
Showing
4 changed files
with
43 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,16 @@ | ||
@echo off | ||
|
||
: Determine config type to use for PhysX | ||
set CONFIG=%~1 | ||
if "%CONFIG%"=="" set CONFIG=debug | ||
echo Setting up PhysX for config: %CONFIG% | ||
|
||
: Set up and build PhysX | ||
cd thirdparty\physx\physx | ||
call generate_projects.bat vc16win64 | ||
|
||
: NV_USE_STATIC_WINCRT needs to be set to 'False' due to the Extensions lib always being built statically | ||
cmake -B compiler/vc16win64 -S compiler/public -DNV_USE_STATIC_WINCRT=False | ||
|
||
cmake --build compiler/vc16win64 --config=debug | ||
cmake --install compiler/vc16win64 --config=debug --prefix="%~dp0/thirdparty/physx-build" | ||
cmake --build compiler/vc16win64 --config=%CONFIG% | ||
cmake --install compiler/vc16win64 --config=%CONFIG% --prefix="%~dp0/thirdparty/physx-build" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters