Files
CMake/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/add_executable-stderr.txt
T

12 lines
459 B
Plaintext

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