I am asking why CMake doesn't support the following:
set_target_properties(${TARGET} PROPERTIES COMPILE_FLAGS_<CONFIG>
"-fmyflag")
On Tue, Oct 20, 2009 at 10:44 AM, Tyler <[email protected]> wrote:
> Please reply to the list so others can help.
>
> On Mon, Oct 19, 2009 at 06:11:23PM -0600, Steven Wilson wrote:
> > 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.
>
> Ok; just wanted to make sure you knew about them.
>
> Can you use set_source_files_properties() or set_target_properties()
> with the COMPILE_FLAGS property?
>
> 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