Merge topic 'hint-about-missing-extension-on-windows'

186673ba0b cmGlobalGenerator: hint about missing extensions on Windows

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !8914
This commit is contained in:
Brad King
2023-10-26 13:42:19 +00:00
committed by Kitware Robot
10 changed files with 29 additions and 13 deletions

View File

@@ -874,7 +874,11 @@ void cmGlobalGenerator::EnableLanguage(
noCompiler <<
"The " << compilerName << ":\n"
" " << *compilerFile << "\n"
"is not a full path and was not found in the PATH.\n"
"is not a full path and was not found in the PATH."
#ifdef _WIN32
" Perhaps the extension is missing?"
#endif
"\n"
;
/* clang-format on */
} else if (!cmSystemTools::FileExists(*compilerFile)) {

View File

@@ -3,7 +3,8 @@ CMake Error at BadCompilerC.cmake:2 \(enable_language\):
no-C-compiler
is not a full path and was not found in the PATH.
is not a full path and was not found in the PATH.( Perhaps the extension is
missing\?)?
To use the JOM generator with Visual C\+\+, cmake must be run from a shell
that can use the compiler cl from the command line. This environment is

View File

@@ -3,7 +3,8 @@ CMake Error at BadCompilerC.cmake:2 \(enable_language\):
no-C-compiler
is not a full path and was not found in the PATH.
is not a full path and was not found in the PATH.( Perhaps the extension is
missing\?)?
To use the NMake generator with Visual C\+\+, cmake must be run from a shell
that can use the compiler cl from the command line. This environment is

View File

@@ -3,7 +3,8 @@ CMake Error at BadCompilerC.cmake:2 \(enable_language\):
no-C-compiler
is not a full path and was not found in the PATH.
is not a full path and was not found in the PATH.( Perhaps the extension is
missing\?)?
Tell CMake where to find the compiler by setting either the environment
variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to

View File

@@ -3,7 +3,8 @@ CMake Error at BadCompilerCXX.cmake:2 \(enable_language\):
no-CXX-compiler
is not a full path and was not found in the PATH.
is not a full path and was not found in the PATH.( Perhaps the extension is
missing\?)?
To use the JOM generator with Visual C\+\+, cmake must be run from a shell
that can use the compiler cl from the command line. This environment is

View File

@@ -3,7 +3,8 @@ CMake Error at BadCompilerCXX.cmake:2 \(enable_language\):
no-CXX-compiler
is not a full path and was not found in the PATH.
is not a full path and was not found in the PATH.( Perhaps the extension is
missing\?)?
To use the NMake generator with Visual C\+\+, cmake must be run from a shell
that can use the compiler cl from the command line. This environment is

View File

@@ -3,7 +3,8 @@ CMake Error at BadCompilerCXX.cmake:2 \(enable_language\):
no-CXX-compiler
is not a full path and was not found in the PATH.
is not a full path and was not found in the PATH.( Perhaps the extension is
missing\?)?
Tell CMake where to find the compiler by setting either the environment
variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path

View File

@@ -3,7 +3,8 @@ CMake Error at BadCompilerCandCXX.cmake:3 \(project\):
no-C-compiler
is not a full path and was not found in the PATH.
is not a full path and was not found in the PATH.( Perhaps the extension is
missing\?)?
To use the JOM generator with Visual C\+\+, cmake must be run from a shell
that can use the compiler cl from the command line. This environment is
@@ -21,7 +22,8 @@ CMake Error at BadCompilerCandCXX.cmake:3 \(project\):
no-CXX-compiler
is not a full path and was not found in the PATH.
is not a full path and was not found in the PATH.( Perhaps the extension is
missing\?)?
To use the JOM generator with Visual C\+\+, cmake must be run from a shell
that can use the compiler cl from the command line. This environment is

View File

@@ -3,7 +3,8 @@ CMake Error at BadCompilerCandCXX.cmake:3 \(project\):
no-C-compiler
is not a full path and was not found in the PATH.
is not a full path and was not found in the PATH.( Perhaps the extension is
missing\?)?
To use the NMake generator with Visual C\+\+, cmake must be run from a shell
that can use the compiler cl from the command line. This environment is
@@ -21,7 +22,8 @@ CMake Error at BadCompilerCandCXX.cmake:3 \(project\):
no-CXX-compiler
is not a full path and was not found in the PATH.
is not a full path and was not found in the PATH.( Perhaps the extension is
missing\?)?
To use the NMake generator with Visual C\+\+, cmake must be run from a shell
that can use the compiler cl from the command line. This environment is

View File

@@ -3,7 +3,8 @@ CMake Error at BadCompilerCandCXX.cmake:3 \(project\):
no-C-compiler
is not a full path and was not found in the PATH.
is not a full path and was not found in the PATH.( Perhaps the extension is
missing\?)?
Tell CMake where to find the compiler by setting either the environment
variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
@@ -16,7 +17,8 @@ CMake Error at BadCompilerCandCXX.cmake:3 \(project\):
no-CXX-compiler
is not a full path and was not found in the PATH.
is not a full path and was not found in the PATH.( Perhaps the extension is
missing\?)?
Tell CMake where to find the compiler by setting either the environment
variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path