-
Notifications
You must be signed in to change notification settings - Fork 218
Expand file tree
/
Copy pathBuild.xml
More file actions
36 lines (26 loc) · 996 Bytes
/
Build.xml
File metadata and controls
36 lines (26 loc) · 996 Bytes
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
<xml>
<pragma once="true" />
<include name="${HXCPP}/project/thirdparty/mbedtls-files.xml" />
<files id="hxcpp_ssl" >
<depend files="hxcpp-depends"/>
<depend name="${this_dir}/Build.xml" dateOnly="true" />
<cache value="true" asLibrary="true" />
<include name="${HXCPP}/project/thirdparty/mbedtls-flags.xml" unless="HXCPP_NO_VENDORED" />
<file name="${this_dir}/SSL.cpp"/>
</files>
<target id="haxe">
<!-- the order is important, mbedtls needs to come after hxcpp_ssl -->
<files id="hxcpp_ssl" />
<files id="mbedtls" unless="HXCPP_NO_VENDORED" />
<section if="HXCPP_NO_VENDORED" unless="static_link">
<lib name="-lmbedx509" />
<lib name="-lmbedtls" />
<lib name="-lmbedcrypto" />
</section>
<lib name="advapi32.lib" if="windows" unless="static_link" />
<lib name="crypt32.lib" if="windows" unless="static_link" />
<lib name="ws2_32.lib" if="windows" unless="static_link" />
<flag value="-framework" if="macos"/>
<flag value="Security" if="macos"/>
</target>
</xml>