haxiomic / haxe-c-bridge

Easily interact with haxe classes from C with an automatically generated C header
MIT License
51 stars 5 forks source link

Not generating code on Linux #49

Open singpolyma opened 1 year ago

singpolyma commented 1 year ago

It seems like target-name != cpp is failing even though I am building in CPP mode... any ideas if this is a linux limitation of haxe or what?

acarioni commented 2 months ago

The same holds true for Mac. It appears that target.name is an empty string exclusively within #if macro blocks. Outside these blocks, it correctly equals 'cpp'.