Alexander Neundorf wrote:
This sees the variable is already in the cache, but without meta info and
adds
it using AddCacheDefinition().
After this call, makefile-GetDefinition(FOO) returns an empty string,
before this call it still returns foo.
It's not the empty string in find_program()'s
On Wednesday 03 March 2010, Brad King wrote:
Alexander Neundorf wrote:
This sees the variable is already in the cache, but without meta info and
adds it using AddCacheDefinition().
After this call, makefile-GetDefinition(FOO) returns an empty string,
before this call it still returns foo.
Alexander Neundorf wrote:
On Wednesday 03 March 2010, Brad King wrote:
http://www.cmake.org/Bug/view.php?id=9008
Should I add this testcase to #9008 ?
Yes, please.
-Brad
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
Hi,
attached is a short CMakeLists.txt which shows a strange behaviour of
mark_as_advanced(), find_program() and the cache.
What it does is the following: it sets a variable FOO to foo, then marks it
as advanced (although it is not in the cache), then does a find_program() on
the variable,