File: default.build

package info (click to toggle)
monogame 2.5.1%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 6,060 kB
  • ctags: 10,325
  • sloc: cs: 65,996; xml: 591; makefile: 22; ansic: 8
file content (48 lines) | stat: -rw-r--r-- 1,697 bytes parent folder | download | duplicates (2)
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>