diff options
author | Brad King <brad.king@kitware.com> | 2017-11-17 19:31:07 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-11-17 19:31:07 (GMT) |
commit | 2b7d59f3109483bfa45dc41e2a2f6a2f82addfec (patch) | |
tree | 2bd889fd9381b925fc4609cabec402ac7f7cfac6 /Tests/RunCMake/COMPILE_LANGUAGE-genex | |
parent | 0f6f7c8ab1979b89c4400ebab39532be4bc269fb (diff) | |
download | CMake-2b7d59f3109483bfa45dc41e2a2f6a2f82addfec.zip CMake-2b7d59f3109483bfa45dc41e2a2f6a2f82addfec.tar.gz CMake-2b7d59f3109483bfa45dc41e2a2f6a2f82addfec.tar.bz2 |
Genex: Enable COMPILE_LANGUAGE for file(GENERATE) with Visual Studio
Issue: #17435
Diffstat (limited to 'Tests/RunCMake/COMPILE_LANGUAGE-genex')
3 files changed, 6 insertions, 3 deletions
diff --git a/Tests/RunCMake/COMPILE_LANGUAGE-genex/CompileDefinitions-stderr-VS.txt b/Tests/RunCMake/COMPILE_LANGUAGE-genex/CompileDefinitions-stderr-VS.txt index 73b66ac..830d5f3 100644 --- a/Tests/RunCMake/COMPILE_LANGUAGE-genex/CompileDefinitions-stderr-VS.txt +++ b/Tests/RunCMake/COMPILE_LANGUAGE-genex/CompileDefinitions-stderr-VS.txt @@ -3,6 +3,7 @@ CMake Error at CompileDefinitions.cmake:5 \(target_compile_definitions\): \$<COMPILE_LANGUAGE:CXX> - \$<COMPILE_LANGUAGE:...> may not be used with Visual Studio generators. + \$<COMPILE_LANGUAGE:...> may only be used for file\(GENERATE\) with the Visual + Studio generator. Call Stack \(most recent call first\): CMakeLists.txt:3 \(include\) diff --git a/Tests/RunCMake/COMPILE_LANGUAGE-genex/CompileOptions-stderr-VS.txt b/Tests/RunCMake/COMPILE_LANGUAGE-genex/CompileOptions-stderr-VS.txt index e9e8e9f..66b45c0 100644 --- a/Tests/RunCMake/COMPILE_LANGUAGE-genex/CompileOptions-stderr-VS.txt +++ b/Tests/RunCMake/COMPILE_LANGUAGE-genex/CompileOptions-stderr-VS.txt @@ -3,6 +3,7 @@ CMake Error at CompileOptions.cmake:5 \(target_compile_options\): \$<COMPILE_LANGUAGE:CXX> - \$<COMPILE_LANGUAGE:...> may not be used with Visual Studio generators. + \$<COMPILE_LANGUAGE:...> may only be used for file\(GENERATE\) with the Visual + Studio generator. Call Stack \(most recent call first\): CMakeLists.txt:3 \(include\) diff --git a/Tests/RunCMake/COMPILE_LANGUAGE-genex/IncludeDirectories-stderr-VS.txt b/Tests/RunCMake/COMPILE_LANGUAGE-genex/IncludeDirectories-stderr-VS.txt index ec15068..06900bc 100644 --- a/Tests/RunCMake/COMPILE_LANGUAGE-genex/IncludeDirectories-stderr-VS.txt +++ b/Tests/RunCMake/COMPILE_LANGUAGE-genex/IncludeDirectories-stderr-VS.txt @@ -3,6 +3,7 @@ CMake Error at IncludeDirectories.cmake:5 \(target_include_directories\): \$<COMPILE_LANGUAGE:CXX> - \$<COMPILE_LANGUAGE:...> may not be used with Visual Studio generators. + \$<COMPILE_LANGUAGE:...> may only be used for file\(GENERATE\) with the Visual + Studio generator. Call Stack \(most recent call first\): CMakeLists.txt:3 \(include\) |