• Brad King's avatar
    Require CMAKE_<LANG>_COMPILER to be found as a full path · 3e04946f
    Brad King authored
    All generators now support detection of the full path to the compiler, so
    require it to be so.  This will allow CMake<LANG>Information.cmake and
    other logic to assume the full path to the compiler tool is available.
    
    The Makefile generators already rejected CMAKE_<LANG>_COMPILER values
    that did not name an existing compiler.  Extend this error message to
    all generators, make it occur as early as possible, and improve the
    message with advice about how to set the compiler.  If the full path to
    the compiler is not known, finish enabling languages with a fatal error
    so configuration does not continue.
    
    For now, allow the RC language compiler to not be a full path.  Later we
    will need to detect the full path to "rc" under the VS IDE.
    
    Add a RunCMake.CompilerNotFound test to cover failure cases.
    Fix the RunCMake.CompilerChange test EmptyCompiler case to work
    when configuration does not continue past enable_language.
    3e04946f
Name
Last commit
Last update
..
CMP0004 Loading commit data...
CMP0019 Loading commit data...
CMP0022 Loading commit data...
CMP0026 Loading commit data...
CMP0027 Loading commit data...
CMP0028 Loading commit data...
CTest Loading commit data...
CheckModules Loading commit data...
CompatibleInterface Loading commit data...
CompilerChange Loading commit data...
CompilerNotFound Loading commit data...
Configure Loading commit data...
DisallowedCommands Loading commit data...
ExportWithoutLanguage Loading commit data...
ExternalData Loading commit data...
FPHSA Loading commit data...
File_Generate Loading commit data...
GeneratorExpression Loading commit data...
GeneratorToolset Loading commit data...
IncompatibleQt Loading commit data...
Languages Loading commit data...
ObjectLibrary Loading commit data...
ObsoleteQtMacros Loading commit data...
PositionIndependentCode Loading commit data...
SolutionGlobalSections Loading commit data...
Syntax Loading commit data...
TargetPolicies Loading commit data...
TargetPropertyGeneratorExpressions Loading commit data...
VisibilityPreset Loading commit data...
add_dependencies Loading commit data...
alias_targets Loading commit data...
build_command Loading commit data...
find_package Loading commit data...
get_filename_component Loading commit data...
if Loading commit data...
include Loading commit data...
include_directories Loading commit data...
include_external_msproject Loading commit data...
interface_library Loading commit data...
list Loading commit data...
message Loading commit data...
string Loading commit data...
target_link_libraries Loading commit data...
try_compile Loading commit data...
variable_watch Loading commit data...
CMakeLists.txt Loading commit data...
RunCMake.cmake Loading commit data...