Subversion Repositories DevTools

Rev

Rev 1756 | Rev 1760 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1756 Rev 1758
Line 110... Line 110...
110
 
110
 
111
			<!-- Type of target => executable,plugin,shared,static -->
111
			<!-- Type of target => executable,plugin,shared,static -->
112
			<if>
112
			<if>
113
				<equals arg1="@{outtype}" arg2="executable"/>
113
				<equals arg1="@{outtype}" arg2="executable"/>
114
				<then>
114
				<then>
115
					<property name="targetfolder" value="bin.${compile.platform}"/>
115
					<property name="@{name}--targetfolder" value="bin.${compile.platform}${@{name}@{compiler}@{buildtype}-compile_type_symbol}"/>
116
					<property name="@{compiler}@{outtype}@{buildtype}-output_name" value="@{targetname}${@{name}@{compiler}@{buildtype}-compile_type_symbol}"/>
116
					<property name="@{name}@{compiler}@{outtype}@{buildtype}-output_name" value="@{targetname}"/>
117
				</then>
117
				</then>
118
				<else>
118
				<else>
119
					<property name="targetfolder" value="lib.${compile.platform}"/>
119
					<property name="@{name}--targetfolder" value="lib.${compile.platform}"/>
120
					<property name="@{compiler}@{outtype}@{buildtype}-output_name" value="@{targetname}${version}${@{name}@{compiler}@{buildtype}-compile_type_symbol}"/>
120
					<property name="@{name}@{compiler}@{outtype}@{buildtype}-output_name" value="@{targetname}@{version}${@{name}@{compiler}@{buildtype}-compile_type_symbol}"/>
121
				</else>
121
				</else>
122
			</if>
122
			</if>
-
 
123
			
123
 
124
			
124
			<mkdir dir="${objdir}/@{buildtype}_@{compiler}"/>
125
			<mkdir dir="${objdir}/@{buildtype}_@{compiler}"/>
125
			<mkdir dir="${objdir}/@{buildtype}_@{compiler}/@{targetname}"/>
126
			<mkdir dir="${objdir}/@{buildtype}_@{compiler}/@{targetname}"/>
126
			<mkdir dir="@{pkgdir}"/>
127
			<mkdir dir="@{pkgdir}"/>
127
			<mkdir dir="@{pkgdir}/${targetfolder}"/>
128
			<mkdir dir="@{pkgdir}/${@{name}--targetfolder}"/>
128
 
129
 
129
			<echo taskname="ant-cppcompile-task">Compile @{name} into @{pkgdir}/${targetfolder}/${@{compiler}@{outtype}@{buildtype}-output_name}</echo>
130
			<echo taskname="ant-cppcompile-task">Compile @{name} into @{pkgdir}/${@{name}--targetfolder}/${@{name}@{compiler}@{outtype}@{buildtype}-output_name}</echo>
130
			<echo taskname="ant-cppcompile-task">Using Compiler @{compiler} from @{compilerpath}</echo>
131
			<echo taskname="ant-cppcompile-task">Using Compiler @{compiler} from @{compilerpath}</echo>
131
			<echo taskname="ant-cppcompile-task">Placing Objects in ${objdir}/@{buildtype}_@{compiler}/@{targetname}</echo>
132
			<echo taskname="ant-cppcompile-task">Placing Objects in ${objdir}/@{buildtype}_@{compiler}/@{targetname}</echo>
132
			<echo taskname="ant-cppcompile-task">Use Compiler Includes from ${@{compiler}_include_@{buildtype}}</echo>
133
			<echo taskname="ant-cppcompile-task">Use Compiler Includes from ${@{compiler}_include_@{buildtype}}</echo>
133
			<echo taskname="ant-cppcompile-task">Use Package Includes from @{pkgdir}/include</echo>
134
			<echo taskname="ant-cppcompile-task">Use Package Includes from @{pkgdir}/include</echo>
134
			<echo taskname="ant-cppcompile-task">Linking with Library ${@{compiler}_lib_@{buildtype}} Files: ${@{compiler}_libraries_@{buildtype}}</echo>
135
			<echo taskname="ant-cppcompile-task">Linking with Library ${@{compiler}_lib_@{buildtype}} Files: ${@{compiler}_libraries_@{buildtype}}</echo>
135
 
136
 
-
 
137
			<echo taskname="ant-cppcompile-task">Linker   @{compiler}_linker_@{buildtype}_@{subsystem}</echo>
-
 
138
			<echo taskname="ant-cppcompile-task">Compiler @{compiler}_compiler_@{buildtype}_@{subsystem}</echo>
-
 
139
			<echo taskname="ant-cppcompile-task">Output File Name ${@{name}@{compiler}@{outtype}@{buildtype}-output_name}</echo>
-
 
140
					
-
 
141
		     
-
 
142
		     	<echo taskname="ant-cppcompile-task">Compiler Name ${@{compiler}_compilername}</echo>
-
 
143
		     	<echo taskname="ant-cppcompile-task">path @{compilerpath}</echo>
-
 
144
		     
136
  			<cc name="${@{compiler}_compilername}" 
145
  			<cc name="${@{compiler}_compilername}" 
137
				path="@{compilerpath}"
146
				path="@{compilerpath}"
138
				rtti="@{rtti}"
147
				rtti="@{rtti}"
139
				exceptions="@{exceptions}"
148
				exceptions="@{exceptions}"
140
				multithreaded="@{multithreaded}"
149
				multithreaded="@{multithreaded}"
141
				optimize="${@{name}@{compiler}@{buildtype}-compile_optimize}"
150
				optimize="${@{name}@{compiler}@{buildtype}-compile_optimize}"
142
				debug="${@{name}@{compiler}@{buildtype}-debug_flag}" 
151
				debug="${@{name}@{compiler}@{buildtype}-debug_flag}" 
143
				outtype="@{outtype}" 
152
				outtype="@{outtype}" 
144
				subsystem="@{subsystem}" 
153
				subsystem="@{subsystem}" 
145
				outfile="@{pkgdir}/${targetfolder}/${@{compiler}@{outtype}@{buildtype}-output_name}"
154
				outfile="@{pkgdir}/${@{name}--targetfolder}/${@{name}@{compiler}@{outtype}@{buildtype}-output_name}"
146
				objdir="${objdir}/@{buildtype}_@{compiler}/@{targetname}">
155
				objdir="${objdir}/@{buildtype}_@{compiler}/@{targetname}">
147
 
156
 
148
				<compiler refid="@{compiler}_compiler_@{buildtype}_@{subsystem}"/>
157
				<compiler refid="@{compiler}_compiler_@{buildtype}_@{subsystem}"/>
149
				<linker refid="@{compiler}_linker_@{buildtype}_@{subsystem}"/>
158
				<linker refid="@{compiler}_linker_@{buildtype}_@{subsystem}"/>
150
 
159
			
151
				<includepath path="${@{compiler}_include_@{buildtype}}"/>
160
				<includepath path="${@{compiler}_include_@{buildtype}}"/>
152
				<includepath path="@{pkgdir}/include"/>
161
				<includepath path="@{pkgdir}/include"/>
153
 
162
 
154
				<compiler-elements/>
163
				<compiler-elements/>
155
				
164