summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeDetermineCXXCompiler.cmake
Commit message (Collapse)AuthorAgeFilesLines
* BUG: only check for a toolchain prefix (e.g. "arm-linux-" inAlexander Neundorf2008-09-081-20/+24
| | | | | | "arm-linux-gcc") if we are cross compiling and the compiler is gcc Alex
* BUG: #7359 make llvm-gcc work, by explicitely excluding "llvm-" from ↵Alexander Neundorf2008-09-071-1/+8
| | | | | | | | _CMAKE_TOOLCHAIN_PREFIX (use the (relatively) new CMAKE_MATCH_x variables set by all regex operations) Alex
* BUG: make the toolchain-prefix recognition work with prefixes which containAlexander Neundorf2008-05-151-4/+7
| | | | | | | dots (as in arm-unknown-nto-qnx6.3.0-gcc.exe), NAME_WE returns only up to the 6, instead of everything in front of the .exe Alex
* ENH: Improvied compiler identification robustnessBrad King2008-02-251-1/+3
| | | | | | | | - Write a single source file into the compiler id directory - This avoid requiring the compiler to behave correctly with respect to include rules and the current working directory - Helps to identify cross-compiling toolchains with unusual default behavior
* ENH: When detecting the compiler id try compiling only to an object file.Brad King2008-02-111-0/+8
|
* BUG: When configuring compiler information files into the CMakeFiles ↵Brad King2008-02-041-2/+3
| | | | directory in the project build tree, use IMMEDIATE option for CONFIGURE_FILE explicitly. It is needed in case the user sets CMAKE_BACKWARDS_COMPATIBILITY to 2.0 or lower.
* BUG: When forcing the C and CXX compilers do not try to detect the ABI ↵Brad King2008-02-031-2/+3
| | | | information. Cleanup configured language compiler info files by always using @ONLY. This addresses bug#6297.
* ENH: if CMAKE_(C|CXX)_COMPILER is preset to a list of two elements, use theAlexander Neundorf2007-07-181-0/+9
| | | | | | first one as the compiler and the second one as ARG1 for the compiler Alex
* ENH: remove support for presetting CMAKE_SYSTEM_INFO_FILE,Alexander Neundorf2007-07-021-15/+1
| | | | | | | | | | | | | | | | CMAKE_SYSTEM_AND_C_COMPILER_INFO_FILE, CMAKE_SYSTEM_AND_CXX_COMPILER_INFO_FILE, CMAKE_SYSTEM_AND_C_COMPILER_AND_PROCESSOR_INFO_FILE and CMAKE_SYSTEM_AND_CXX_COMPILER_AND_PROCESSOR_INFO_FILE Instead of presetting these variables to arbitrary filenames, users should set up CMAKE_SYSTEM_NAME and the compilers correctly and also create a Platform/ directory so these files will all follow the official cmake style, which should make it easier to understand and debug project which have their own platform/toolchain support files. -remove support for a suffix to MS crosscompilers, since this is not (yet) supported by cmake and might confuse users Alex
* ENH: check for CMAKE_HOST_SYSTEM_NAME to decide whether to loadAlexander Neundorf2007-06-261-1/+1
| | | | | | | | | CMakeDetermineSystem.cmake, since CMAKE_SYSTEM_NAME might already be preset when using cmake for cross compiling use type STRING instead of FILEPATH since otherwise a strange filename was generated Alex
* ENH: split cmGlobalGenerator::SetLanguageEnabled() in two parts, where theAlexander Neundorf2007-06-111-11/+0
| | | | | | | | second part copies the values from the cmake variables into internal maps. So this can now be done after the compiler-specific information has been loaded, which can now overwrite more settings. Alex
* BUG: don't fail if a compiler is given in CMAKE_C/CXX_COMPILER but it can'tAlexander Neundorf2007-05-211-2/+10
| | | | | | be found in the path Alex
* ENH: merge CMake-CrossCompileBasic to HEADAlexander Neundorf2007-05-171-14/+61
| | | | | | | | | | | | | | | | | | | | | | | | -add a RESULT_VARIABLE to INCLUDE() -add CMAKE_TOOLCHAIN_FILE for specifiying your (potentially crosscompiling) toolchain -have TRY_RUN() complain if you try to use it in crosscompiling mode (which were compiled but cannot run on this system) -use CMAKE_EXECUTABLE_SUFFIX in TRY_RUN(), probably TRY_RUN won't be able to run the executables if they have a different suffix because they are probably crosscompiled, but nevertheless it should be able to find them -make several cmake variables presettable by the user: CMAKE_C/CXX_COMPILER, CMAKE_C/CXX_OUTPUT_EXTENSION, CMAKE_SYSTEM_NAME, CMAKE_SYSTEM_INFO_FILE -support prefix for GNU toolchains (arm-elf-gcc, arm-elf-ar, arm-elf-strip etc.) -move ranlib on OSX from the file command to a command in executed in cmake_install.cmake -add support for stripping during install in cmake_install.cmake -split out cl.cmake from Windows-cl.cmake, first (very incomplete) step to support MS crosscompiling tools -remove stdio.h from the simple C program which checks if the compiler works, since this may not exist for some embedded platforms -create a new CMakeFindBinUtils.cmake which collects the search fro ar, ranlib, strip, ld, link, install_name_tool and other tools like these -add support for CMAKE_FIND_ROOT_PATH for all FIND_XXX commands, which is a list of directories which will be prepended to all search directories, right now as a cmake variable, turning it into a global cmake property may need some more work -remove cmTestTestHandler::TryExecutable(), it's unused -split cmFileCommand::HandleInstall() into slightly smaller functions Alex
* ENH: Merging CompilerId updates from branch CMake-Modules-CompilerId to the ↵Brad King2007-05-031-1/+1
| | | | main tree. Changes between CMake-Modules-CompilerId-mp1 and CMake-Modules-CompilerId-mp2 are included.
* ENH: Merging CompilerId implementation from branch CMake-Modules-CompilerId ↵Brad King2007-04-281-33/+36
| | | | to the main tree. Changes between CMake-Modules-CompilerId-bp and CMake-Modules-CompilerId-mp1 are included.
* STYLE: fix typo "CCC" -> "CC", add comments which variables it setsAlexander Neundorf2007-04-251-0/+7
| | | | Alex
* ENH: merge in changes for beos supportBill Hoffman2006-12-041-0/+8
|
* BUG: Search for the compiler only once and store a full path to it in the ↵Brad King2006-08-291-10/+11
| | | | cache. This avoids problems with the case of locations in the PATH variable on Windows that change the compiler name when CMake is re-run. CMakeFiles/CMake*Compiler.cmake files should hold the full path to the compiler always.
* BUG: CMAKE_AR should be advanced.Brad King2006-07-221-0/+1
|
* BUG: Fixed building of C++-only projects and added a test.Brad King2006-07-211-0/+10
|
* ENH: centralized locaiton of CMakeFiles settingKen Martin2006-06-141-3/+3
|
* ENH: add mingw test to cxxBill Hoffman2006-04-171-1/+7
|
* ENH: fix more than one argument passed in to compilers via environmentBill Hoffman2006-01-251-1/+1
|
* ENH: add documentation support for modulesBill Hoffman2005-12-141-0/+1
|
* ENH: put cmake files intoa CMakeFiles subdir to clean up bin treeKen Martin2005-07-291-3/+3
|
* ENH: make sure flags set in CC or CXX environment variables stay with the ↵Bill Hoffman2005-07-201-0/+3
| | | | compiler
* ENH: do not check for gnu for visual studioKen Martin2004-09-151-0/+5
|
* ENH: more uniform approach to enable language, one step closer to being able ↵Bill Hoffman2004-08-261-3/+1
| | | | to enable a language without modifing cmake source code
* ENH: reduce the number of times gnu is tested forBill Hoffman2003-12-121-15/+17
|
* BUG: Fixed same spaces-in-paths problem for CMakeTestGNU.c as in ↵Brad King2003-10-171-1/+1
| | | | CMakeDetermineCCompiler.cmake.
* ENH: Cleanups and add missing CMakeOutput.log and CMakeError.log appending. ↵Andy Cedilnik2003-08-081-3/+10
| | | | Close Bug #136 - Verify that all modules that do try compile produce CMakeError.log and CMakeOutput.log
* ENH: move full path compiler to internal and not just advancedBill Hoffman2003-02-141-1/+1
|
* add a fatal error, and make sure c and c++ compilers work before using themBill Hoffman2003-01-211-1/+5
|
* ENH: look for AIX compiler as wellBill Hoffman2003-01-061-1/+1
|
* ENH: use CMAKE_ROOT and not PROJECT_ for try compile stuff, this allows ↵Bill Hoffman2002-12-171-1/+1
| | | | projects within projects to have different languages
* ERR: Need double-quotes around expression to be mached in IF command.Brad King2002-12-121-2/+2
|
* clean up compiler picking codeBill Hoffman2002-12-061-5/+3
|
* fix for generator picked compilersBill Hoffman2002-12-061-4/+14
|
* allow flags to be in the CC and CXX environment variablesBill Hoffman2002-11-191-6/+5
|
* fixes to better honor env CC and CXXBill Hoffman2002-11-191-10/+13
|
* BUG: fix handling of CXXBill Hoffman2002-11-191-3/+14
|
* BUG: fix path problemsBill Hoffman2002-11-121-1/+1
|
* store the compiler in the cacheBill Hoffman2002-11-081-2/+6
|
* Complete rework of makefile generators expect troubleBill Hoffman2002-11-081-3/+12
|
* *** empty log message ***Bill Hoffman2002-10-251-2/+3
|
* closer to removing autoconfBill Hoffman2002-10-231-1/+4
|
* test for gnu compilerBill Hoffman2002-10-221-0/+9
|
* new cmake based configurationBill Hoffman2002-10-221-0/+5