This PR:
- drops tinkering with the
COMPILE_OPTIONSdirectory property intry_add_compile_option()and renames it totry_append_cflags() - copies related comments from
configure.ac
This PR:
COMPILE_OPTIONS directory property in try_add_compile_option() and renames it to try_append_cflags()configure.acACK 93f2ba0a4f7e576441eb5feb17e4cb3d178d37a3
Rebased.
This change drops tinkering with the `COMPILE_OPTIONS` directory
property. Also `try_add_compile_option()` can handle a list of flags
now, if they are required to be checked simultaneously.
An explanatory comments have been added as well.
Actually, `try_append_cflags()` can handle a list of flags, and the new
name is similar to the one used in `configure.ac`.