[CMake] COMPILE_FLAGS_<CONFIG>

Steven Wilson steven.wesley.wilson at gmail.com
Mon Oct 19 20:11:45 EDT 2009


---------- Forwarded message ----------
From: Steven Wilson <steven.wesley.wilson at gmail.com>
Date: Mon, Oct 19, 2009 at 6:11 PM
Subject: Re: [CMake] COMPILE_FLAGS_<CONFIG>
To: Tyler Roscoe <tyler at cryptio.net>


Yes, but CMAKE_CXX_FLAGS_<CONFIG> and CMAKE_C_FLAGS_<CONFIG> are global in
scope.   I want to be able to make changes to the compilation flags at the
target level based on the current configuration.


On Mon, Oct 19, 2009 at 4:48 PM, Tyler Roscoe <tyler at cryptio.net> wrote:

> On Mon, Oct 19, 2009 at 04:06:29PM -0600, Steven Wilson wrote:
> > It appears that CMake does not support a COMPILE_FLAGS_<CONFIG> target
> > property.    This kind of property would be incredibly useful.   Is there
> > some reason it does not exist?
>
> Are you aware of CMAKE_CXX_FLAGS_<CONFIG>?
>
> tyler
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20091019/e7e2871f/attachment.htm>


More information about the CMake mailing list