Unfortunately this doesn't work, or I'm doing something wrong - I used
set (CMAKE_C_FLAGS_Debug "${CMAKE_C_FLAGS_Debug}  -Wfoo")

Any other hints?

Cheers,
Shmul

On Mon, May 4, 2009 at 6:23 PM, Tyler Roscoe <[email protected]> wrote:

> On Mon, May 04, 2009 at 03:48:51PM +0300, Shmulik Regev wrote:
> > I'm using cmake to generate xcode project files. What is the recommended
> way
> > of controlling the compilation flags and the warnings settings in this
> > scenario? Currently I'm using "set_target_properties" but I'm not sure
> this
> > is the cmake-way of doing it.
>
> I'm not familiar with xcode but can't you just use e.g.
> CMAKE_C_FLAGS_Debug?
>
> 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