[CMake] Need to prepend compiler with static analysis tool

jrosensw anoneironaut at hotmail.com
Wed May 23 17:06:49 EDT 2012


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 seem
like CMAKE likes this way.  I've also tried overriding CXX before running
"cmake" with this.  

   Can someone please tell me how to make this work?  Seems like it should
be simple enough, but I'm not finding the answer :-).

Thanks!

-JD

--
View this message in context: http://cmake.3232098.n2.nabble.com/Need-to-prepend-compiler-with-static-analysis-tool-tp7574176.html
Sent from the CMake mailing list archive at Nabble.com.


More information about the CMake mailing list