Hey,
in my project (openfl, target:windows) i try to include .cpp/.h files like this in hx class:
@:buildXml('<include name="./../../../src/MyBuild.xml" />')
and my MyBuild.xml looks like this:
<xml>
<set name="PROJECT_DIR" value="${this_dir}" />
<set name="CPP_DIR" value="${PROJECT_DIR}/cpp" />
<files id='haxe'>
<compilervalue name="-I" value="${CPP_DIR}/include/" />
<compilervalue name="-I" value="${CPP_DIR}/src/" />
</files>
<target id='haxe' tool='linker' toolid='exe'>
<lib name='${CPP_DIR}/lib/libvlc.lib' if='windows'/>
<lib name='${CPP_DIR}/lib/libvlccore.lib' if='windows'/>
</target>
</xml>
Since Lime 7.0.0 version this xml part stopped working and i get error LNK2019: unresolved external symbol errors when linking.
<compilervalue name="-I" value="${CPP_DIR}/include/" />
<compilervalue name="-I" value="${CPP_DIR}/src/" />
Is there a new tags to include/look for all files in these directories?