[CMake] making to compile regardless of compile errors?

Bill Lorensen bill.lorensen at gmail.com
Mon Oct 5 13:05:21 EDT 2009


Pick your favorite...

make -i
      -i, --ignore-errors
	    Ignore all errors in commands executed to remake files.

make -k
      -k, --keep-going
	    Continue  as  much as  possible after an error.  While the target
	    that failed, and those that depend on it, cannot  be  remade,  the
	    other dependencies of these targets can be processed all the same.


On Mon, Oct 5, 2009 at 12:57 PM, Hendrik Sattler
<post at hendrik-sattler.de> wrote:
> Am Montag 05 Oktober 2009 17:31:54 schrieb Yong Choo:
>> We are in process of porting s/w and We are trying to assess the # of
>> compilation errors that we will be encountering.
>>
>> The problem is that the way our cmake build env is setup, the build
>> stops at the first encounter with an error.
>> We would like to 'keep going' regardless of compiler detects errors or not.
>> This way we can plan the resources that we need to setup (by tabulating
>> the errors).
>
> make -k
>
> (actually the default on emacs' compile command ;) )
>
> HS
> _______________________________________________
> 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
>


More information about the CMake mailing list