-
Notifications
You must be signed in to change notification settings - Fork 218
Expand file tree
/
Copy pathBuild.xml
More file actions
35 lines (25 loc) · 915 Bytes
/
Build.xml
File metadata and controls
35 lines (25 loc) · 915 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
<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" />
<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" />
<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" />
<section if="apple" unless="static_link">
<flag value="-framework" />
<flag value="Security" />
<flag value="-framework" unless="macos" />
<flag value="Security" unless="macos" />
</section>
</target>
</xml>