Re: [CMake] Need to prepend compiler with static analysis tool

2012-05-24 Thread Bill Hoffman
On 5/23/2012 5:55 PM, Oliver Smith wrote: On 5/23/2012 4:45 PM, jrosensw wrote: Hi Alexander, I tried this already. However I'm not sure what a clean build tree means. Maybe thats my problems. All I did was this: CXX=path/insurepath/g++ cmake . But when I compiled I did not see a change. How

[CMake] Need to prepend compiler with static analysis tool

2012-05-23 Thread jrosensw
Hey all, I'm trying to integrate insure++ with my cmake workspace. The way insure works is that you prepend the compiler with the insure executable. For example /usr/bin/insure /usr/bin/g++ -o test test.cpp. I've tried to overrid CMAKE_CXX_COMPILER with these two executables, but it doesn't

Re: [CMake] Need to prepend compiler with static analysis tool

2012-05-23 Thread Alexander Neundorf
On Wednesday 23 May 2012, jrosensw wrote: Hey all, I'm trying to integrate insure++ with my cmake workspace. The way insure works is that you prepend the compiler with the insure executable. For example /usr/bin/insure /usr/bin/g++ -o test test.cpp. I've tried to overrid

Re: [CMake] Need to prepend compiler with static analysis tool

2012-05-23 Thread jrosensw
Hi Alexander, I tried this already. However I'm not sure what a clean build tree means. Maybe thats my problems. All I did was this: CXX=path/insure path/g++ cmake . But when I compiled I did not see a change. How do I get my tree to a clean state? Other than running make clean which

Re: [CMake] Need to prepend compiler with static analysis tool

2012-05-23 Thread Oliver Smith
On 5/23/2012 4:45 PM, jrosensw wrote: Hi Alexander, I tried this already. However I'm not sure what a clean build tree means. Maybe thats my problems. All I did was this: CXX=path/insurepath/g++ cmake . But when I compiled I did not see a change. How do I get my tree to a clean

Re: [CMake] Need to prepend compiler with static analysis tool

2012-05-23 Thread jrosensw
Thanks Oliver! -- View this message in context: http://cmake.3232098.n2.nabble.com/Need-to-prepend-compiler-with-static-analysis-tool-tp7574176p7574256.html Sent from the CMake mailing list archive at Nabble.com. -- Powered by www.kitware.com Visit other Kitware open-source projects at

Re: [CMake] Need to prepend compiler with static analysis tool

2012-05-23 Thread Eric Noulard
2012/5/23 Oliver Smith osm...@playnet.com: On 5/23/2012 4:45 PM, jrosensw wrote: Hi Alexander,    I tried this already.  However I'm not sure what a clean build tree means.  Maybe thats my problems.  All I did was this: CXX=path/insurepath/g++ cmake .    But when I compiled I did not see