[CMake] project() command and make targets

Robert Dailey rcdailey.lists at gmail.com
Tue Sep 11 19:17:48 EDT 2012


For some reason I was expecting names specified in project() command
to become a custom target that I can invoke with nmake on Windows, and
it would build any projects under it (this is especially useful for
multiple executables, such as maybe a suite of tools. The only other
alternative I see is to invoke nmake for each executable one by one,
or create a new custom target that depends on all of those
executables, and invoke that instead.

Is there a reason why I can't invoke my projects (defined with
project() command) as targets with nmake?


More information about the CMake mailing list