[CMake] Configuration specific COMPILE_FLAGS?

Stephen Kelly steveire at gmail.com
Fri Oct 11 07:43:08 EDT 2013


Giordano Khouri wrote:

> I'm surprised to see that there's no configuration specific COMPILE_FLAGS.
> Please correct me if I'm wrong.
> 

Correct, but not the whole story. When you upgrade to CMake 2.8.12 you can 
use the COMPILE_OPTIONS target property.

 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=3507d5a

Thanks,

Steve.




More information about the CMake mailing list