Re: [CMake] baffled by function string value set up

2012-07-20 Thread David Cole
On Fri, Jul 20, 2012 at 9:19 AM, Rolf Eike Beer wrote: > Am 20.07.2012 13:35, schrieb hce: > >> Hi, >> >> I am completely baffled by following results to get string values from a >> function, please enlighten me what was wrong in following simplified >> function? >> >> function(GetParameterDebug o

Re: [CMake] baffled by function string value set up

2012-07-20 Thread Rolf Eike Beer
Am 20.07.2012 13:35, schrieb hce: Hi, I am completely baffled by following results to get string values from a function, please enlighten me what was wrong in following simplified function? function(GetParameterDebug oa ob oc od) set(a "sa") set(b "sb") set(c "sc") set(d "sd")

[CMake] baffled by function string value set up

2012-07-20 Thread hce
Hi, I am completely baffled by following results to get string values from a function, please enlighten me what was wrong in following simplified function? function(GetParameterDebug oa ob oc od) set(a "sa") set(b "sb") set(c "sc") set(d "sd") set(${oa} ${a} PARENT_SCOPE)