• Gregory Mitrano's avatar
    Clang: Fall back to llvm-rc when rc is unavailable · cea253a3
    Gregory Mitrano authored
    This change modifies how CMAKE_RC_COMPILER is configured to improve
    the out-of-box experience for developers using Clang on Windows.
    The previous behavior was to require the user to explicitly specify
    the resource compiler when CMake was called. The new behavior
    is to automatically attempt to locate the MSVC rc binary and use that
    if it's found. If rc is not available, CMake will now fall back to
    Clang's llvm-rc binary.
    
    With this change in place, trivial C/C++ programs can be generated
    with Ninja and Clang on Windows without running into errors about
    a missing resource compiler.
    
    Fixes: #19318
    cea253a3
Name
Last commit
Last update
..
AndroidTestUtilities Loading commit data...
CMakeAddFortranSubdirectory Loading commit data...
CheckIPOSupported Loading commit data...
Compiler Loading commit data...
CompilerId Loading commit data...
FetchContent Loading commit data...
FindCUDA Loading commit data...
FindMPI Loading commit data...
FindPython Loading commit data...
FortranCInterface Loading commit data...
IntelVSImplicitPath Loading commit data...
Internal Loading commit data...
Platform Loading commit data...
UseSWIG Loading commit data...
AddFileDependencies.cmake Loading commit data...
AndroidTestUtilities.cmake Loading commit data...
BasicConfigVersion-AnyNewerVersion.cmake.in Loading commit data...
BasicConfigVersion-ExactVersion.cmake.in Loading commit data...
BasicConfigVersion-SameMajorVersion.cmake.in Loading commit data...
BasicConfigVersion-SameMinorVersion.cmake.in Loading commit data...
BundleUtilities.cmake Loading commit data...
CMake.cmake Loading commit data...
CMakeASM-ATTInformation.cmake Loading commit data...
CMakeASMCompiler.cmake.in Loading commit data...
CMakeASMInformation.cmake Loading commit data...
CMakeASM_MASMInformation.cmake Loading commit data...
CMakeASM_NASMInformation.cmake Loading commit data...
CMakeAddFortranSubdirectory.cmake Loading commit data...
CMakeAddNewLanguage.txt Loading commit data...
CMakeBackwardCompatibilityC.cmake Loading commit data...
CMakeBackwardCompatibilityCXX.cmake Loading commit data...
CMakeBorlandFindMake.cmake Loading commit data...
CMakeBuildSettings.cmake.in Loading commit data...
CMakeCCompiler.cmake.in Loading commit data...
CMakeCCompilerABI.c Loading commit data...
CMakeCCompilerId.c.in Loading commit data...
CMakeCInformation.cmake Loading commit data...
CMakeCSharpCompiler.cmake.in Loading commit data...
CMakeCSharpCompilerId.cs.in Loading commit data...
CMakeCSharpInformation.cmake Loading commit data...
CMakeCUDACompiler.cmake.in Loading commit data...
CMakeCUDACompilerABI.cu Loading commit data...
CMakeCUDACompilerId.cu.in Loading commit data...
CMakeCUDAInformation.cmake Loading commit data...
CMakeCXXCompiler.cmake.in Loading commit data...
CMakeCXXCompilerABI.cpp Loading commit data...
CMakeCXXCompilerId.cpp.in Loading commit data...
CMakeCXXInformation.cmake Loading commit data...
CMakeCheckCompilerFlagCommonPatterns.cmake Loading commit data...
CMakeCommonLanguageInclude.cmake Loading commit data...
CMakeCompilerABI.h Loading commit data...
CMakeCompilerIdDetection.cmake Loading commit data...
CMakeConfigurableFile.in Loading commit data...
CMakeDependentOption.cmake Loading commit data...
CMakeDetermineASM-ATTCompiler.cmake Loading commit data...
CMakeDetermineASMCompiler.cmake Loading commit data...
CMakeDetermineASM_MASMCompiler.cmake Loading commit data...
CMakeDetermineASM_NASMCompiler.cmake Loading commit data...
CMakeDetermineCCompiler.cmake Loading commit data...
CMakeDetermineCSharpCompiler.cmake Loading commit data...
CMakeDetermineCUDACompiler.cmake Loading commit data...
CMakeDetermineCXXCompiler.cmake Loading commit data...
CMakeDetermineCompileFeatures.cmake Loading commit data...
CMakeDetermineCompiler.cmake Loading commit data...
CMakeDetermineCompilerABI.cmake Loading commit data...
CMakeDetermineCompilerId.cmake Loading commit data...
CMakeDetermineFortranCompiler.cmake Loading commit data...
CMakeDetermineJavaCompiler.cmake Loading commit data...
CMakeDetermineRCCompiler.cmake Loading commit data...
CMakeDetermineSwiftCompiler.cmake Loading commit data...
CMakeDetermineSystem.cmake Loading commit data...
CMakeDetermineVSServicePack.cmake Loading commit data...
CMakeExpandImportedTargets.cmake Loading commit data...
CMakeExportBuildSettings.cmake Loading commit data...
CMakeExtraGeneratorDetermineCompilerMacrosAndIncludeDirs.cmake Loading commit data...
CMakeFindBinUtils.cmake Loading commit data...
CMakeFindCodeBlocks.cmake Loading commit data...
CMakeFindDependencyMacro.cmake Loading commit data...
CMakeFindEclipseCDT4.cmake Loading commit data...
CMakeFindFrameworks.cmake Loading commit data...
CMakeFindJavaCommon.cmake Loading commit data...
CMakeFindKate.cmake Loading commit data...
CMakeFindPackageMode.cmake Loading commit data...
CMakeFindSublimeText2.cmake Loading commit data...
CMakeFindWMake.cmake Loading commit data...
CMakeFindXCode.cmake Loading commit data...
CMakeForceCompiler.cmake Loading commit data...
CMakeFortranCompiler.cmake.in Loading commit data...
CMakeFortranCompilerABI.F Loading commit data...
CMakeFortranCompilerId.F.in Loading commit data...
CMakeFortranInformation.cmake Loading commit data...
CMakeGenericSystem.cmake Loading commit data...
CMakeGraphVizOptions.cmake Loading commit data...
CMakeIOSInstallCombined.cmake Loading commit data...
CMakeImportBuildSettings.cmake Loading commit data...
CMakeInitializeConfigs.cmake Loading commit data...
CMakeJOMFindMake.cmake Loading commit data...
CMakeJavaCompiler.cmake.in Loading commit data...
CMakeJavaInformation.cmake Loading commit data...
CMakeLanguageInformation.cmake Loading commit data...
CMakeMSYSFindMake.cmake Loading commit data...
CMakeMinGWFindMake.cmake Loading commit data...
CMakeNMakeFindMake.cmake Loading commit data...
CMakeNinjaFindMake.cmake Loading commit data...
CMakePackageConfigHelpers.cmake Loading commit data...
CMakeParseArguments.cmake Loading commit data...
CMakeParseImplicitIncludeInfo.cmake Loading commit data...
CMakeParseImplicitLinkInfo.cmake Loading commit data...
CMakePlatformId.h.in Loading commit data...
CMakePrintHelpers.cmake Loading commit data...
CMakePrintSystemInformation.cmake Loading commit data...
CMakePushCheckState.cmake Loading commit data...
CMakeRCCompiler.cmake.in Loading commit data...
CMakeRCInformation.cmake Loading commit data...
CMakeSwiftCompiler.cmake.in Loading commit data...
CMakeSwiftInformation.cmake Loading commit data...
CMakeSystem.cmake.in Loading commit data...
CMakeSystemSpecificInformation.cmake Loading commit data...
CMakeSystemSpecificInitialize.cmake Loading commit data...
CMakeTestASM-ATTCompiler.cmake Loading commit data...
CMakeTestASMCompiler.cmake Loading commit data...
CMakeTestASM_MASMCompiler.cmake Loading commit data...
CMakeTestASM_NASMCompiler.cmake Loading commit data...
CMakeTestCCompiler.cmake Loading commit data...
CMakeTestCSharpCompiler.cmake Loading commit data...
CMakeTestCUDACompiler.cmake Loading commit data...
CMakeTestCXXCompiler.cmake Loading commit data...
CMakeTestCompilerCommon.cmake Loading commit data...
CMakeTestFortranCompiler.cmake Loading commit data...
CMakeTestGNU.c Loading commit data...
CMakeTestJavaCompiler.cmake Loading commit data...
CMakeTestRCCompiler.cmake Loading commit data...
CMakeTestSwiftCompiler.cmake Loading commit data...
CMakeUnixFindMake.cmake Loading commit data...
CMakeVerifyManifest.cmake Loading commit data...
CPack.cmake Loading commit data...
CPackComponent.cmake Loading commit data...
CPackIFW.cmake Loading commit data...
CPackIFWConfigureFile.cmake Loading commit data...
CSharpUtilities.cmake Loading commit data...
CTest.cmake Loading commit data...
CTestCoverageCollectGCOV.cmake Loading commit data...
CTestScriptMode.cmake Loading commit data...
CTestTargets.cmake Loading commit data...
CTestUseLaunchers.cmake Loading commit data...
CheckCCompilerFlag.cmake Loading commit data...
CheckCSourceCompiles.cmake Loading commit data...
CheckCSourceRuns.cmake Loading commit data...
CheckCXXCompilerFlag.cmake Loading commit data...
CheckCXXSourceCompiles.cmake Loading commit data...
CheckCXXSourceRuns.cmake Loading commit data...
CheckCXXSymbolExists.cmake Loading commit data...
CheckForPthreads.c Loading commit data...
CheckFortranCompilerFlag.cmake Loading commit data...
CheckFortranFunctionExists.cmake Loading commit data...
CheckFortranSourceCompiles.cmake Loading commit data...
CheckFortranSourceRuns.cmake Loading commit data...
CheckFunctionExists.c Loading commit data...
CheckFunctionExists.cmake Loading commit data...
CheckIPOSupported.cmake Loading commit data...
CheckIncludeFile.c.in Loading commit data...
CheckIncludeFile.cmake Loading commit data...
CheckIncludeFile.cxx.in Loading commit data...
CheckIncludeFileCXX.cmake Loading commit data...
CheckIncludeFiles.cmake Loading commit data...
CheckLanguage.cmake Loading commit data...
CheckLibraryExists.cmake Loading commit data...
CheckLibraryExists.lists.in Loading commit data...
CheckPIESupported.cmake Loading commit data...
CheckPrototypeDefinition.c.in Loading commit data...
CheckPrototypeDefinition.cmake Loading commit data...
CheckSizeOf.cmake Loading commit data...
CheckStructHasMember.cmake Loading commit data...
CheckSymbolExists.cmake Loading commit data...
CheckTypeSize.c.in Loading commit data...
CheckTypeSize.cmake Loading commit data...
CheckTypeSizeMap.cmake.in Loading commit data...
CheckVariableExists.c Loading commit data...
CheckVariableExists.cmake Loading commit data...
Dart.cmake Loading commit data...
DartConfiguration.tcl.in Loading commit data...
DeployQt4.cmake Loading commit data...
Documentation.cmake Loading commit data...
DummyCXXFile.cxx Loading commit data...
ExternalData.cmake Loading commit data...
ExternalData_config.cmake.in Loading commit data...
ExternalProject-download.cmake.in Loading commit data...
ExternalProject-verify.cmake.in Loading commit data...
ExternalProject.cmake Loading commit data...
FLTKCompatibility.cmake Loading commit data...
FeatureSummary.cmake Loading commit data...
FetchContent.cmake Loading commit data...
FindALSA.cmake Loading commit data...
FindASPELL.cmake Loading commit data...
FindAVIFile.cmake Loading commit data...
FindArmadillo.cmake Loading commit data...
FindBISON.cmake Loading commit data...
FindBLAS.cmake Loading commit data...
FindBZip2.cmake Loading commit data...
FindBacktrace.cmake Loading commit data...
FindBoost.cmake Loading commit data...
FindBullet.cmake Loading commit data...
FindCABLE.cmake Loading commit data...
FindCUDA.cmake Loading commit data...
FindCURL.cmake Loading commit data...
FindCVS.cmake Loading commit data...
FindCoin3D.cmake Loading commit data...
FindCups.cmake Loading commit data...
FindCurses.cmake Loading commit data...
FindCxxTest.cmake Loading commit data...
FindCygwin.cmake Loading commit data...
FindDCMTK.cmake Loading commit data...
FindDart.cmake Loading commit data...
FindDevIL.cmake Loading commit data...
FindDoxygen.cmake Loading commit data...
FindEXPAT.cmake Loading commit data...
FindEnvModules.cmake Loading commit data...
FindFLEX.cmake Loading commit data...
FindFLTK.cmake Loading commit data...
FindFLTK2.cmake Loading commit data...
FindFontconfig.cmake Loading commit data...
FindFreetype.cmake Loading commit data...
FindGCCXML.cmake Loading commit data...
FindGDAL.cmake Loading commit data...
FindGIF.cmake Loading commit data...
FindGLEW.cmake Loading commit data...
FindGLU.cmake Loading commit data...
FindGLUT.cmake Loading commit data...
FindGSL.cmake Loading commit data...
FindGTK.cmake Loading commit data...
FindGTK2.cmake Loading commit data...
FindGTest.cmake Loading commit data...
FindGettext.cmake Loading commit data...
FindGit.cmake Loading commit data...
FindGnuTLS.cmake Loading commit data...
FindGnuplot.cmake Loading commit data...
FindHDF5.cmake Loading commit data...
FindHSPELL.cmake Loading commit data...
FindHTMLHelp.cmake Loading commit data...
FindHg.cmake Loading commit data...
FindICU.cmake Loading commit data...
FindIce.cmake Loading commit data...
FindIconv.cmake Loading commit data...
FindIcotool.cmake Loading commit data...
FindImageMagick.cmake Loading commit data...
FindIntl.cmake Loading commit data...
FindJNI.cmake Loading commit data...
FindJPEG.cmake Loading commit data...
FindJasper.cmake Loading commit data...
FindJava.cmake Loading commit data...
FindKDE3.cmake Loading commit data...
FindKDE4.cmake Loading commit data...
FindLAPACK.cmake Loading commit data...
FindLATEX.cmake Loading commit data...
FindLTTngUST.cmake Loading commit data...
FindLibArchive.cmake Loading commit data...
FindLibLZMA.cmake Loading commit data...
FindLibXml2.cmake Loading commit data...
FindLibXslt.cmake Loading commit data...
FindLibinput.cmake Loading commit data...
FindLua.cmake Loading commit data...
FindLua50.cmake Loading commit data...
FindLua51.cmake Loading commit data...
FindMFC.cmake Loading commit data...
FindMPEG.cmake Loading commit data...
FindMPEG2.cmake Loading commit data...
FindMPI.cmake Loading commit data...
FindMatlab.cmake Loading commit data...
FindMotif.cmake Loading commit data...
FindODBC.cmake Loading commit data...
FindOpenACC.cmake Loading commit data...
FindOpenAL.cmake Loading commit data...
FindOpenCL.cmake Loading commit data...
FindOpenGL.cmake Loading commit data...
FindOpenMP.cmake Loading commit data...
FindOpenSSL.cmake Loading commit data...
FindOpenSceneGraph.cmake Loading commit data...
FindOpenThreads.cmake Loading commit data...
FindPHP4.cmake Loading commit data...
FindPNG.cmake Loading commit data...
FindPackageHandleStandardArgs.cmake Loading commit data...
FindPackageMessage.cmake Loading commit data...
FindPatch.cmake Loading commit data...
FindPerl.cmake Loading commit data...
FindPerlLibs.cmake Loading commit data...
FindPhysFS.cmake Loading commit data...
FindPike.cmake Loading commit data...
FindPkgConfig.cmake Loading commit data...
FindPostgreSQL.cmake Loading commit data...
FindProducer.cmake Loading commit data...
FindProtobuf.cmake Loading commit data...
FindPython.cmake Loading commit data...
FindPython2.cmake Loading commit data...
FindPython3.cmake Loading commit data...
FindPythonInterp.cmake Loading commit data...
FindPythonLibs.cmake Loading commit data...
FindQt.cmake Loading commit data...
FindQt3.cmake Loading commit data...
FindQt4.cmake Loading commit data...
FindQuickTime.cmake Loading commit data...
FindRTI.cmake Loading commit data...
FindRuby.cmake Loading commit data...
FindSDL.cmake Loading commit data...
FindSDL_image.cmake Loading commit data...
FindSDL_mixer.cmake Loading commit data...
FindSDL_net.cmake Loading commit data...
FindSDL_sound.cmake Loading commit data...
FindSDL_ttf.cmake Loading commit data...
FindSQLite3.cmake Loading commit data...
FindSWIG.cmake Loading commit data...
FindSelfPackers.cmake Loading commit data...
FindSquish.cmake Loading commit data...
FindSubversion.cmake Loading commit data...
FindTCL.cmake Loading commit data...
FindTIFF.cmake Loading commit data...
FindTclStub.cmake Loading commit data...
FindTclsh.cmake Loading commit data...
FindThreads.cmake Loading commit data...
FindUnixCommands.cmake Loading commit data...
FindVulkan.cmake Loading commit data...
FindWget.cmake Loading commit data...
FindWish.cmake Loading commit data...
FindX11.cmake Loading commit data...
FindXCTest.cmake Loading commit data...
FindXMLRPC.cmake Loading commit data...
FindXalanC.cmake Loading commit data...
FindXercesC.cmake Loading commit data...
FindZLIB.cmake Loading commit data...
Findosg.cmake Loading commit data...
FindosgAnimation.cmake Loading commit data...
FindosgDB.cmake Loading commit data...
FindosgFX.cmake Loading commit data...
FindosgGA.cmake Loading commit data...
FindosgIntrospection.cmake Loading commit data...
FindosgManipulator.cmake Loading commit data...
FindosgParticle.cmake Loading commit data...
FindosgPresentation.cmake Loading commit data...
FindosgProducer.cmake Loading commit data...
FindosgQt.cmake Loading commit data...
FindosgShadow.cmake Loading commit data...
FindosgSim.cmake Loading commit data...
FindosgTerrain.cmake Loading commit data...
FindosgText.cmake Loading commit data...
FindosgUtil.cmake Loading commit data...
FindosgViewer.cmake Loading commit data...
FindosgVolume.cmake Loading commit data...
FindosgWidget.cmake Loading commit data...
Findosg_functions.cmake Loading commit data...
FindwxWidgets.cmake Loading commit data...
FindwxWindows.cmake Loading commit data...
FortranCInterface.cmake Loading commit data...
GNUInstallDirs.cmake Loading commit data...
GenerateExportHeader.cmake Loading commit data...
GetPrerequisites.cmake Loading commit data...
GoogleTest.cmake Loading commit data...
GoogleTestAddTests.cmake Loading commit data...
ITKCompatibility.cmake Loading commit data...
InstallRequiredSystemLibraries.cmake Loading commit data...
KDE3Macros.cmake Loading commit data...
MacOSXBundleInfo.plist.in Loading commit data...
MacOSXFrameworkInfo.plist.in Loading commit data...
MacroAddFileDependencies.cmake Loading commit data...
MatlabTestsRedirect.cmake Loading commit data...
ProcessorCount.cmake Loading commit data...
Qt4ConfigDependentSettings.cmake Loading commit data...
Qt4Macros.cmake Loading commit data...
RepositoryInfo.txt.in Loading commit data...
SelectLibraryConfigurations.cmake Loading commit data...
Squish4RunTestCase.bat Loading commit data...
Squish4RunTestCase.sh Loading commit data...
SquishRunTestCase.bat Loading commit data...
SquishRunTestCase.sh Loading commit data...
SquishTestScript.cmake Loading commit data...
SystemInformation.cmake Loading commit data...
SystemInformation.in Loading commit data...
TestBigEndian.cmake Loading commit data...
TestCXXAcceptsFlag.cmake Loading commit data...
TestEndianess.c.in Loading commit data...
TestForANSIForScope.cmake Loading commit data...
TestForANSIStreamHeaders.cmake Loading commit data...
TestForANSIStreamHeaders.cxx Loading commit data...
TestForAnsiForScope.cxx Loading commit data...
TestForSSTREAM.cmake Loading commit data...
TestForSSTREAM.cxx Loading commit data...
TestForSTDNamespace.cmake Loading commit data...
TestForSTDNamespace.cxx Loading commit data...
UseEcos.cmake Loading commit data...
UseJava.cmake Loading commit data...
UseJavaClassFilelist.cmake Loading commit data...
UseJavaSymlinks.cmake Loading commit data...
UsePkgConfig.cmake Loading commit data...
UseQt4.cmake Loading commit data...
UseSWIG.cmake Loading commit data...
Use_wxWindows.cmake Loading commit data...
UsewxWidgets.cmake Loading commit data...
VTKCompatibility.cmake Loading commit data...
WriteBasicConfigVersionFile.cmake Loading commit data...
WriteCompilerDetectionHeader.cmake Loading commit data...
ecos_clean.cmake Loading commit data...
exportheader.cmake.in Loading commit data...
javaTargets.cmake.in Loading commit data...
kde3init_dummy.cpp.in Loading commit data...
kde3uic.cmake Loading commit data...
readme.txt Loading commit data...