COMPILE_FLAGSΒΆ
Additional flags to use when compiling this target's sources.
The COMPILE_FLAGS
property sets additional compiler flags used to
build sources within the target. Use COMPILE_DEFINITIONS
to pass additional preprocessor definitions.
Note
This property has been superseded by the COMPILE_OPTIONS
property.
Alternatively, you can also use the target_compile_options()
command
instead.