-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuilder.xml
More file actions
47 lines (36 loc) · 1.73 KB
/
Copy pathbuilder.xml
File metadata and controls
47 lines (36 loc) · 1.73 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
<xml>
<pragma once="true" />
<set name="PROCESSOR_TYPE" value="x86" if="HXCPP_M32"/> <!-- This value likes to be strange!-->
<set name="PROCESSOR_TYPE" value="x64" unless="HXCPP_M32"/>
<set name="openal_dir" value="source/openal/libs/${PROCESSOR_TYPE}" />
<copyFile name="OpenAL32.dll" from="${this_dir}/${openal_dir}" toolId="exe"
overwrite="true" if="windows"/>
<files id="__main__">
<compilerflag value="-I${this_dir}/source/openal/includes" />
</files>
<files id='haxe'>
<compilervalue name="-I" value="${this_dir}/source/openal/includes/" />
</files>
<section if="windows">
<target id='haxe' tool='linker' toolid='exe'>
<lib name="${this_dir}/${openal_dir}/OpenAL32.lib"/>
</target>
<echo value="(HaxeAL-Soft) Compiling for Windows on 1.2.2 from alleged AL directory: ${this_dir}/${openal_dir}/OpenAL32.lib"/>
<set name="targetReceived" value=""/>
</section>
<section if="linux">
<target id='haxe'>
<lib name="-lopenal" />
</target>
<echo value="(HaxeAL-Soft) Compiling for Linux on 1.2.2 with flag: -lopenal"/>
<set name="targetReceived" value=""/>
</section>
<section if="macos || iphoneos || iphonesim">
<target id='haxe'>
<vflag name="-framework" value="OpenAL" />
</target>
<echo value="(HaxeAL-Soft) Compiling for Mac or Iphone on 1.2.2 from built in AL framework"/>
<set name="targetReceived" value=""/>
</section>
<error value="Missing Target: Need define for 'windows' 'linux' 'macos' 'iphoneos' or 'iphonesim'! If you defined a target and this error persists, please send a DM to yanniz06 on discord. " unless="targetReceived"/>
</xml>