On 9/11/2012 7:17 PM, Robert Dailey wrote:
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?
With the makefiles you can just cd into the directory and type nmake or make, and it will build those targets (and ones they depend on).

-Bill


--
Bill Hoffman
Kitware, Inc.
28 Corporate Drive
Clifton Park, NY 12065
[email protected]
http://www.kitware.com
518 881-4905 (Direct)
518 371-3971 x105
Fax (518) 371-4573
--

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