tags:

views:

21

answers:

1

I'm using cmake to generate an nmake build system using the "NMake Makefiles" generator. When I compile, even if I specify "nmake /K", the build stops after the first .cpp file which had an error. I understand that it should not compile targets who have a failed dependency, but several independent source files should be handleable in this way.

+1  A: 

GNU make's -k option also bails out if it gets too many errors.

Try nmake /I just like make -i

rubenvb
The docs say that ignores all exit codes. The /K behaviour I'm seeing is that it *always* quits after the first file with errors. Never tries a second.
Michael Daum