| Line 115... |
Line 115... |
| 115 |
|
115 |
|
| 116 |
<!-- Type of target => executable,plugin,shared,static -->
|
116 |
<!-- Type of target => executable,plugin,shared,static -->
|
| 117 |
<if>
|
117 |
<if>
|
| 118 |
<equals arg1="@{outtype}" arg2="executable"/>
|
118 |
<equals arg1="@{outtype}" arg2="executable"/>
|
| 119 |
<then>
|
119 |
<then>
|
| 120 |
<property name="@{name}--targetfolder" value="bin.${compile.platform}${@{name}@{compiler}@{buildtype}-compile_type_symbol}"/>
|
120 |
<property name="@{name}@{buildtype}--targetfolder" value="bin.${compile.platform}${@{name}@{compiler}@{buildtype}-compile_type_symbol}"/>
|
| 121 |
<property name="@{name}@{compiler}@{outtype}@{buildtype}-output_name" value="@{targetname}"/>
|
121 |
<property name="@{name}@{compiler}@{outtype}@{buildtype}-output_name" value="@{targetname}"/>
|
| 122 |
</then>
|
122 |
</then>
|
| 123 |
<else>
|
123 |
<else>
|
| 124 |
<property name="@{name}--targetfolder" value="lib.${compile.platform}"/>
|
124 |
<property name="@{name}@{buildtype}--targetfolder" value="lib.${compile.platform}"/>
|
| 125 |
<property name="@{name}@{compiler}@{outtype}@{buildtype}-output_name" value="@{targetname}@{version}${@{name}@{compiler}@{buildtype}-compile_type_symbol}"/>
|
125 |
<property name="@{name}@{compiler}@{outtype}@{buildtype}-output_name" value="@{targetname}@{version}${@{name}@{compiler}@{buildtype}-compile_type_symbol}"/>
|
| 126 |
</else>
|
126 |
</else>
|
| 127 |
</if>
|
127 |
</if>
|
| 128 |
|
128 |
|
| 129 |
<!-- Type of target => Linker Options for bcpp compiler according type executable,plugin,shared,static-->
|
129 |
<!-- Type of target => Linker Options for bcpp compiler according type executable,plugin,shared,static-->
|
| Line 169... |
Line 169... |
| 169 |
|
169 |
|
| 170 |
|
170 |
|
| 171 |
<mkdir dir="${objdir}/@{buildtype}_@{compiler}"/>
|
171 |
<mkdir dir="${objdir}/@{buildtype}_@{compiler}"/>
|
| 172 |
<mkdir dir="${objdir}/@{buildtype}_@{compiler}/@{targetname}"/>
|
172 |
<mkdir dir="${objdir}/@{buildtype}_@{compiler}/@{targetname}"/>
|
| 173 |
<mkdir dir="@{pkgdir}"/>
|
173 |
<mkdir dir="@{pkgdir}"/>
|
| 174 |
<mkdir dir="@{pkgdir}/${@{name}--targetfolder}"/>
|
174 |
<mkdir dir="@{pkgdir}/${@{name}@{buildtype}--targetfolder}"/>
|
| 175 |
|
175 |
|
| 176 |
<echo taskname="ant-cppcompile-task">Compile @{name} into @{pkgdir}/${@{name}--targetfolder}/${@{name}@{compiler}@{outtype}@{buildtype}-output_name}</echo>
|
176 |
<echo taskname="ant-cppcompile-task">Compile @{name} into @{pkgdir}/${@{name}@{buildtype}--targetfolder}/${@{name}@{compiler}@{outtype}@{buildtype}-output_name}</echo>
|
| 177 |
<echo taskname="ant-cppcompile-task">Using Compiler @{compiler} from @{compilerpath}</echo>
|
177 |
<echo taskname="ant-cppcompile-task">Using Compiler @{compiler} from @{compilerpath}</echo>
|
| 178 |
<echo taskname="ant-cppcompile-task">Placing Objects in ${objdir}/@{buildtype}_@{compiler}/@{targetname}</echo>
|
178 |
<echo taskname="ant-cppcompile-task">Placing Objects in ${objdir}/@{buildtype}_@{compiler}/@{targetname}</echo>
|
| 179 |
<echo taskname="ant-cppcompile-task">Use Compiler Includes from ${@{compiler}_include_@{buildtype}}</echo>
|
179 |
<echo taskname="ant-cppcompile-task">Use Compiler Includes from ${@{compiler}_include_@{buildtype}}</echo>
|
| 180 |
<echo taskname="ant-cppcompile-task">Use Package Includes from @{pkgdir}/include</echo>
|
180 |
<echo taskname="ant-cppcompile-task">Use Package Includes from @{pkgdir}/include</echo>
|
| 181 |
<echo taskname="ant-cppcompile-task">Linking with Library ${@{compiler}_lib_@{buildtype}} Files: ${@{compiler}_libraries_@{buildtype}}</echo>
|
181 |
<echo taskname="ant-cppcompile-task">Linking with Library ${@{compiler}_lib_@{buildtype}} Files: ${@{compiler}_libraries_@{buildtype}}</echo>
|
| Line 194... |
Line 194... |
| 194 |
multithreaded="@{multithreaded}"
|
194 |
multithreaded="@{multithreaded}"
|
| 195 |
optimize="${@{name}@{compiler}@{buildtype}-compile_optimize}"
|
195 |
optimize="${@{name}@{compiler}@{buildtype}-compile_optimize}"
|
| 196 |
debug="${@{name}@{compiler}@{buildtype}-debug_flag}"
|
196 |
debug="${@{name}@{compiler}@{buildtype}-debug_flag}"
|
| 197 |
outtype="@{outtype}"
|
197 |
outtype="@{outtype}"
|
| 198 |
subsystem="@{subsystem}"
|
198 |
subsystem="@{subsystem}"
|
| 199 |
outfile="@{pkgdir}/${@{name}--targetfolder}/${@{name}@{compiler}@{outtype}@{buildtype}-output_name}"
|
199 |
outfile="@{pkgdir}/${@{name}@{buildtype}--targetfolder}/${@{name}@{compiler}@{outtype}@{buildtype}-output_name}"
|
| 200 |
objdir="${objdir}/@{buildtype}_@{compiler}/@{targetname}">
|
200 |
objdir="${objdir}/@{buildtype}_@{compiler}/@{targetname}">
|
| 201 |
|
201 |
|
| 202 |
<compiler refid="@{compiler}_compiler_@{buildtype}_@{subsystem}"/>
|
202 |
<compiler refid="@{compiler}_compiler_@{buildtype}_@{subsystem}"/>
|
| 203 |
<linker refid="${@{buildtype}@{compiler}@{name}--linker}${@{name}_@{compiler}--vcl}"/>
|
203 |
<linker refid="${@{buildtype}@{compiler}@{name}--linker}${@{name}_@{compiler}--vcl}"/>
|
| 204 |
|
204 |
|