Use macro to register ccmds
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user