summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* COMP: ccmake requires ncurses, according to Berk and since it doesn't buildAlexander Neundorf2007-08-151-6/+73
| | | | | | | | | | on NetBSD where there are separate curses and ncurses libraries, and where the curses library is found, which doesn't work for ccmake while the existing ncurses library would work. With this change it should be possible to test whether the found curses lib provides ncurses functionality. Alex
* BUG: fix typoAlexander Neundorf2007-08-141-1/+1
| | | | Alex
* ENH: deb generator: don't use the system provided ar, but do it yourselfAlexander Neundorf2007-08-141-7/+0
| | | | | | | using the code from OpenBSD ar COMP: don't build all package generators on all platforms Alex
* ENH: for universal binaries return the endianess based on the processorAlexander Neundorf2007-08-131-8/+18
| | | | Alex
* COMP: turn error into warning for nowAlexander Neundorf2007-08-131-2/+2
| | | | Alex
* STYLE: remove unused CheckTypeSize.c.inAlexander Neundorf2007-08-105-82/+99
| | | | | | | | ENH: change test for endianess from TRY_RUN() to TRY_COMPILE() by testing the binary image of a 16bit integer array, tested on Linux x86, Intel Mac and Sun (big endian) Alex
* STYLE: remove unnecessary default search pathsAlexander Neundorf2007-08-101-26/+4
| | | | Alex
* BUG: fix compiler id test on cygwinAlexander Neundorf2007-08-101-2/+2
| | | | Alex
* ENH: set UNIX, WIN32 and APPLE in cmMakefile.cxx as it was before, so itAlexander Neundorf2007-08-102-18/+5
| | | | | | | works for scripts, then reset them in CMakeSystemSpecificInformation.cxx, so the platform modules can set them again for the target system Alex
* BUG: also include UnixPaths.cmake on these platforms, this also sets UNIX to 1Alexander Neundorf2007-08-106-1/+11
| | | | Alex
* BUG: use CMAKE_HOST_UNIX here instead of UNIXAlexander Neundorf2007-08-091-3/+3
| | | | Alex
* ENH: UNIX, CYGWIN, WIN32, APPLE, QNXNTO and BEOS are not longer set inAlexander Neundorf2007-08-099-7/+44
| | | | | | | | | | | | | | cmMakefile.cxx, but now in the platform files and are now valid for the target platform, not the host platform. New variables CMAKE_HOST_WIN32, CMAKE_HOST_UNIX, CMAKE_HOST_APPLE and CMAKE_HOST_CYGWIN have been added in cmMakefile.cxx (...and have now to be used in all cmake files which are executed before CMakeSystemSpecificInformation.cmake is loaded). For compatibility the old set is set to the new one in CMakeDetermineSystem.cmake and reset before the system platform files are loaded, so custom language or compiler modules which use these should still work. Alex
* BUG: work with spaces in the pathAlexander Neundorf2007-08-091-1/+1
| | | | Alex
* ENH: patch from Mathieu: more entries in the debian control fileAlexander Neundorf2007-08-081-8/+49
| | | | Alex
* ENH: add empty RPM package generator, Eric Noulard wants to work on itAlexander Neundorf2007-08-082-0/+16
| | | | Alex
* STYLE: find Dart quietly (so it doesn't go in the feature log)Alexander Neundorf2007-08-071-1/+1
| | | | Alex
* ENH: add global properties for collecting enabled/disabled features duringAlexander Neundorf2007-08-071-0/+64
| | | | | | | | | | | | the cmake run and add macros print_enabled/disabled_features() and set_feature_info(), so projects can get a nice overview at the end of the cmake run what has been found and what hasn't FIND_PACKAGE() automatically adds the packages to these global properties, except when used with QUIET Maybe this can also be useful for packagers to find out dependencies of projects. Alex
* STYLE: fix typoAlexander Neundorf2007-08-071-1/+1
| | | | Alex
* STYLE: use FIND_PACKAGE_HANDLE_STANDARD_ARGS() also in FindMPI.cmakeAlexander Neundorf2007-08-062-1/+6
| | | | | | -remove unnecessary ELSE() in FindThreads.cmake Alex
* ENH: threads used to include thisBill Hoffman2007-08-061-0/+1
|
* ENH: better error messages from the debian package generatorAlexander Neundorf2007-08-032-30/+78
| | | | | | | -don't display the cpack help if a generator failed with some problem -check for cmSystemTools::GetErrorOccuredFlag() Alex
* ENH: make the python modules usable for C and C++ and only write the headerAlexander Neundorf2007-08-021-9/+31
| | | | | | if it has changed Alex
* ENH: use WindowsPaths.cmake on all Windows platforms, not only for cl, makesAlexander Neundorf2007-08-023-6/+11
| | | | | | | the mingw cross compiler work out of the box and should help mingw users on windows with a common install dir Alex
* ENH: add support for Catamount, the OS running on the compute nodes of Cray ↵Alexander Neundorf2007-08-011-0/+26
| | | | | | super computers Alex
* STYLE: don't use FIND_INCLUDE_FILE() but only FIND_INCLUDE_FILES() inAlexander Neundorf2007-07-313-16/+28
| | | | | | | | | | | | FindThreads.h BUG: improve CheckC(XX)SourceRuns.cmake so that it works with cross compiling, the return value has to go in the cache but shouldn't overwrite the actual return value, and it should go only in the cache if we have a result from try_run() otherwise we won't get here again if we have a result later on Alex
* ENH:Alexander Neundorf2007-07-272-5/+10
| | | | | | | | -add /usr/openwin/include and /usr/openwin/lib to the default search paths -add /${CMAKE_INSTALL_PREFIX}/(lib|bin|include) to the default cmake search paths -> this should help users who install stuff in their home Alex
* ENH: deb generator can now generate deb packagesAlexander Neundorf2007-07-272-1/+51
| | | | | | | | | | -remove the unscriptable commands also from the cpack cmake -use CPACK_PACKAGE_CONTACT in CMakeCPack.cmake, it's used in the nsis and the deb generator -make set_properties() scriptable -use a non-const char array for adding the python modules Alex
* COMP: same as in VTK, build modules by default as shared if the platformAlexander Neundorf2007-07-251-8/+10
| | | | | | supports this, don't include shared modules in the generated header Alex
* ENH: add an empty debian package generator, Mathieu volunteered to fill itAlexander Neundorf2007-07-251-0/+10
| | | | | | :-) Alex
* ENH: add ReadListFile() to cmCPackGenericGenerator, so cmMakefile can beAlexander Neundorf2007-07-242-0/+32
| | | | | | | | private again -convert the ZIP generator to use a cmake script instead of hardcoding everything (CPackZIP.cmake) Alex
* ENH: determine the current system also in cpack, so the search paths areAlexander Neundorf2007-07-241-32/+37
| | | | | | | | | | | loaded Additionally the makefile in cmCPackGenericGenerator is now protected instead of private, so with these two changes the cpack generators should now be able to find their tools and how to call these tools from cmake scripts, instead of hardcoding the search order and command line (as done e.g. in cmCPackZIPGenerator.cxx) Alex
* STYLE: mark the variable as advancedAlexander Neundorf2007-07-231-0/+3
| | | | Alex
* ENH: add second failure message parameter toAlexander Neundorf2007-07-2329-54/+55
| | | | | | | | FIND_PACKAGE_HANDLE_STANDARD_ARGS(), so cmake modules can specify their own better failure messages. If the default is ok use "DEFAULT_MSG". Do this also for FindBoost.cmake (#5349) Alex
* ENH: try if tail works with the -n +<number> syntax, if not use onlyAlexander Neundorf2007-07-191-9/+8
| | | | | | "+<number>" (GNU tail warns that this is deprecated) Alex
* ENH: add TK_FOUND and TCLTK_FOUNDAlexander Neundorf2007-07-191-10/+17
| | | | | | | TCL_FOUND is now TRUE if Tcl was found, before it was only TRUE if Tcl and Tk were found Alex
* BUG: fix typoAlexander Neundorf2007-07-191-1/+1
| | | | Alex
* ENH: make the list of modules globalAlexander Neundorf2007-07-191-2/+10
| | | | Alex
* ENH: only load the static modules in the LoadAll functionAlexander Neundorf2007-07-191-3/+4
| | | | Alex
* BUG: fix #5329, if /usr/xpg4/bin/tail exists, use this one -> on SunOSAlexander Neundorf2007-07-192-7/+10
| | | | | | | /usr/bin/tail doesn't understand the -n +<number> syntax -remove standard searchd dirs from FindPHP4.cmake Alex
* ENH: use the new FIND_PACKAGE_HANDLE_STANDARD_ARGS() macro in most of theAlexander Neundorf2007-07-1921-446/+274
| | | | | | | not-too-complicated modules -remove unnecessary default search paths used in the FIND_XXX() calls Alex
* ENH: use the new FIND_PACKAGE_HANDLE_STANDARD_ARGS in some of the FindXXXAlexander Neundorf2007-07-1812-172/+73
| | | | | | | modules, remove some of the extra search paths which are also searched by default Alex
* ENH: add a macro FIND_PACKAGE_HANDLE_STANDARD_ARGS(LibXml2 LIBXML2_LIBRARIES ↵Alexander Neundorf2007-07-184-15/+54
| | | | | | | | LIBXML2_INCLUDE_DIR) which handles the required and QUIET arguments and sets <NAME>_FOUND Alex
* ENH: if CMAKE_(C|CXX)_COMPILER is preset to a list of two elements, use theAlexander Neundorf2007-07-182-1/+18
| | | | | | first one as the compiler and the second one as ARG1 for the compiler Alex
* ENH: also look in the include/, lib/ and bin/ directories in the cmakeAlexander Neundorf2007-07-171-3/+11
| | | | | | | install dir under windows, this will help e.g. people using kdewininstaller and similar setups Alex
* ENH: don't hardcode the /lib/kde3/ directory for the libtool files, but makeAlexander Neundorf2007-07-172-3/+11
| | | | | | it adjustable and detect if libkdecore.so is a 64bit library Alex
* 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