-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.eant
More file actions
45 lines (36 loc) · 1.21 KB
/
Copy pathbuild.eant
File metadata and controls
45 lines (36 loc) · 1.21 KB
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
<?xml version="1.0"?>
<project name="eiffel-kyotocabinet" default="help">
<description>
description: "Eiffel Ant file for 'eiffel-kyotocabinet'"
system: "Eiffel wrapper for 'kyotocabinet'"
copyright: "Howard Thomson and others"
license: "MIT License"
</description>
<inherit>
<parent location="${GOBO}/misc/eiffel.eant">
<redefine target="init_system"/>
<redefine target="compile_ge"/>
</parent>
</inherit>
<!-- Implementation -->
<target name="init_system">
<set name="system" value="eiffel-kyotocabinet"/>
<set name="system_dir" value="/data/git/eiffel-kyotocabinet"/>
</target>
<target name="compile_ge" depend="prepare_compile">
<description>
Compile '${system}' with Gobo Eiffel.
Compile in debug mode if ${debug} is defined.
</description>
<set name="eiffel" value="ge"/>
<setenv name="bit_64" value="_64"/>
<geant target="xace">
<argument name="a_compiler" value="ge"/>
<argument name="a_output" value="compile_ge.xace"/>
</geant>
<delete file="${system}${exe}"/>
<set name="finalize" value="true"/>
<set name="finalize" value="false" if="${debug}"/>
<gec ace="compile_ge.xace" catcall="no" finalize="${finalize}" c_compile="true" cat="false"/>
</target>
</project>