On 2011-01-05 16:43-0800 Ekaterina Sanina wrote:

Hi,

I was wondering if it's possible to ignore errors and continue the build with 
cmake (for example if one wants to find out
how many failures the project has). Is there option similar to -i ( 
--ignore-errors) or -k (--keep-going) option of GNU
make?
I scanned the documentation and can't find any relevant option.  -i option 
doing something else (runs in wizard mode) and
-k option is ignored. You help is greatly appreciated.

I am not sure, but you may be confusing cmake with make.  At least for
the default "Unix Makefiles" generator on Linux systems, cmake
configures a bunch of (GNU) Makefiles.  You then run those with the
ordinary "make" command where you have access to the ordinary make -k
option.

My experience is cmake often tries to continue after an error occurs, but
almost always it is that first error (say caused by some screwup in a
CMakeLists.txt file) that is the most important one so ordinarily
I ignored the attempt to continue if it occurs.

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of
Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__________________________

Linux-powered Science
__________________________
_______________________________________________
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