On Dec 28, 2007 12:52 PM, Miguel A. Figueroa-Villanueva wrote:
On Dec 28, 2007 11:36 AM, Ken Martin wrote:
1. CMake crashes if I use the same variable name as the argument and
raise the scope later. That is, for the following function:
snip
Specifically
Variable value
1. CMake crashes if I use the same variable name as the argument and
raise the scope later. That is, for the following function:
function(track_find_variable cache_variable is_changed)
raise_scope(${is_changed})
endfunction(track_find_variable)
I can't call it like:
On Dec 28, 2007 11:36 AM, Ken Martin wrote:
1. CMake crashes if I use the same variable name as the argument and
raise the scope later. That is, for the following function:
snip
Specifically
Variable value
is_changed is_changed
set(${is_changed}
On Dec 10, 2007 5:14 PM, Ken Martin wrote:
Thanks for the information. Both these issues I suspect are fairly simple
bugs and will be fixed.
Hello Ken,
I saw that some changes to the function command where applied to cmake
cvs, so I tested these and my report about the current state of things
Thanks for the information. Both these issues I suspect are fairly simple
bugs and will be fixed.
Thanks
Ken
1. CMake crashes if I use the same variable name as the argument and
raise the scope later. That is, for the following function:
function(track_find_variable cache_variable
Miguel A. Figueroa-Villanueva wrote:
On Dec 7, 2007 6:42 PM, Filipe Sousa wrote:
Try the following:
function(foo x)
set(${x} 1) # changed here
raise_scope(${x})
endfunction()
foo(y)
message(STATUS y=${y})
I have this working. What gives me problems is
Ken Martin wrote:
I checked into CVS two new commands; function and raise_scope (well three
commands if you count endfunction)
I'm having troubles with functions, the next example gives me an exception
function(foo x)
set(x 1)
raise_scope(${x})
endfunction()
foo(y)
message(STATUS y=${y})
On Dec 7, 2007 6:42 PM, Filipe Sousa wrote:
Ken Martin wrote:
I checked into CVS two new commands; function and raise_scope (well three
commands if you count endfunction)
I'm having troubles with functions, the next example gives me an exception
function(foo x)
set(x 1)
On Dec 3, 2007 3:07 PM, Ken Martin wrote:
I checked into CVS two new commands; function and raise_scope (well three
commands if you count endfunction)
First of all: THANKS!! Great feature to have!
Now, I have been using it and exploring its functionality and have
come across to things, which
I checked into CVS two new commands; function and raise_scope (well three
commands if you count endfunction)
The function command is very much like the macro command but it creates a
new scope for variables and its arguments are variables not string
replacements. Recall that a cmake macro is like
On Dec 3, 2007 2:07 PM, Ken Martin [EMAIL PROTECTED] wrote:
I checked into CVS two new commands; function and raise_scope (well three
commands if you count endfunction)
This is cool. I wish I could test it, but I can't really do that in
any robust way until it's available in a production
Brandon Van Every wrote:
On Dec 3, 2007 2:07 PM, Ken Martin [EMAIL PROTECTED] wrote:
I checked into CVS two new commands; function and raise_scope (well three
commands if you count endfunction)
This is cool. I wish I could test it, but I can't really do that in
any robust way until it's
12 matches
Mail list logo