COMPILE_LANG_AND_ID-add_executable-stderr.txt 475 B

1234567891011
  1. CMake Error at COMPILE_LANG_AND_ID-add_executable.cmake:1 \(add_executable\):
  2. Error evaluating generator expression:
  3. \$<COMPILE_LANG_AND_ID:C,MSVC>
  4. \$<COMPILE_LANG_AND_ID:lang,id> may only be used with binary targets to
  5. specify include directories, compile definitions, and compile options. It
  6. may not be used with the add_custom_command, add_custom_target, or
  7. file\(GENERATE\) commands.
  8. Call Stack \(most recent call first\):
  9. CMakeLists.txt:3 \(include\)