diff options
author | Brad King <brad.king@kitware.com> | 2012-08-15 19:53:04 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2012-08-22 19:14:33 (GMT) |
commit | b8b5c8342a2a2de5f57f9dd83435060b4eb825a8 (patch) | |
tree | 6b327fd1375d9aef519d7bfa563edb31eeb1cf11 /configure | |
parent | 2c7a451de003782b1ba5e47ab377f33f1fa5c4e5 (diff) | |
download | CMake-b8b5c8342a2a2de5f57f9dd83435060b4eb825a8.zip CMake-b8b5c8342a2a2de5f57f9dd83435060b4eb825a8.tar.gz CMake-b8b5c8342a2a2de5f57f9dd83435060b4eb825a8.tar.bz2 |
Re-order C/C++/Fortran compiler determination logic
Re-organize CMakeDetermine(C|CXX|Fortran)Compiler.cmake to search for
the compiler command-line tool only under generators for which it makes
sense. For the Visual Studio generators we do not expect to find the
compiler tool from the environment, nor would we use the result anyway.
Furthermore, set CMAKE_${lang}_COMPILER_ID_TEST_FLAGS only when it has a
chance to be used. Extract _CMAKE_TOOLCHAIN_LOCATION from the compiler
path after running the compiler id step so in the future that step can
help find the path to the compiler.
Diffstat (limited to 'configure')
0 files changed, 0 insertions, 0 deletions