[CMake] Recoverable build errors?

Martin Apel martin.apel at simpack.de
Tue Sep 2 08:59:29 EDT 2008


Convey, Christian J CIV NUWC NWPT wrote:
>
> I've got a top-level CMake project with numerous executable and
> library sub-projects.  I'd like to have CMake generate Makefiles such
> that if one of those subprojects fails the build process, the Makefile
> still attempts to build all other subprojects that aren't dependent on
> any of those which failed to build.
>
> Is this possible?
>
> Thanks,
> Christian
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
This is not a CMake issue. You should simply invoke 'make -k', so make
keeps on going upon failures. You could even call 'make -i', which will
also try to build dependent targets, which cannot succeed.

Regards,

Martin

____________
Virus checked by G DATA AntiVirus
Version: AVF 19.18 from 02.09.2008




More information about the CMake mailing list