Using CMake 3.8.1 on Windows 7 SP1.
The following cmake expression will produce an error.
"CMake error: Error evaluating generator expression:
$<CXX_COMPILER_ID> may only be used with binary targets. It may not be used with add_custom_command
Tried using "GNU" instead of "MSVC" but did not help.
Tried using "PROGRAMS" instead of "FILES" but did not help.
What does binary target mean in this context?
Why does this fail?