forked from LeenkxTeam/LNXSDK
45 lines
1.2 KiB
XML
45 lines
1.2 KiB
XML
|
<xml>
|
||
|
|
||
|
<pragma once="true" />
|
||
|
|
||
|
<set name="PCRE_DIR" value="${HXCPP}/project/thirdparty/pcre2-10.42/src" />
|
||
|
|
||
|
<files id="pcre2-8" >
|
||
|
<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" >
|
||
|
<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}"/>
|
||
|
|
||
|
<file name="${this_dir}/RegExp.cpp"/>
|
||
|
</files>
|
||
|
|
||
|
<target id="haxe">
|
||
|
<files id="hxcpp_regexp" />
|
||
|
<files id="pcre2-8" />
|
||
|
<files id="pcre2-16" if="hxcpp_smart_strings" />
|
||
|
</target>
|
||
|
|
||
|
</xml>
|