-
Notifications
You must be signed in to change notification settings - Fork 16
/
Init.bat
26 lines (19 loc) · 904 Bytes
/
Init.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
:: Fling Engine initalize script
:: Download any third party libs/API's and build them so that
:: the devs can get to work faster!
@echo off
echo =======================================================================
echo ================= Fling Engine initalize script ============================
echo =======================================================================
:: Create the build folders if they are not created already
if not exist "build" mkdir build
:: Clone any external libararies or other things that we are using
git submodule update --init --recursive
:: Build GLFW in release and debug so that we can actually use it
::cd "external/glfw"
::cmake . -A x64
::cmake --build . --target ALL_BUILD --config Release
::cmake --build . --target ALL_BUILD --config Debug
:: Run cmake to generate the local x64 files in the build folder
::cd "../.."
cmake . -A x64 -B build