Groups
Sign in
Groups
Haxe
Conversations
Labels
About
Send feedback
Help
Can I add -swf-lib or -swf-lib-extern from a macro?
10 views
-swf-lib
-swf-lib-extern
compiler
haxe
macro
Skip to first unread message
杨博
unread,
Feb 20, 2013, 9:47:24 PM
2/20/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to haxe...@googlegroups.com
I have a SWF library. I want to use a flag to determinate if load them at runtime:
haxe -D load_foo_at_runtime --macro SwfLib.fooLibrary(foo.swf)
I want
SwfLib.
fooLibrary
checks
load_foo_at_runtime
and add
-swf-lib
or
-swf-lib-extern
to compiler. How can I implement such a macro?
Reply all
Reply to author
Forward
0 new messages