haxeui / hxWidgets

Haxe externs (and wrappers) for wxWidgets
MIT License
77 stars 22 forks source link

add Windows x64 and ANSI support #70

Open hlizard opened 3 years ago

hlizard commented 3 years ago
<xml>
    <set name="lib_folder" value="vc_dll" />
    <set name="lib_folder" value="vc_lib" if="WXSTATIC" />
    <set name="lib_folder" value="vc_x64_dll" if="HXCPP_M64" />
    <set name="lib_folder" value="vc_x64_lib" if="HXCPP_M64 && WXSTATIC" />

    <echo value="Using wxWidgets from: ${WXWIN}\lib\${lib_folder}" />

    <section if="windows">
        <files id="haxe">
            <compilerflag value="-I${WXWIN}\include" />
            <compilerflag value="-I${WXWIN}\lib\${lib_folder}\mswu" unless="disable-unicode-strings"/>
            <compilerflag value="-I${WXWIN}\lib\${lib_folder}\msw" if="disable-unicode-strings"/>
            <compilerflag value="-I${HXWIDGETS_PATH}\include" />
            <compilerflag value="-DUNICODE" unless="disable-unicode-strings"/>
            <compilerflag value="-D_UNICODE" unless="disable-unicode-strings"/>
...

X64 works, ANSI link error!