Hi,
2008/7/16 Jesse Corrington <[EMAIL PROTECTED]>:
> [...]
> MACRO( TEST_SET variable, value )
> SET( variable ${value} )
> ENDMACRO()
>
>
> SET( TEST_VAR "testvar" )
> TEST_SET( TEST_VAR "newval" )
> MESSAGE( SEND_ERROR ${TEST_VAR} )
nearly:
MACRO( TEST_SET variable value )
SET(${variab
Is there anyway to have variables passed by reference to a macro so the
original will be updated. I'm pretty sure the answer is no, but maybe I just
don't know the syntax well enough. Here is what I'm trying to do:
MACRO( TEST_SET variable, value )
SET( variable ${value} )
ENDMACRO()
SET( TE