[CMake] Multiple generators on the same library

Filipe Sousa natros at gmail.com
Wed Apr 11 16:14:12 EDT 2007


Teodor Calin Hanchevici wrote:
> This is the problem,
> I want to be able to generate both Nmake and visual project files
> without removing any files.
> what I want is to be able to run something like
> cmake -G"Nmake makefiles" -D<DESTINATION=nmakefiles>
> cmake -G"Visual Studio 8 2005" -D<DESTINATION=vc8files>
> 
> calin

You can't use different generators running in-source build. The solution
is out-of-source builds, one for each generator.

http://www.cmake.org/Wiki/CMake_FAQ#Out-of-source_build_trees

Filipe Sousa


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : http://public.kitware.com/pipermail/cmake/attachments/20070411/6c1ac081/signature.pgp


More information about the CMake mailing list