-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPreBuildLibraries.bat
More file actions
42 lines (34 loc) · 965 Bytes
/
Copy pathPreBuildLibraries.bat
File metadata and controls
42 lines (34 loc) · 965 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
@echo off
cd RXNEngine/vendor
cd assimp
mkdir build
cd build
cmake .. -DBUILD_SHARED_LIBS=OFF
cmake --build . --config Release
cmake --build . --config Debug
cd ../..
cd yaml-cpp
mkdir build
cd build
cmake -DYAML_BUILD_SHARED_LIBS=OFF ..
cmake --build . --config Release
cmake --build . --config Debug
cd ../..
cd SDL
mkdir build
cd build
cmake .. -DSDL_SHARED=ON -DSDL_STATIC=OFF
cmake --build . --config Release
cmake --build . --config Debug
cd ../..
cd PhysX/physx
set "PRESET_FILE=buildtools\presets\public\vc17win64-cpu-only.xml"
powershell -Command "(Get-Content '%PRESET_FILE%') -replace 'name=\"NV_USE_STATIC_WINCRT\" value=\"True\"', 'name=\"NV_USE_STATIC_WINCRT\" value=\"False\"' | Set-Content '%PRESET_FILE%'"
call generate_projects.bat vc17win64-cpu-only
cd compiler/vc17win64-cpu-only
cmake --build . --config debug
cmake --build . --config checked
cmake --build . --config release
cd ../../../..
echo All libraries built successfully!
pause