https://github.com/Kitware/CMake
Revision 180c60a86f5c44085a1a66865bfc8b9479c72e8a authored by Brad King on 19 September 2009, 14:14:31 UTC, committed by Brad King on 19 September 2009, 14:14:31 UTC
Previously we checked for this flag by parsing the version number of GCC out of 'gcc --version', but this is not reliable because the format can vary greatly. Now we run 'gcc -v --help' and look for '-isysroot' in the list of options. We also now store the result on a per-language basis in the per-compiler info file "CMake<LANG>Compiler.cmake". This is necessary to make it accessible from try-compile projects so that they generate correctly.
1 parent 196d9a5
Tip revision: 180c60a86f5c44085a1a66865bfc8b9479c72e8a authored by Brad King on 19 September 2009, 14:14:31 UTC
Fix check for -isysroot on OS X
Fix check for -isysroot on OS X
Tip revision: 180c60a
File | Mode | Size |
---|---|---|
Docs | ||
Example | ||
Modules | ||
Source | ||
Templates | ||
Tests | ||
Utilities | ||
.gitattributes | -rw-r--r-- | 305 bytes |
CMakeCPack.cmake | -rw-r--r-- | 4.9 KB |
CMakeCPackOptions.cmake.in | -rw-r--r-- | 2.6 KB |
CMakeGraphVizOptions.cmake | -rw-r--r-- | 153 bytes |
CMakeLists.txt | -rw-r--r-- | 17.8 KB |
CMakeLogo.gif | -rw-r--r-- | 4.4 KB |
CTestConfig.cmake | -rw-r--r-- | 413 bytes |
CTestCustom.cmake.in | -rw-r--r-- | 1.8 KB |
CTestCustom.ctest.in | -rw-r--r-- | 145 bytes |
ChangeLog.txt | -rw-r--r-- | 2.0 MB |
CompileFlags.cmake | -rw-r--r-- | 1.8 KB |
Copyright.txt | -rw-r--r-- | 2.2 KB |
DartConfig.cmake | -rw-r--r-- | 236 bytes |
DartLocal.conf.in | -rw-r--r-- | 4.0 KB |
Readme.txt | -rw-r--r-- | 1.9 KB |
bootstrap | -rwxr-xr-x | 47.5 KB |
cmake.1 | -rw-r--r-- | 3.6 KB |
cmake_uninstall.cmake.in | -rw-r--r-- | 968 bytes |
configure | -rwxr-xr-x | 114 bytes |
doxygen.config | -rw-r--r-- | 27.7 KB |
Computing file changes ...