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")

Re: [CMake] Relink to shared libs

2012-07-20 Thread Andreas Naumann
If you are using the Makefile system, then the libraries are newer than your tests, so your tests seems to need an update. And sometimes programs need relinking, where should the build system now, if you really need the relinking? Am 20.07.2012 14:08, schrieb Leif Walsh: Why, if I make a sm

[CMake] Relink to shared libs

2012-07-20 Thread Leif Walsh
Why, if I make a small change to my shared library, does cmake relink all of my tests to it? It's a shared library, isn't the point that it doesn't need relinking? Seems like a big waste of time. Can I suppress this in any way? Sent from my iPhone -- Powered by www.kitware.com Visit other Kit

[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)