Discussion:
Setting an option
(too old to reply)
Jeremy Cowgar
2009-09-12 23:58:00 UTC
Permalink
I have:

<option name="MANAGED_MEMORY">
<values>no,yes</values>
<values-description>No,Yes</values-description>
</option>

<set var="USE_MANAGED_MEMORY"
cond="MANAGED_MEMORY=='yes'">-DEU_MANAGED_MEMORY</set>

Later:

<action...>
<command>
.. $(USE_MANAGED_MEMORY)

I was expecting that USE_MANAGED_MEMORY would be set to "-DEU_MANAGED_MEMORY"
if I called, say, "wmake MANAGED_MEMORY=yes" but I don't even see how this
would be in the Makefile and of course, it's not working.

What am I doing wrong for these types of values?

Jeremy
Vaclav Slavik
2009-09-13 13:08:13 UTC
Permalink
Post by Jeremy Cowgar
What am I doing wrong
Not reporting a problem in a complete, detailed and reproducible way. At
first look, I don't see anything wrong.

Vaclav

Loading...