<?xml version="1.0" encoding="utf-8" standalone="no"?>
<installer-gui-script minSpecVersion="1">
    <title>ArrayFire 3.2.0</title>
    <welcome file="welcome.html.out"/>
    <readme file="readme.html.out" mime-type="test/html"/>
    <license file="LICENSE" mime-type="test/plain"/>
    <script>
      function CheckBackendSelected() {
      return choices.opencl_lib.selected ||
            choices.cuda_lib.selected ||
            choices.cpu_lib.selected;
      }
    </script>
    <pkg-ref id="com.arrayfire.arrayfire.cpu.lib" version="3.2.0" onConclusion="none" packageIdentifier="com.arrayfire.pkg.arrayfire.cpu.lib" installKBytes="19022">#ArrayFireCPU.pkg</pkg-ref>
    <pkg-ref id="com.arrayfire.arrayfire.cuda.lib" version="3.2.0" onConclusion="none" packageIdentifier="com.arrayfire.pkg.arrayfire.cuda.lib" installKBytes="527009">#ArrayFireCUDA.pkg</pkg-ref>
    <pkg-ref id="com.arrayfire.arrayfire.opencl.lib" version="3.2.0" onConclusion="none" packageIdentifier="com.arrayfire.pkg.arrayfire.opencl.lib" installKBytes="34969">#ArrayFireOPENCL.pkg</pkg-ref>
    <pkg-ref id="com.arrayfire.arrayfire.unified.lib" version="3.2.0" onConclusion="none" packageIdentifier="com.arrayfire.pkg.arrayfire.unified.lib" installKBytes="2342">#ArrayFireUNIFIED.pkg</pkg-ref>
    <pkg-ref id="com.arrayfire.arrayfire.inc" version="3.2.0" onConclusion="none" packageIdentifier="com.arrayfire.pkg.arrayfire.inc" installKBytes="429">#ArrayFireHeaders.pkg</pkg-ref>
    <pkg-ref id="com.arrayfire.arrayfire.extra" version="3.2.0" onConclusion="none" packageIdentifier="com.arrayfire.pkg.arrayfire.extra" installKBytes="52356">#ArrayFireExtra.pkg</pkg-ref>
    <options customize="always" require-scripts="false"/>
    <choices-outline>
        <line choice="libs">
            <line choice="cpu_lib"/>
            <line choice="cuda_lib"/>
            <line choice="opencl_lib"/>
            <line choice="com.arrayfire.arrayfire.unified.lib"/>
        </line>
        <line choice="com.arrayfire.arrayfire.inc"/>
        <line choice="com.arrayfire.arrayfire.extra"/>
    </choices-outline>
    <choice id="libs" title="ArrayFire Libraries" visible="true"/>
    <choice title="CPU Libraries" description="ArrayFire targeting CPUs." id="cpu_lib" visible="true" enabled="true">
        <pkg-ref id="com.arrayfire.arrayfire.cpu.lib"/>
    </choice>
    <choice title="CUDA Libraries" description="ArrayFire which targets the CUDA platform. This platform allows you to to take advantage of the CUDA enabled GPUs to run ArrayFire code." id="cuda_lib" visible="true" enabled="true">
        <pkg-ref id="com.arrayfire.arrayfire.cuda.lib"/>
    </choice>
    <choice title="OpenCL Libraries" description="ArrayFire which targets the OpenCL platform. This platform allows you to use the ArrayFire library which targets OpenCL devices. NOTE: Currently ArrayFire does not support OpenCL for the Intel CPU on Apple." id="opencl_lib" visible="true" enabled="true">
        <pkg-ref id="com.arrayfire.arrayfire.opencl.lib"/>
    </choice>
    <choice title="Unified Library" description="This library will allow you to choose the platform(cpu, cuda, opencl) at runtime. NOTE: This option requires the other platforms to work properly" id="com.arrayfire.arrayfire.unified.lib" selected="CheckBackendSelected()" visible="true" enabled="CheckBackendSelected()">
        <pkg-ref id="com.arrayfire.arrayfire.unified.lib"/>
    </choice>
    <choice title="ArrayFire Headers" description="ArrayFire Headers" id="com.arrayfire.arrayfire.inc" visible="true" enabled="true">
        <pkg-ref id="com.arrayfire.arrayfire.inc"/>
    </choice>
    <choice title="Extras" description="Extra files include documentation, examples, and cmake scripts to find and use ArrayFire with cmake," id="com.arrayfire.arrayfire.extra" visible="true" enabled="true">
        <pkg-ref id="com.arrayfire.arrayfire.extra"/>
    </choice>
    <pkg-ref id="com.arrayfire.arrayfire.cpu.lib">
        <bundle-version/>
    </pkg-ref>
    <pkg-ref id="com.arrayfire.arrayfire.cuda.lib">
        <bundle-version/>
    </pkg-ref>
    <pkg-ref id="com.arrayfire.arrayfire.opencl.lib">
        <bundle-version/>
    </pkg-ref>
    <pkg-ref id="com.arrayfire.arrayfire.unified.lib">
        <bundle-version/>
    </pkg-ref>
    <pkg-ref id="com.arrayfire.arrayfire.inc">
        <bundle-version/>
    </pkg-ref>
    <pkg-ref id="com.arrayfire.arrayfire.extra">
        <bundle-version/>
    </pkg-ref>
</installer-gui-script>