-
Notifications
You must be signed in to change notification settings - Fork 218
Expand file tree
/
Copy pathBuild.xml
More file actions
53 lines (38 loc) · 1.41 KB
/
Build.xml
File metadata and controls
53 lines (38 loc) · 1.41 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
46
47
48
49
50
51
52
53
<xml>
<pragma once="true" />
<set name="PCRE_DIR" value="${HXCPP}/project/thirdparty/pcre2-10.42/src" />
<files id="pcre2-8" tags="" >
<depend files="hxcpp-depends"/>
<depend name="${this_dir}/Build.xml" dateOnly="true" />
<cache value="true" asLibrary="true" />
<compilerflag value="-DPCRE2_CODE_UNIT_WIDTH=8" />
<compilerflag value="-DSUPPORT_PCRE2_8" />
<include name="${this_dir}/pcre2_sources.xml" />
</files>
<files id="pcre2-16" tags="" >
<depend files="hxcpp-depends"/>
<depend name="${this_dir}/Build.xml" dateOnly="true" />
<cache value="true" asLibrary="true" />
<compilerflag value="-DPCRE2_CODE_UNIT_WIDTH=16" />
<compilerflag value="-DSUPPORT_PCRE2_16" />
<include name="${this_dir}/pcre2_sources.xml" />
</files>
<files id="hxcpp_regexp">
<depend files="hxcpp-depends"/>
<depend name="${this_dir}/Build.xml" dateOnly="true" />
<cache value="true" asLibrary="true" />
<compilerflag value="-I${PCRE_DIR}" unless="HXCPP_NO_VENDORED" />
<file name="${this_dir}/RegExp.cpp"/>
</files>
<target id="haxe">
<files id="hxcpp_regexp" />
<section unless="HXCPP_NO_VENDORED">
<files id="pcre2-8" />
<files id="pcre2-16" if="hxcpp_smart_strings" />
</section>
<section if="HXCPP_NO_VENDORED" unless="static_link">
<lib name="-lpcre2-8" />
<lib name="-lpcre2-16" if="hxcpp_smart_strings" />
</section>
</target>
</xml>