Open utterances-bot opened 5 years ago
There is a case when library's directory's hxml files can override your project's hxml during compilation. To avoid this include your -lib library
before -cp src -main Main
. See this haxe#7683 issue for more details.
Does two dashes '--' have to be replaced by '-' in HXML file?
No
I think it would be a great idea to clarify that using '--run \
CMD is as expected: --run Main arg1 arg2 arg3
HXML arguments should be written at new lines:
--run RunTests
arg1
arg2
arg3
I could not find any resources on it and it might not obvious for a lot of people.
Can you use definitions (--define <name>=<val>
) inside of HXML? If yes, how? Do you write something like --cpp Build/$PLATFORM/cpp
? Thank you!
HXML - Haxe - The Cross-platform Toolkit
Haxe is an open source toolkit based on a modern, high level, strictly typed programming language.
https://haxe.org/manual/compiler-usage-hxml.html