Thanks! it works.
I've made some custom --set parameters to exporter in microcode's
build.xml such as
"--set ${prop1}" parameter
and then in my build.properties project file do
"prop1=DEBUG"
regards,
Jim
2006/11/9, Szasz Pal <sp...@sp...>:
> I think you can edit the build.xml file and add some extra options for
> the exporter. For example if you add the option '--set DEBUG=1' then it
> will be defined in every source file (actually it will be like a
> property, ie. I think you need to use it as $DEBUG)
>
> Jim Walt wrote:
> > Hi!
> >
> > How can I use my own-defined properties?
> > I want to define "DEBUG" property and use it with preprocessor, but i
> > cant get where to put it.
> >
> > e.g.
> > Canvas.java
> >
> > //#ifdef DEBUG
> > render_debug();
> > //#endif
> > I want to define it global. Putting "//#define DEBUG" in every source
> > header is inconvenient.
> >
> >
> > best regards,
> > Jim
> >
|