I feel a little stupid right now. After recently converting a few smaller projects to use CMake, I decided to also get rid of a few \"Platform_Config.h\" files. These files
In case you want to set defines per target: Since 2.8.11 you can use target_compile_definitions.
In earlier versions you probably don't want to use set_target_properties
as is, since it overwrites any defines you set previously. Call get_target_property
first instead, then merge with previous values. See add_target_definitions
here.