diff options
author | Brad King <brad.king@kitware.com> | 2012-08-15 20:12:05 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2012-08-22 19:14:33 (GMT) |
commit | 9a9e1ee98d59ba1ed2a89a2858224a7f8a92bbf6 (patch) | |
tree | 7478670a51cb38029cfc2a347fcbf594f70914b1 /Modules/CompilerId | |
parent | b8b5c8342a2a2de5f57f9dd83435060b4eb825a8 (diff) | |
download | CMake-9a9e1ee98d59ba1ed2a89a2858224a7f8a92bbf6.zip CMake-9a9e1ee98d59ba1ed2a89a2858224a7f8a92bbf6.tar.gz CMake-9a9e1ee98d59ba1ed2a89a2858224a7f8a92bbf6.tar.bz2 |
CMakeDetermineCompilerId: Prepare to detect IDE compiler id
Teach CMAKE_DETERMINE_COMPILER_ID to check for variable
CMAKE_${lang}_COMPILER_ID_TOOL after CMAKE_DETERMINE_COMPILER_ID_BUILD
to use as CMAKE_${lang}_COMPILER since it will not be known until after
the IDE runs.
In CMAKE_DETERMINE_COMPILER_ID_BUILD prepare a cascading "if" so we can
use a generator-specific method to compile the identification source
file. Leave "if(0)" as a placeholder for now and put the direct
compiler invocation in "else()". After running the compiler to build
the compiler identification source we file(GLOB) the list of output
files as candidates for extracting the compiler information. An IDE may
create directories, so exclude exclude directories from this list.
Diffstat (limited to 'Modules/CompilerId')
0 files changed, 0 insertions, 0 deletions