forked from metaborg/metac
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.main.xml
50 lines (41 loc) · 2.15 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
<?xml version="1.0" encoding="UTF-8" ?>
<project name="MetaC" default="all">
<!-- Key input modules -->
<property name="sdfmodule" value="MetaC"/>
<property name="metasdfmodule" value="Stratego-MetaC"/>
<property name="esvmodule" value="MetaC"/>
<property name="strmodule" value="metac"/>
<!-- Project directories -->
<property name="trans" location="trans"/>
<property name="src-gen" location="editor/java"/>
<property name="syntax" location="syntax"/>
<property name="include" location="include"/>
<property name="lib" location="lib"/>
<property name="build" location="bin"/>
<property name="dist" location="bin/dist"/>
<property name="basec" location="BaseC" />
<property name="statemachine" location="Statemachine" />
<!-- Imports -->
<property name="build.sdf.imports" value="
-I "${basec}"/syntax
-I "${statemachine}"/syntax"/>
<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="build.strategoxt.stratego" location="${user.home}/.nix-profile/bin"/>
<!-- used for building inside of Eclipse -->
<import file="build.generated.xml"/>
<!-- Main target -->
<target name="all" depends="spoofaximp.default.ctree"/>
</project>