Find targets in INTERFACE_COMPILE_OPTIONS when exporting for try_compile.

This was missing from commit 80ca9c4b (Add COMPILE_OPTIONS target
property., 2013-05-16).
Use a preprocessor loop to manage the valid transitive properties.

Hopefully this will prevent regressions when adding further transitive
properties in the future.
Generate INTERFACE_COMPILE_OPTIONS on export.

This was missing from commit 80ca9c4b (Add COMPILE_OPTIONS target
property., 2013-05-16).
Merge topic 'export-COMPILE_OPTIONS-property' into next

77ff352 Generate INTERFACE_COMPILE_OPTIONS on export.
8a3b5be Find targets in INTERFACE_COMPILE_OPTIONS when exporting for try_compile.
Merge topic 'transitive-property-PP-FOR_EACH' into next

0d8db25 Use a preprocessor loop to manage the valid transitive properties.