summaryrefslogtreecommitdiff
path: root/GenerateProjects.bat
blob: 1df3d8de0caf994287c535e39ae1d2f605b737a6 (plain) (blame)
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
43
44
45
46
47
48
49
50
REM @echo off

REM Make sure the various variables that we need are set

call %~dp0\packman\windows\packman.cmd pull WaveWorksDependencies.xml


IF NOT DEFINED PM_PACKAGES_ROOT GOTO PM_PACKAGES_ROOT_UNDEFINED

REM Generate projects here

REM rmdir /s /q compiler\vc12win64-cmake\
REM mkdir compiler\vc12win64-cmake\
REM pushd compiler\vc12win64-cmake\
REM cmake ..\.. -G "Visual Studio 12 2013" -Ax64 -DTARGET_BUILD_PLATFORM=Windows -DWW_OUTPUT_DIR=bin\vc12win64-cmake\
REM popd

rmdir /s /q compiler\vc14win64-cmake\
mkdir compiler\vc14win64-cmake\
pushd compiler\vc14win64-cmake\
cmake ..\.. -G "Visual Studio 14 2015" -Ax64 -DTARGET_BUILD_PLATFORM=Windows -DWW_OUTPUT_DIR=bin\vc14win64-cmake\
popd

REM rmdir /s /q compiler\vc12-ps4-cmake\
REM mkdir compiler\vc12-ps4-cmake\
REM pushd compiler\vc12-ps4-cmake\
REM cmake ..\.. -G "Visual Studio 12 2013" -DTARGET_BUILD_PLATFORM=PS4 -DPX_OUTPUT_DIR=lib\PS4\VS2013\ -DCMAKE_TOOLCHAIN_FILE="%GW_DEPS_ROOT%\CMakeModules\PS4Toolchain.txt" -DCMAKE_GENERATOR_PLATFORM=ORBIS
REM popd

REM rmdir /s /q compiler\vc11xbone-cmake\
REM mkdir compiler\vc11xbone-cmake\
REM pushd compiler\vc11xbone-cmake\
REM cmake ..\.. -G "Visual Studio 11 2012" -DTARGET_BUILD_PLATFORM=XBoxOne -DPX_OUTPUT_DIR=lib\XboxOne\VS2012\ -DCMAKE_TOOLCHAIN_FILE="%GW_DEPS_ROOT%\CMakeModules\XBoneToolchain.txt" -DCMAKE_GENERATOR_PLATFORM=Durango

REM Because XBone build is a bit wonky, delete these meta projects.

REM del ZERO_CHECK.*
REM del ALL_BUILD.*

REM popd

GOTO :End

:PM_PACKAGES_ROOT_UNDEFINED
ECHO PM_PACKAGES_ROOT has to be defined, if it's not it means PackMan has not successfully bootstrapped and run as part of this batch file.
PAUSE
GOTO END


:End