summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* ENH: first include the processor specific file, then the compiler file, thisAlexander Neundorf2007-06-122-22/+24
| | | | | | | way the specific hardware file can set variables which can be used in the toolchain rules (like CMAKE_C_COMPILE_OBJECT etc.) Alex
* STYLE: add a comment about SetLanguageEnabled()Alexander Neundorf2007-06-111-0/+8
| | | | | | -add a Generic.cmake for target platforms without operating system Alex
* ENH: split cmGlobalGenerator::SetLanguageEnabled() in two parts, where theAlexander Neundorf2007-06-116-24/+17
| | | | | | | | 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: Fixed name of variable used to check version of uic executable.Brad King2007-06-111-1/+1
|
* ENH: more consistence among the X11 componentsAlexander Neundorf2007-06-081-22/+20
| | | | Alex
* ENH: patch from #5054: also search for QtUitoolsd libAlexander Neundorf2007-06-081-1/+1
| | | | Alex
* STYLE: remove out commented codeAlexander Neundorf2007-06-072-10/+6
| | | | Alex
* ENH: also load a processor-specific file if existsAlexander Neundorf2007-06-055-47/+90
| | | | | | | -also try the basename file if the compiler id file doesn't exist -don't rely so much on the CMAKE_TOOLCHAIN_FILE Alex
* COMP: don't use stdio, it can fail on some embedded targets (sdcc)Alexander Neundorf2007-06-051-3/+0
| | | | Alex
* COMP: make the new check_type_size work with the HPUX cc compiler: const ↵Alexander Neundorf2007-06-051-0/+4
| | | | | | doesn't exist there Alex
* ENH: determine typesize by compiling a file and reading strings from the ↵Alexander Neundorf2007-06-043-59/+118
| | | | | | | | | compiled output. Tested with various gcc, XCode, MSVC7, sdcc For OSX when doing TRY_COMPILE() CMAKE_OSX_ARCHITECTURES is used, if there are different results an error is generated. CMAKE_OSX_ARCHITECTURES can be overwritten for the TRY_COMPILES with CMAKE_TRY_COMPILE_OSX_ARCHITECTURES. Alex
* COMP: fix warnings on some machines where some X libs apparently don'tAlexander Neundorf2007-06-011-30/+55
| | | | | | | | | really work by reverting X11_LIBRARIES back to the old version -add some more X11_xxx_FOUND variables -reformat comments at the top -always use IF(INCLUDE_DIR and LIB) for setting FOUND to TRUE Alex
* ENH: improve TRY_RUN() for crosscompiling: instead of just failing, it nowAlexander Neundorf2007-06-014-6/+7
| | | | | | | | | | | | | | | creates two cache variables, one for the RUN_RESULT, one for the RUN_OUTPUT (if required), which can be set or preset by the user. It has now also two new arguments: RUN_OUTPUT_VARIABLE and COMPILE_OUTPUT_VARIABLE (the old OUTPUT_VARIABLE merges both), so if only COMPILE_OUTPUT_VARIABLE is used the run time output of the TRY_RUN is unused and the user doesn't have to care about the output when crosscompiling. This is now used in FindThreads.cmake, CheckC/CXXSourceRuns.cmake and TestBigEndian.cmake, which used the output only for the logfile (compile output is still there). Test/TryCompile/ now also tests the behaviour of OUTPUT_VARIABLE, RUN_OUTPUT_VARIABLE and COMPILE_OUTPUT_VARIABLE. Alex
* ENH: mostly synced with FindX11.cmake from KDE svn: now also searches for aAlexander Neundorf2007-05-301-23/+263
| | | | | | lot of additional X11 libs, like Xv, Xau, Xrandr and others Alex
* ENH: always provide CMAKE_SYSTEM_XXX() and MAKE_HOST_SYSTEM_XXX() variables,Alexander Neundorf2007-05-293-59/+91
| | | | | | so when cross compiling the build host platform can be tested Alex
* ENH: add option to FILE(STRINGS NO_HEX_CONVERSION) to disable automaticAlexander Neundorf2007-05-251-0/+2
| | | | | | | | | | | | | | | | | | | conversion of hex and srec files to binary. Without this automatic conversion, everywhere where a compiled file is parsed for strings the a file(HEX2BIN somefile binfile) command has to be added otherwise it will not work for these compilers. I tried this with DetermineCompiler and CheckTypeSize and nobody will do this except the users who work with such compilers. For them it will break if they don't add this conversion command in all these places. If FILE(STRINGS) is used with a text file, it will in most cases still work as expected, since it will only convert hex and srec files. If a user actually wants to get text out of hex files, he knows what he's doing and will see the hint in the documentation. Anyway, it should work without having to create a temporary file, will work on this later. Alex
* ENH: make the compiler id detection work, even if the output file name ofAlexander Neundorf2007-05-253-49/+40
| | | | | | | the compiler is completely unknown and even if it produces intel hex or motorola s-record files, with test Alex
* STYLE: remove debug output, fix indentationAlexander Neundorf2007-05-242-54/+57
| | | | | | | the tests run again successfully, but since CheckTypeSize will switch to a TRY_COMPILE soon I will look at it again after this change Alex
* COMP: try to fix the test failures on dash2Alexander Neundorf2007-05-241-0/+2
| | | | Alex
* ENH: add compiler id for sdccAlexander Neundorf2007-05-241-1/+9
| | | | Alex
* ENH: add compiler id for IAR compiler (http://www.iar.com/)Alexander Neundorf2007-05-243-0/+9
| | | | | | ENH: don't run endian test again if the variable is already set Alex
* ENH: Unify design of CMakeCCompilerId.c, CMakeCXXCompilerId.cpp, and ↵Brad King2007-05-233-56/+70
| | | | CMakePlatformId.h. BUG: Do not violate system-reserved symbol namespace _[A-Z].
* BUG: now the toolchain file is configured into the buildtree, otherwise e.g.Alexander Neundorf2007-05-224-52/+95
| | | | | | | | | | | | | | | | | | CMAKE_SOURCE_DIR can't be used there ENH: modify CMakeCCompilerId.c and .h so that sdcc can compile them. As they were the preprocessor produced: 9 "test.c" static char const info_compiler[] = "INFO:compiler[" # 40 "test.c" "" "]"; and the mixing of the preprocessing directives and the string constants didn't work. Alex
* STYLE: move the two CMAKE_SHARED_LIBRARYC/CXX_FLAGS for gcc fromAlexander Neundorf2007-05-222-15/+10
| | | | | | CMakeGenericSystem.cmake to gcc.cmake Alex
* STYLE: use a separate source file for generating CMakeSystem.cmake if ↵Alexander Neundorf2007-05-215-22/+28
| | | | | | CMAKE_TOOLCHAIN_FILE is used Alex
* BUG: don't fail if a compiler is given in CMAKE_C/CXX_COMPILER but it can'tAlexander Neundorf2007-05-212-4/+17
| | | | | | be found in the path Alex
* BUG: always search for ar, ranlib, etc. except under MSVC -> this should fix ↵Alexander Neundorf2007-05-211-14/+18
| | | | | | | | the mingw fortran test -also generate the fortran test with the kdevelop generator Alex
* BUG: Use @ONLY substitution to configure CMakeSystem.cmake.Brad King2007-05-201-1/+1
|
* ENH: move hack to fix "new cmake on old build tree on OSX doesn't have ↵Alexander Neundorf2007-05-181-0/+9
| | | | | | | | CMAKE_INSTALL_NAME_TOOL in the cache" from cmInstallTargetGenerator.cxx to Darwin.cmake Alex
* ENH: Use CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES from platform files to ↵Brad King2007-05-181-0/+6
| | | | block link directories.
* COMP: if a new cmake runs on an old build tree, set CMAKE_LINKER to link to ↵Alexander Neundorf2007-05-182-0/+12
| | | | | | make it link Alex
* COMP: fix link rules with nmake, the linker command has to be converted to ↵Alexander Neundorf2007-05-181-2/+2
| | | | | | shortpath form for nmake Alex
* STYLE: fdcorrect comments about FC/CCAlexander Neundorf2007-05-181-4/+5
| | | | Alex
* BUG: If the Fortran CompilerId source fails to compile it should not be a ↵Brad King2007-05-182-4/+7
| | | | failure. It is only expected to work for Fortran90 compilers.
* ENH: fail if install_name_tool wasn't foundAlexander Neundorf2007-05-171-0/+4
| | | | Alex
* ENH: Use IF(NOT DEFINED) check to short-circuit size test.Brad King2007-05-171-2/+2
|
* ENH: merge CMake-CrossCompileBasic to HEADAlexander Neundorf2007-05-1717-162/+361
| | | | | | | | | | | | | | | | | | | | | | | | -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: fix up compiler id to be more robustBill Hoffman2007-05-173-6/+13
|
* BUG: make sure this thing compiles on 64 bit machinesBill Hoffman2007-05-171-1/+5
|
* ENH: Enabled preprocessor make rules for Watcom.Brad King2007-05-161-0/+8
|
* STYLE: Added basic usage documentation.Brad King2007-05-152-5/+23
|
* ENH: initial support for creation of frameworks on MacBill Hoffman2007-05-082-0/+33
|
* BUG: Detect debian with existence of /etc/debian_version so things work in a ↵Brad King2007-05-071-13/+3
| | | | chroot install. This is suggested in bug#4805.
* ENH: Merging CompilerId updates from branch CMake-Modules-CompilerId to the ↵Brad King2007-05-0312-47/+224
| | | | main tree. Changes between CMake-Modules-CompilerId-mp1 and CMake-Modules-CompilerId-mp2 are included.
* ENH: Changed GNUC compiler id name to GNU.Brad King2007-05-012-2/+2
|
* STYLE: Added comment explaining choice of file extension.Brad King2007-04-301-0/+3
|
* BUG: Need to install CMakeCXXCompilerId.cpp so that C++ compiler ↵Brad King2007-04-301-0/+1
| | | | identification works in an install tree.
* STYLE: comment which says which variables this macro setsAlexander Neundorf2007-04-301-0/+2
| | | | Alex
* STYLE: use the newer FIND_XXX syntax, which should find MPI in even moreAlexander Neundorf2007-04-301-7/+7
| | | | | | | directories and doesn't require to list standard directories like /usr/lib, etc. Alex
* BUG: also install CMakePlatformId.h, otherwise the check for the compiler idAlexander Neundorf2007-04-301-0/+1
| | | | | | works only when building cmake itself, but not with an installed cmake Alex