-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.main.xml
57 lines (50 loc) · 2.55 KB
/
build.main.xml
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
49
50
51
52
53
54
55
56
57
<?xml version="1.0" encoding="UTF-8"?>
<project name="Test" default="all">
<!-- Key input modules -->
<property name="sdfmodule" value="Test"/>
<property name="metasdfmodule" value="Stratego-Test"/>
<property name="esvmodule" value="Test"/>
<property name="strmodule" value="test"/>
<property name="ppmodule" value="Test-pp"/>
<property name="sigmodule" value="Test-sig"/>
<!-- Project directories -->
<property name="trans" location="trans"/>
<property name="src-gen" location="editor/java"/>
<property name="src-dirs" location="editor/java"/>
<property name="include" location="include"/>
<property name="lib" location="lib"/>
<property name="build" location="target/classes"/>
<property name="sdf-src-gen" location="src-gen"/>
<property name="pp" location="${sdf-src-gen}/pp"/>
<property name="signatures" location="${sdf-src-gen}/signatures"/>
<property name="lib-gen" location="${include}"/>
<property name="syntax" location="${sdf-src-gen}/syntax"/>
<property name="syntax.rel" location="${syntax}" relative="yes"/>
<property name="trans.rel" location="trans" relative="yes"/>
<property name="include.rel" location="${include}" relative="yes"/>
<property name="lib-gen.rel" location="${lib-gen}" relative="yes"/>
<!-- Imports -->
<property name="build.sdf.imports" value=""/>
<property name="build.stratego.args" value="
--library
-I "${trans}"
-I "${basedir}"
-la stratego-lib -la stratego-sglr -la stratego-gpp -la stratego-xtc -la stratego-aterm -la stratego-parallel"/>
<!-- Optional: external .def and .jar locations
<property name="externaldef" location="syntax/${sdfmodule}.def"/>
<property name="externaljar" value="../lib.jar"/>
<property name="externaljarflags" value="-la org.lib"/>
-->
<!-- Environment configuration for command-line builds -->
<condition property="build.strategoxt.sdf" value="${eclipse.spoofaximp.nativeprefix}" else="">
<isset property="eclipse.spoofaximp.nativeprefix"/>
</condition>
<property name="nativepath" value="${build.strategoxt.sdf}/"/>
<property location="${user.home}/.nix-profile/bin" name="build.strategoxt.sdf"/>
<!-- used for building inside of Eclipse -->
<import file="build.generated.xml"/>
<!-- Main target -->
<target name="all" depends="spoofaximp.default.ctree"/>
<target name="generate-sources" depends="generate-sources-ctree" />
<target name="package" depends="package-ctree" />
</project>