[CMake] xcode project generation - controlling the compilation/warning flags

Tyler Roscoe tyler at cryptio.net
Mon May 4 11:23:34 EDT 2009


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


More information about the CMake mailing list