Hi,

On Sat, Apr 27, 2013 at 8:06 AM, Lloyd <[email protected]> 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
--

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