[CMake] Need to prepend compiler with static analysis tool

Eric Noulard eric.noulard at gmail.com
Wed May 23 18:30:55 EDT 2012


2012/5/23 Oliver Smith <osmith at 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>/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 I did do.
>>
> rm -rf CMakeCache* CMakeFiles*

and you should build out-of-source
http://www.cmake.org/Wiki/CMake_FAQ#What_is_an_.22out-of-source.22_build.3F

this makes the clean-up as easy as

rm -rf build-tree

-- 
Erk
Le gouvernement représentatif n'est pas la démocratie --
http://www.le-message.org


More information about the CMake mailing list