• Brad King's avatar
    OS X: Detect implicit linker framework search paths · cc676c3a
    Brad King authored
    Previously we hard-coded a list of implicit framework directories but
    did not account for CMAKE_OSX_SYSROOT or for changes to the list across
    OS X versions.  Instead we should automatically detect the framework
    directories for the active toolchain.
    
    The parent commit added the "-Wl,-v" option to ask "ld" to print its
    implicit directories.  It displays a block such as:
    
     Framework search paths:
    	/...
    
    Parse this block to extract the list of framework directories.
    
    Detection may fail on toolchains that do not list their framework
    directories, such as older OS X linkers.  Always treat the paths
    
     <sdk>/Library/Frameworks
     <sdk>/System/Library/Frameworks
     <sdk>/Network/Library/Frameworks # Older OS X only
     /System/Library/Frameworks
    
    as implicit.  Note that /System/Library/Frameworks should always be
    considered implicit so that frameworks CMake finds there will not
    override the SDK copies.
    cc676c3a
Name
Last commit
Last update
..
CMakeAddFortranSubdirectory Loading commit data...
Compiler Loading commit data...
CompilerId Loading commit data...
FindCUDA Loading commit data...
FortranCInterface Loading commit data...
IntelVSImplicitPath Loading commit data...
Platform Loading commit data...
AddFileDependencies.cmake Loading commit data...
AutomocInfo.cmake.in Loading commit data...
BasicConfigVersion-AnyNewerVersion.cmake.in Loading commit data...
BasicConfigVersion-ExactVersion.cmake.in Loading commit data...
BasicConfigVersion-SameMajorVersion.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...
CMakeCXXCompiler.cmake.in Loading commit data...
CMakeCXXCompilerABI.cpp Loading commit data...
CMakeCXXCompilerId.cpp.in Loading commit data...
CMakeCXXInformation.cmake Loading commit data...
CMakeClDeps.cmake Loading commit data...
CMakeCommonLanguageInclude.cmake Loading commit data...
CMakeCompilerABI.h 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...
CMakeDetermineCXXCompiler.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...
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...
CMakeFindEclipseCDT4.cmake Loading commit data...
CMakeFindFrameworks.cmake Loading commit data...
CMakeFindKDevelop3.cmake Loading commit data...
CMakeFindPackageMode.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...
CMakeImportBuildSettings.cmake Loading commit data...
CMakeJOMFindMake.cmake Loading commit data...
CMakeJavaCompiler.cmake.in Loading commit data...
CMakeJavaInformation.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...
CMakeParseImplicitLinkInfo.cmake Loading commit data...
CMakePlatformId.h.in Loading commit data...
CMakePrintSystemInformation.cmake Loading commit data...
CMakePushCheckState.cmake Loading commit data...
CMakeRCCompiler.cmake.in Loading commit data...
CMakeRCInformation.cmake Loading commit data...
CMakeSystem.cmake.in Loading commit data...
CMakeSystemSpecificInformation.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...
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...
CMakeTestWatcomVersion.c Loading commit data...
CMakeUnixFindMake.cmake Loading commit data...
CMakeVS10FindMake.cmake Loading commit data...
CMakeVS11FindMake.cmake Loading commit data...
CMakeVS6BackwardCompatibility.cmake Loading commit data...
CMakeVS6FindMake.cmake Loading commit data...
CMakeVS71FindMake.cmake Loading commit data...
CMakeVS7BackwardCompatibility.cmake Loading commit data...
CMakeVS7FindMake.cmake Loading commit data...
CMakeVS8FindMake.cmake Loading commit data...
CMakeVS9FindMake.cmake Loading commit data...
CMakeVerifyManifest.cmake Loading commit data...
CPack.DS_Store.in Loading commit data...
CPack.Description.plist.in Loading commit data...
CPack.Info.plist.in Loading commit data...
CPack.OSXScriptLauncher.in Loading commit data...
CPack.OSXScriptLauncher.rsrc.in Loading commit data...
CPack.OSXX11.Info.plist.in Loading commit data...
CPack.OSXX11.main.scpt.in Loading commit data...
CPack.RuntimeScript.in Loading commit data...
CPack.STGZ_Header.sh.in Loading commit data...
CPack.VolumeIcon.icns.in Loading commit data...
CPack.background.png.in Loading commit data...
CPack.cmake Loading commit data...
CPack.distribution.dist.in Loading commit data...
CPackBundle.cmake Loading commit data...
CPackComponent.cmake Loading commit data...
CPackCygwin.cmake Loading commit data...
CPackDMG.cmake Loading commit data...
CPackDeb.cmake Loading commit data...
CPackNSIS.cmake Loading commit data...
CPackPackageMaker.cmake Loading commit data...
CPackRPM.cmake Loading commit data...
CPackWIX.cmake Loading commit data...
CPackZIP.cmake Loading commit data...
CTest.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...
CheckFortranFunctionExists.cmake Loading commit data...
CheckFunctionExists.c Loading commit data...
CheckFunctionExists.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...
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...
ExternalProject.cmake Loading commit data...
FLTKCompatibility.cmake Loading commit data...
FeatureSummary.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...
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...
FindFLEX.cmake Loading commit data...
FindFLTK.cmake Loading commit data...
FindFLTK2.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...
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...
FindITK.cmake Loading commit data...
FindIcotool.cmake Loading commit data...
FindImageMagick.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...
FindLibArchive.cmake Loading commit data...
FindLibLZMA.cmake Loading commit data...
FindLibXml2.cmake Loading commit data...
FindLibXslt.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...
FindOpenAL.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...
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...
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...
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...
FindVTK.cmake Loading commit data...
FindWget.cmake Loading commit data...
FindWish.cmake Loading commit data...
FindX11.cmake Loading commit data...
FindXMLRPC.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...
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...
NSIS.InstallOptions.ini.in Loading commit data...
NSIS.template.in 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...
UseVTK40.cmake Loading commit data...
UseVTKBuildSettings40.cmake Loading commit data...
UseVTKConfig40.cmake Loading commit data...
Use_wxWindows.cmake Loading commit data...
UsewxWidgets.cmake Loading commit data...
VTKCompatibility.cmake Loading commit data...
WIX.template.in Loading commit data...
WriteBasicConfigVersionFile.cmake Loading commit data...
ecos_clean.cmake Loading commit data...
exportheader.cmake.in Loading commit data...
kde3init_dummy.cpp.in Loading commit data...
kde3uic.cmake Loading commit data...
readme.txt Loading commit data...