<div dir="ltr">I have faced an issue with Debug and Release builds. Reading the Andreas' reply made me to rethink and modify my cmake files. Reading the VTK cmakefile, I have seen an entry like this in it<br><br># Set a default build type if none was specified<br>
if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)<br> message(STATUS "Setting build type to 'Debug' as none was specified.")<br> set(CMAKE_BUILD_TYPE Debug CACHE STRING "Choose the type of build." FORCE)<br>
#Set the possible values of build type for cmake-gui<br> set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS "Debug" "Release" "MinSizeRel" "RelWithDebInfo")<br>endif()<br><br>
<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, May 2, 2013 at 9:04 PM, Stephen Kelly <span dir="ltr"><<a href="mailto:steveire@gmail.com" target="_blank">steveire@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">Lloyd wrote:<br>
<br>
> Hi,<br>
><br>
> I am studying to compile an application using CMake in Cygwin. I am<br>
> installing a file using the install command based on the value of<br>
> CONFIGURATIONS variable.<br>
><br>
> May I know the default configuration (debug, release) in cygwin<br>
><br>
> I get Debug folders in the build directory when I build the same project<br>
> with visual studio, but in the cygwin build directory, no Debug or Release<br>
> folders are created!<br>
<br>
</div>I haven't tried, and I don't know anything about cygwin, but I'm reminded of<br>
<br>
<a href="http://public.kitware.com/Bug/view.php?id=12301" target="_blank">http://public.kitware.com/Bug/view.php?id=12301</a><br>
<br>
Is it similar?<br>
<br>
Thanks,<br>
<br>
Steve.<br>
<br>
<br>
--<br>
<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</blockquote></div><br></div>