forked from MonoGame/MonoGame
-
Notifications
You must be signed in to change notification settings - Fork 0
/
default.build
48 lines (36 loc) · 1.66 KB
/
default.build
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
<?xml version="1.0"?>
<project name="Aurora Ion Build Script" default="build" basedir=".">
<description>Default Ion Automated Build script</description>
<property name="os" value="${operating-system::get-platform(environment::get-operating-system())}" />
<target name="build" description="Build MonoGame Release">
<call target="buildwindows"/>
<!--
<call target="buildlinux"/>
<call target="buildios"/>
<call target="buildandroid" />
-->
<nant buildfile="ProjectTemplates/MonoDevelop.MonoGame.2.5/MonoDevelop.MonoGame/default.build" target="build" />
<nant buildfile="ProjectTemplates/VisualStudio2010.MonoGame.2.5/default.build" target="build" />
<nant buildfile="Installers/default.build" target="build" />
</target>
<target name="buildwindows" description="Build Windows">
<if test="${os == 'Win32NT'}">
<exec program="msbuild " commandline="MonoGame.Framework.Windows.sln /t:Build /p:Configuration=Release" />
</if>
<if test="${os == 'Unix'}">
<exec program="xbuild" commandline="/t:Build /p:Configuration=Release MonoGame.Framework.Windows.sln" />
</if>
</target>
<target name="buildlinux" description="Build Linux">
<if test="${os == 'Win32NT'}">
<exec program="msbuild " commandline="MonoGame.Framework.Linux.sln /t:Build /p:Configuration=Release" />
</if>
<if test="${os == 'Unix'}">
<exec program="xbuild" commandline="/t:Build /p:Configuration=Release MonoGame.Framework.Linux.sln" />
</if>
</target>
<target name="buildios" description="Build Windows">
</target>
<target name="buildandroid" description="Build Windows">
</target>
</project>