-
Notifications
You must be signed in to change notification settings - Fork 255
/
setup.bat
26 lines (19 loc) · 671 Bytes
/
setup.bat
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
@echo off
REM Cxbx-Reloaded setup script
REM
REM Depends on git, cmake and Visual Studio being installed.
echo Pulling latest version from git...
REM git clone --recurse-submodules https://github.com/Cxbx-Reloaded/Cxbx-Reloaded/
git pull --recurse-submodules
REM echo Synchronizing submodules...
REM git submodule update --init --recursive
echo Initializing most recent Visual Studio build environment...
@call "%VS140COMNTOOLS%vsvars32.bat"
echo Generating solution...
mkdir build
cd build
REM cmake .. -G "Visual Studio 16 2019" -A Win32
cmake .. -A Win32
echo Building solution...
cmake --build . -j %NUMBER_OF_PROCESSORS%
echo Done! Enjoy using Cxbx-Reloaded!