[CMake] Re: build types

Andreas Pakulat apaku at gmx.de
Mon Sep 24 01:50:12 EDT 2007


On 24.09.07 04:18:22, Christian Buhtz wrote:
> Andreas Pakulat schrieb:
> >It works the same way as other make tools, just run "mingw32-make" in
> >the build directory after having run cmake.
> 
> So I was right to say that I have to generate a makefile for each buildtype? 
> Not with the names makefile_release.gcc, etc but as Release/makefile.gcc, 
> Debug/makefile.gcc, xx_yy/makefile.gcc, ...?

You don't specify the Makefile-names, CMake will always generate a
xy/Makefile so you don't have to use the -f parameter for
(mingw32-|n|gnu-|...)make. Other than that, yes you're going to generate
a builddir for each build type (a builddir usually contains more than
just 1 Makefile)

Andreas

-- 
You may be recognized soon.  Hide.


More information about the CMake mailing list