Compile Haxe to completely remove the cpp target?

How to compile Haxe code using a cpp target that is completely devoid of, no debugging addons, etc.?

What can be used besides -D dce=fulland --no-tracesto compile the fastest and / or smallest executable file?

+5
source share
1 answer

-D dce=fulland --no-tracesavoiding it -debug, you need to make the assembly ready to deploy to all Haxe targets.

; Haxe 3.2 , (-D analyzer). , , , .

Haxe 3.4 , -D analyzer . -D analyzer-optimize. , ( ) , , .. - , vars hxcpp, Haxe 4.0 .

, Haxe , , . , ( ) , .

+4

Source: https://habr.com/ru/post/1681225/


All Articles