/[eiffelstudio]/branches/eth/eve/Src/build.eant
ViewVC logotype

Contents of /branches/eth/eve/Src/build.eant

Parent Directory Parent Directory | Revision Log Revision Log


Revision 87721 - (show annotations)
Fri Nov 4 09:32:23 2011 UTC (8 years, 1 month ago) by jasonw
File size: 5503 byte(s)
<<Merged from trunk#87720.>>
1 <?xml version="1.0"?>
2
3 <project name="build_library" default="help">
4 <description>
5 description: "Eiffel's libraries compilation"
6 </description>
7
8 <target name="help">
9 <echo message="usage:"/>
10 <echo message=" geant check_setup Check if your setup is ok for compilation " />
11 <echo message=" geant clean Clean up the folders" />
12 <echo message=" geant clobber Clean, and delete generated files in folders"/>
13 <echo message=" geant prepare Prepare folders for development on `ec'"/>
14 <echo message=" Note: folders=runtime, il runtime, C_library," />
15 <echo message=" library, framework." />
16 <echo message=" geant compile Compile 'ec' finalized" />
17 <echo message=" geant compile_workbench Compile 'ec' workbench" />
18 <echo message=" geant estudio_workbench Compile 'ec' workbench in GUI" />
19 <echo message=" ---- "/>
20 <echo message=" geant make_delivery Build a complete delivery " />
21 <echo message=" geant make_delivery_menu Build a complete delivery (interactive) " />
22 <echo message="" />
23 <echo message="defines:" />
24 <!--
25 <echo message=" -Dclean_after_compile Clean after compilation (to save disk space)"/>
26 <echo message=" -Dgobo_using_gec Build GOBO tools using GEC"/>
27 -->
28 <echo message=" -Dcompile_dir=PATH Build intermediate binaries in PATH"/>
29 </target>
30
31 <!-- Targets -->
32 <target name="check_setup" >
33 <set name="L_check_setup_script" value="${EIFFEL_SRC}${path_separator}scripts${path_separator}check_setup.eant" />
34 <available resource="$L_check_setup_script" variable="tmp_available"/>
35 <geant target="check_setup" file="$L_check_setup_script"
36 reuse_variables="true" fork="false"
37 if="$tmp_available=true"
38 />
39 <echo message="Error: can not found [$L_check_setup_script]" if="$tmp_available=false" />
40 <unset name="tmp_available" />
41 </target>
42
43 <target name="init_compilation" >
44 <set name="L_comp_dir" value="$compile_dir" if="$compile_dir" />
45 <set name="L_comp_dir" value="$cwd" if="-$compile_dir-=--" />
46 <set name="L_comp_dir" value="$cwd" unless="$compile_dir" />
47 </target>
48
49 <target name="compile" depend="init_compilation" >
50 <echo message="finalize `ec' in [$L_comp_dir]" />
51
52 <geant target="finalize" file="${EIFFEL_SRC}${path_separator}scripts${path_separator}tools${path_separator}ec_bench.eant"
53 dir="$L_comp_dir"
54 reuse_variables="true" fork="false" />
55 </target>
56 <target name="compile_workbench" depend="init_compilation" >
57 <echo message="workbench `ec' in [$L_comp_dir]" />
58
59 <geant target="freeze" file="${EIFFEL_SRC}${path_separator}scripts${path_separator}tools${path_separator}ec_bench.eant"
60 dir="$L_comp_dir"
61 reuse_variables="true" fork="false" />
62 </target>
63 <target name="estudio_workbench" depend="init_compilation" >
64 <echo message="workbench `ec' in [$L_comp_dir]" />
65
66 <geant target="estudio" file="${EIFFEL_SRC}${path_separator}scripts${path_separator}tools${path_separator}ec_bench.eant"
67 dir="$L_comp_dir"
68 reuse_variables="true" fork="false" />
69 </target>
70 <target name="clean_compilation" depend="init_compilation" >
71 <echo message="Clean `ec' compilation from [$L_comp_dir]" />
72
73 <geant target="clean" file="${EIFFEL_SRC}${path_separator}scripts${path_separator}tools${path_separator}ec_bench.eant"
74 dir="$L_comp_dir"
75 reuse_variables="true" fork="false" />
76 </target>
77
78 <target name="prepare" >
79 <echo message="Prepare everything for development on `ec'" />
80 <geant target="_target_template_" arguments="compile" dir="${EIFFEL_SRC}" />
81 </target>
82
83 <target name="clean" >
84 <geant target="_target_template_" arguments="clean" dir="${EIFFEL_SRC}" />
85 <geant target="clean_compilation" />
86 </target>
87
88 <target name="clobber" >
89 <geant target="_target_template_" arguments="clobber" dir="${EIFFEL_SRC}" />
90 </target>
91
92 <target name="make_delivery" >
93 <geant target="build_delivery" file="${EIFFEL_SRC}${path_separator}scripts${path_separator}deliv.eant"
94 reuse_variables="true" fork="false" />
95 </target>
96 <target name="make_delivery_menu" >
97 <geant target="menu" file="${EIFFEL_SRC}${path_separator}scripts${path_separator}menu.eant"
98 reuse_variables="true" fork="false" />
99 </target>
100
101 <!-- Implementation -->
102 <target name="_target_template_" >
103 <argument name="_target_name_" />
104
105 <!-- Classic runtime -->
106 <geant target="$_target_name_" dir="C" file="build.eant"
107 reuse_variables="true" fork="false" />
108 <!-- IL runtime -->
109 <geant target="$_target_name_" dir="Eiffel\eiffel\com_il_generation\Core\run-time" file="build.eant"
110 reuse_variables="true" fork="false" if="${is_windows}" />
111 <!-- C_library -->
112 <geant target="$_target_name_" dir="C_library" file="build.eant"
113 reuse_variables="true" fork="false" />
114 <!-- library -->
115 <geant target="$_target_name_" dir="library" file="build.eant"
116 reuse_variables="true" fork="false" />
117 <!-- compatible/library -->
118 <geant target="$_target_name_" dir="compatible/library" file="build.eant"
119 reuse_variables="true" fork="false" />
120 <!-- framework -->
121 <geant target="$_target_name_" dir="framework" file="build.eant"
122 reuse_variables="true" fork="false" />
123 <!-- contrib -->
124 <geant target="$_target_name_" dir="contrib" file="build.eant"
125 reuse_variables="true" fork="false" />
126 <!-- unstable -->
127 <geant target="$_target_name_" dir="unstable" file="build.eant"
128 reuse_variables="true" fork="false" />
129 </target>
130
131 </project>

Properties

Name Value
svn:eol-style native
svn:keywords Author Date ID Revision

  ViewVC Help
Powered by ViewVC 1.1.23