[CMake] default CONFIGURATIONS in cygwin
Andreas Pakulat
apaku at gmx.de
Sat Apr 27 03:10:14 EDT 2013
Hi,
On Sat, Apr 27, 2013 at 8:06 AM, Lloyd <lloydkl.tech at gmail.com> wrote:
> Hi,
>
> I am studying to compile an application using CMake in Cygwin. I am
> installing a file using the install command based on the value of
> CONFIGURATIONS variable.
>
> May I know the default configuration (debug, release) in cygwin
>
> I get Debug folders in the build directory when I build the same project
> with visual studio, but in the cygwin build directory, no Debug or Release
> folders are created!
>
> Hoe can solve this?
>
> Is there any option in make to specify the build?
>
You specify the build type using CMAKE_BUILD_TYPE when invoking cmake for
generators that only support 1 type of build, like makefiles. There is no
Debug or Release folder because these generators do not allow to switch
between the build types within a single build directory, you'll have to use
separate build directories for the different types of builds.
Andreas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20130427/d9b6053a/attachment.htm>
More information about the CMake
mailing list