3

My Haxe build has several targets and I have to manually c/p changes to each target. Can .hxml files handle variables?

Jeff Ward
  • 16,563
  • 6
  • 48
  • 57
Indolering
  • 3,058
  • 30
  • 45

1 Answers1

1

No, but you can reduce duplication with --each and --next:

-main Example
-lib examplelib

--each
-neko bin/example.n

--next
-java bin/java

--next
-cpp bin/cpp32
-D HXCPP_M32

--next
-cpp bin/cpp64
-D HXCPP_M64
Jonas Malaco
  • 1,557
  • 9
  • 18