Michael Daum
Michael Daum

Reputation: 830

How to get nmake to push through errors ( behaviour of make -k)

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.

Upvotes: 1

Views: 231

Answers (1)

rubenvb
rubenvb

Reputation: 76721

GNU make's -k option also bails out if it gets too many errors, which may confuse users, maybe that's why nmake does not support it.

Try nmake /I just like make -i

Upvotes: 2

Related Questions