Use macro to register ccmds

This commit is contained in:
2025-03-11 09:11:45 +01:00
parent 9571e136b3
commit 34a691fa68
4 changed files with 92 additions and 5 deletions
+6 -2
View File
@@ -15,6 +15,10 @@
<!-- classpath, haxe libs -->
<source path="src" />
<!-- Macro configuration -->
<haxeflag name="--macro" value="addGlobalMetadata('', '@:build(engine.macros.CCmdDecorator.build())')" />
<assets path="./res/textures" rename="textures" />
<assets path="./res/fonts" rename="fonts" />
<assets path="./res/data" rename="data"/>
@@ -24,6 +28,6 @@
<!--<icon path="assets/openfl.svg" /> -->
<!-- <assets path="assets/img" rename="img" /> -->
<!-- optimize output
<haxeflag name="-dce full" /> -->
<!-- optimize output -->
<haxeflag name="-dce full" />
</project>