weimingtom / nekonme

Automatically exported from code.google.com/p/nekonme
0 stars 0 forks source link

command line "-D" doesn't work #227

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. have conditional #if FOO #else #end in you .hx code.
2. use "haxelib run nme -DFOO build x.nmml flash"

What is the expected behaviour?
the code changes so that the #if FOO code is used.

What do you see instead?
the #else code is used.

What version of the product are you using? On what operating system?
Mac OS X 10.7.3
hxcpp: [2.08.3]
nme: [3.3.0]
Haxe Library Manager 1.03
haXe Compiler 2.08

Please provide any additional information below.

http://www.haxenme.org/index.php?cID=2090&ccm_paging_p=1&time=1334775650#msg4296

Original issue reported on code.google.com by rao...@gmail.com on 18 Apr 2012 at 7:05

GoogleCodeExporter commented 8 years ago
Hi,
NME defines to not translate to haxe defines without explicit intervention - 
see reply in post.

Original comment by gameh...@gmail.com on 19 Apr 2012 at 7:56