On Fri, Mar 27, 2009 at 03:39:14PM -0600, James Bigler wrote:
> On Fri, Mar 27, 2009 at 1:50 PM, Tyler Roscoe <[email protected]> wrote:
> > On Fri, Mar 27, 2009 at 12:42:27PM -0700, Nicolas Slythe (Intern) wrote:
> >> Is It possile to add a new configuration in visualstudio project
> >> like Release, Debug
> >
> > http://www.cmake.org/Wiki/CMake_FAQ#How_can_I_extend_the_build_modes_with_a_custom_made_one_.3F
> 
> Well, according to that wiki entry it only works for gcc:
>    "Notes: this will only work with gcc"

The rest of that sentence is "(since the flags would need to be declined
with the possible compilers)". The note is pointing out that flags like
"-Wl,--warn-unresolved-symbols,--warn-once" are specific to gcc and that
other compilers will need to be told how to warn on unresolved symbols
with different flags. 

IOW, the *strategy* laid out in the FAQ is valid for all platforms but
the sample *implementation* will only work for gcc (or compilers that
understand gcc's compiler flags).

hth,
tyler
_______________________________________________
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