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 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 :-).

Something like the following shoduld work:
$ CXX="/usr/bin/insure /usr/bin/g++" cmake ..
(on a fresh build tree)

Alex
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to