[CMake] Re: function and raise_scope commands (+ unset bug)

Sebastien BARRE sebastien.barre at kitware.com
Mon Feb 18 10:44:10 EST 2008


At 2/18/2008 10:10 AM, Ken Martin wrote:
> >
> > FUNCTION(SET_VAR2 varname)
> >    SET_VAR1(${varname})
> > ENDFUNCTION(SET_VAR2)
>
>And you should live with that. And like it dang it! :)

I'm linking it but I'm kinda surprised you wouldn't go for something 
beautiful *and* eternally classic like a new marker:

FUNCTION(SET_VAR2 §#%{varname}%#§)
     SET_VAR1(${varname})
ENDFUNCTION(SET_VAR2)


Awww. 




More information about the CMake mailing list