summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* BUG: the Plugin test fails on NetBSD, let's see if this fixes itAlexander Neundorf2007-07-161-0/+3
| | | | Alex
* ENH: also add the install base dir of the running cmake to the searchAlexander Neundorf2007-07-161-0/+8
| | | | | | | directories for the FIND_XXX() commands, for the case that somebody has its own install tree Alex
* ENH: add DragonFly BSD, which is very close to FreeBSD (#4500)Alexander Neundorf2007-07-131-0/+5
| | | | Alex
* BUG: the SET( ... CACHE INTERNAL) didn't work as expected, since theAlexander Neundorf2007-07-132-4/+0
| | | | | | | | | variable is already added to the cache inside cmTryRunCommand.cxx, so the value used here was ignored. Additionally the INTERNAL made it internal, which shouldn't be done when cross compiling, since here the user is required to edit this variable manually e.g. using ccmake. Alex
* ENH: add the static libs always to the link libs, if they are not used it ↵Alexander Neundorf2007-07-121-0/+10
| | | | | | shouldn't hurt Alex
* ENH: add macro to test if a member has specified struct, e.g.Alexander Neundorf2007-07-122-1/+40
| | | | | | check_struct_has_member("struct stat" st_rdev "${CFG_HEADERS}" HAVE_STRUCT_STAT_ST_RDEV) Alex
* ENH: add support for the ADSP toolchains for Blackfin, Shark and TigerSharkAlexander Neundorf2007-07-126-0/+175
| | | | | | DSPs, patch from Raphael Cotty Alex
* BUG: honor REQUIRED and QUIETLY (#5312)Alexander Neundorf2007-07-121-9/+13
| | | | Alex
* ENH: second try for handling the linker language with integer priority ↵Alexander Neundorf2007-07-126-5/+16
| | | | | | values (returning a pointer to a string on the stack is no good idea) Alex
* COMP: revert last commit for now, broke Visual StudioAlexander Neundorf2007-07-116-16/+5
| | | | Alex
* ENH: CMAKE_<LANG>_LINKER_PREFERENCE is now an integer priority, not aAlexander Neundorf2007-07-117-6/+17
| | | | | | | | | | | | | | | | | | | two-step priority (None or Prefered) Current order: ASM 0, C 10, Fortran 20, CXX 30, Java 40 This is the same order as automake choses: http://www.gnu.org/software/automake/manual/html_node/How-the-Linker-is-Chosen.html This change should be backward compatible: if there is a project using fortran and CXX, they had to set the LINKER_LANGUAGE explicitely, otherwise cmake complained (but still generated the project files). Explicitely setting the linker language still overrides automatic detection. If somebody has a custom language for cmake and the PREFERENCE starts with "P", its changed to 100, which gives it preference over all other languages (except the other custom languages which have also "Prefered"). "None" is converted to 0. Alex
* ENH: add CMAKE_INCLUDE_FLAG_ASM${ASM_DIALECT} and don't allow presetAlexander Neundorf2007-07-111-13/+12
| | | | | | CMAKE_xxx_INFORMATION files Alex
* STYLE: use EXECUTE_PROCESS() instead of EXEC_PROGRAM()Alexander Neundorf2007-07-111-1/+1
| | | | Alex
* ENH: add the ecos include dir and the ecos definitions by defaultAlexander Neundorf2007-07-101-0/+2
| | | | Alex
* ENH: add support for building eCos applications nativelyAlexander Neundorf2007-07-091-0/+54
| | | | Alex
* STYLE: don't test twice for APPLEAlexander Neundorf2007-07-031-71/+73
| | | | Alex
* COMP: with visual studio it's no error if link isn't foundAlexander Neundorf2007-07-021-4/+0
| | | | Alex
* ENH: make supporting embedded compilers need a user specific linker file forAlexander Neundorf2007-07-021-0/+51
| | | | | | | | compiling an executable (amd thus cannot build the compiler-id program) easier by providing CMAKE_FORCE_XXX() macros which force cmake to use the given compilers anyway Alex
* ENH: remove support for presetting CMAKE_SYSTEM_INFO_FILE,Alexander Neundorf2007-07-025-73/+30
| | | | | | | | | | | | | | | | 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
* BUG: with MS Visual Studio currently there is no compiler id, so check theAlexander Neundorf2007-07-021-3/+10
| | | | | | generator too Alex
* ENH: initial support for assembler in cmake, needs testing by our usersAlexander Neundorf2007-06-288-0/+200
| | | | Alex
* BUG: use ${LANG}_COMPILER_ARG1 also here, otherwise some compilers won't beAlexander Neundorf2007-06-271-2/+2
| | | | | | | able to compile e.g. the C++ source file (e.g. the ADSP compiler needs -c++ for compiling C++ files) Alex
* ENH: Added global property FIND_LIBRARY_USE_LIB64_PATHS to allow lib64 paths ↵Brad King2007-06-272-0/+8
| | | | to be searched optionally. Turn off the feature on debian systems. This addresses debian report 419007.
* ENH: Added GNU/Hurd platform. Taken from debian patch 407155.Brad King2007-06-271-0/+10
|
* ENH:Alexander Neundorf2007-06-261-1/+1
|
* ENH: add basic support for sdcc (http://sdcc.sourceforge.net), needs sdcc ↵Alexander Neundorf2007-06-262-3/+47
| | | | | | (sdcclib) cvs for creating libraries) Alex
* STYLE: change global cmake variable CMAKE_TARGET_SUPPORTS_ONLY_STATIC_LIBSAlexander Neundorf2007-06-263-3/+3
| | | | | | to the first global cmake property TARGET_SUPPORTS_SHARED_LIBS Alex
* ENH: check for CMAKE_HOST_SYSTEM_NAME to decide whether to loadAlexander Neundorf2007-06-262-2/+2
| | | | | | | | | 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: add support for BlueGene/LAlexander Neundorf2007-06-223-2/+29
| | | | Alex
* ENH: print a warning if ADD_LIBRARY( SHARED/MODULE ) is used and the targetAlexander Neundorf2007-06-212-0/+7
| | | | | | platform doesn't support shared libraries Alex
* STYLE: use IF(NOT ...) and remove MARK_AS_ADVANCED() for variables which areAlexander Neundorf2007-06-181-10/+6
| | | | | | not defined here Alex
* 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