Yves Starreveld 2ff4690192 ENH: remove the -flat_namespace and -undefined suppress hacks from 22 anni fa
..
Platform 2ff4690192 ENH: remove the -flat_namespace and -undefined suppress hacks from 22 anni fa
CMakeBackwardCompatibilityC.cmake 69762f4d99 Fix FindX11 to match convention 23 anni fa
CMakeBackwardCompatibilityCXX.cmake 4d6dba4c37 ENH: only force the use of ansi flags in backwards mode 23 anni fa
CMakeBorlandFindMake.cmake e2d1104881 determine CMAKE_MAKE_PROGRAM in EnableLanguage 23 anni fa
CMakeBuildSettings.cmake.in ee72d5740b ENH: Adding CMAKE_EXPORT_BUILD_SETTINGS and CMAKE_IMPORT_BUILD_SETTINGS macro. 23 anni fa
CMakeCCompiler.cmake.in a413160fec ENH: add the unix makefile generator as an option from the windows GUI, this builds with mingw, cygwin, and combinations of make cl, bcc32 22 anni fa
CMakeCXXCompiler.cmake.in d1051bb575 clean up flags with _init flags 23 anni fa
CMakeDefaultMakeRuleVariables.cmake 61cd9298cd ENH: Added <LINK_FLAGS> to link rules. 23 anni fa
CMakeDetermineCCompiler.cmake a413160fec ENH: add the unix makefile generator as an option from the windows GUI, this builds with mingw, cygwin, and combinations of make cl, bcc32 22 anni fa
CMakeDetermineCXXCompiler.cmake 8149dbed29 ENH: Cleanups and add missing CMakeOutput.log and CMakeError.log appending. Close Bug #136 - Verify that all modules that do try compile produce CMakeError.log and CMakeOutput.log 22 anni fa
CMakeDetermineJavaCompiler.cmake bd74882d3e ENH: use CMAKE_ROOT and not PROJECT_ for try compile stuff, this allows projects within projects to have different languages 23 anni fa
CMakeDetermineSystem.cmake 8149dbed29 ENH: Cleanups and add missing CMakeOutput.log and CMakeError.log appending. Close Bug #136 - Verify that all modules that do try compile produce CMakeError.log and CMakeOutput.log 22 anni fa
CMakeExportBuildSettings.cmake ee72d5740b ENH: Adding CMAKE_EXPORT_BUILD_SETTINGS and CMAKE_IMPORT_BUILD_SETTINGS macro. 23 anni fa
CMakeImportBuildSettings.cmake f9eb32fc6e ENH: Using only filename without path or extension for comparing build tools. 23 anni fa
CMakeJavaCompiler.cmake.in fc52954023 If there is no java compiler report error on ADD_JAVA_LIBRARY 23 anni fa
CMakeLists.txt a6bd324605 ENH: Installing readme.txt in Modules directory to be consistent with windows. 22 anni fa
CMakeNMakeFindMake.cmake e2d1104881 determine CMAKE_MAKE_PROGRAM in EnableLanguage 23 anni fa
CMakePrintSystemInformation.cmake f5d95fb078 Complete rework of makefile generators expect trouble 23 anni fa
CMakeSystem.cmake.in 3021918293 ENH: add CMAKE_SYSTEM_PROCESSOR 22 anni fa
CMakeSystemSpecificInformation.cmake a413160fec ENH: add the unix makefile generator as an option from the windows GUI, this builds with mingw, cygwin, and combinations of make cl, bcc32 22 anni fa
CMakeTestCCompiler.cmake ae28d81894 ERR: Fixed typo in comment. 22 anni fa
CMakeTestCXXCompiler.cmake ae28d81894 ERR: Fixed typo in comment. 22 anni fa
CMakeTestGNU.c a413160fec ENH: add the unix makefile generator as an option from the windows GUI, this builds with mingw, cygwin, and combinations of make cl, bcc32 22 anni fa
CMakeTestNMakeCLVersion.c dfcd4f2154 added test for whether pdbtype should be used for nmake 22 anni fa
CMakeUnixFindMake.cmake 9992fe5103 BUG: Removed stray debugging message. 23 anni fa
CMakeVS6BackwardCompatibility.cmake 6593700f09 added big endian stuff 23 anni fa
CMakeVS6FindMake.cmake 8149dbed29 ENH: Cleanups and add missing CMakeOutput.log and CMakeError.log appending. Close Bug #136 - Verify that all modules that do try compile produce CMakeError.log and CMakeOutput.log 22 anni fa
CMakeVS71FindMake.cmake 8149dbed29 ENH: Cleanups and add missing CMakeOutput.log and CMakeError.log appending. Close Bug #136 - Verify that all modules that do try compile produce CMakeError.log and CMakeOutput.log 22 anni fa
CMakeVS7BackwardCompatibility.cmake 6593700f09 added big endian stuff 23 anni fa
CMakeVS7FindMake.cmake 8149dbed29 ENH: Cleanups and add missing CMakeOutput.log and CMakeError.log appending. Close Bug #136 - Verify that all modules that do try compile produce CMakeError.log and CMakeOutput.log 22 anni fa
CheckForPthreads.c ff5f0312de ENH: Do better test for pthreads 22 anni fa
CheckFunctionExists.c 76e9af1575 Add two commonly used modules. First one checks if the function exists, the second one checks the size of type 23 anni fa
CheckFunctionExists.cmake 8149dbed29 ENH: Cleanups and add missing CMakeOutput.log and CMakeError.log appending. Close Bug #136 - Verify that all modules that do try compile produce CMakeError.log and CMakeOutput.log 22 anni fa
CheckIncludeFile.c.in 1d0d685049 Simplify checking for headers 23 anni fa
CheckIncludeFile.cmake 8149dbed29 ENH: Cleanups and add missing CMakeOutput.log and CMakeError.log appending. Close Bug #136 - Verify that all modules that do try compile produce CMakeError.log and CMakeOutput.log 22 anni fa
CheckIncludeFile.cxx.in f5d95fb078 Complete rework of makefile generators expect trouble 23 anni fa
CheckIncludeFileCXX.cmake 8149dbed29 ENH: Cleanups and add missing CMakeOutput.log and CMakeError.log appending. Close Bug #136 - Verify that all modules that do try compile produce CMakeError.log and CMakeOutput.log 22 anni fa
CheckIncludeFiles.cmake 8149dbed29 ENH: Cleanups and add missing CMakeOutput.log and CMakeError.log appending. Close Bug #136 - Verify that all modules that do try compile produce CMakeError.log and CMakeOutput.log 22 anni fa
CheckLibraryExists.cmake 8149dbed29 ENH: Cleanups and add missing CMakeOutput.log and CMakeError.log appending. Close Bug #136 - Verify that all modules that do try compile produce CMakeError.log and CMakeOutput.log 22 anni fa
CheckLibraryExists.lists.in 3697ad6dc7 Initial attempt to check if library exists 23 anni fa
CheckSizeOf.cmake ea1467d056 ENH: Renamed Modules/CheckSizeOf to Modules/CheckTypeSize for consistency with the macro name that is defined by the module. 23 anni fa
CheckSymbolExists.cmake d6ebc123f7 ENH: Extra new line after output 22 anni fa
CheckTypeSize.c ea1467d056 ENH: Renamed Modules/CheckSizeOf to Modules/CheckTypeSize for consistency with the macro name that is defined by the module. 23 anni fa
CheckTypeSize.cmake 8149dbed29 ENH: Cleanups and add missing CMakeOutput.log and CMakeError.log appending. Close Bug #136 - Verify that all modules that do try compile produce CMakeError.log and CMakeOutput.log 22 anni fa
CheckVariableExists.c 9a98c16803 ENH: Added CHECK_VARIABLE_EXISTS macro. 23 anni fa
CheckVariableExists.cmake 8149dbed29 ENH: Cleanups and add missing CMakeOutput.log and CMakeError.log appending. Close Bug #136 - Verify that all modules that do try compile produce CMakeError.log and CMakeOutput.log 22 anni fa
Dart.cmake 0b0a732f26 ENH: Take Purify out because it is not implemented yet 22 anni fa
DartConfiguration.tcl.in bec9b174f5 ENH: Fix some dart issues. Now it works fine without dart. 23 anni fa
Documentation.cmake 03bfa86394 ENH: it's time to create a real Microsoft HTML Help Workshop CMake module 23 anni fa
DummyCXXFile.cxx 9a6c95fcea add checks for ansi flags and not hard code them 23 anni fa
FindAVIFile.cmake 0b288b6121 Fixed mistake in comments 23 anni fa
FindCABLE.cmake 2ad267cff3 ENH: Updated search paths to newest values from Cable. 23 anni fa
FindCurses.cmake 0d252c941d ENH: Added /lib to curses search path. 24 anni fa
FindCygwin.cmake cb4f04c94e Remove unneeded test and code duplication. Add WIN32 test. Make all ADVANCED. 24 anni fa
FindDart.cmake e2294ae591 ENH: look for Dart in c: 24 anni fa
FindDoxygen.cmake cb4f04c94e Remove unneeded test and code duplication. Add WIN32 test. Make all ADVANCED. 24 anni fa
FindFLTK.cmake f6e87dc2f6 ENH: Added /usr/local/lib/fltk 23 anni fa
FindGCCXML.cmake 11d50284ed ENH: Updated for version 0.2 of GCC-XML. 24 anni fa
FindGLU.cmake 0b288b6121 Fixed mistake in comments 23 anni fa
FindGLUT.cmake 93d38e24cc ENH: Description of variables now specifies that the full path is required. 23 anni fa
FindGTK.cmake e727d34b48 More variables advanced 23 anni fa
FindGnuplot.cmake 1362bb41c8 Add module to find gnuplot 24 anni fa
FindHTMLHelp.cmake 8149dbed29 ENH: Cleanups and add missing CMakeOutput.log and CMakeError.log appending. Close Bug #136 - Verify that all modules that do try compile produce CMakeError.log and CMakeOutput.log 22 anni fa
FindITK.cmake c79abbd99c ENH: Enhanced FindITK supporting use of ITK from an install tree or a build tree. Only one cache entry is brought into user's project, called "ITK_DIR". This is the location of an ITKConfig.cmake file from which other settings are loaded. 23 anni fa
FindImageMagick.cmake 5e366c361d IMPORTANT FIX: be extra-careful here on WIN32, we do NOT want CMake to look in the system's PATH env var to search for ImageMagick's convert.exe, otherwise it is going to pick Microsoft Window's own convert.exe, which is used to convert FAT partitions to NTFS format ! Depending on the options passed to convert.exe, there is a good chance you would kiss your hard-disk good-bye. 23 anni fa
FindJNI.cmake fd89ebbbaf Ok, now it finds JNI on Mac OSX 10.2 23 anni fa
FindJPEG.cmake 0b288b6121 Fixed mistake in comments 23 anni fa
FindJava.cmake 2281726935 Clean find for Python, add find for python 2.2 on windows, cleanup java on windows and add java 1.4 support 23 anni fa
FindLATEX.cmake af721186a1 BUG: Fix Bug #156 - ps2pdf is not found on linux 22 anni fa
FindMFC.cmake 8149dbed29 ENH: Cleanups and add missing CMakeOutput.log and CMakeError.log appending. Close Bug #136 - Verify that all modules that do try compile produce CMakeError.log and CMakeOutput.log 22 anni fa
FindMPEG.cmake d7ebdb9da0 Add an MPEG finder in the new format - functionality copied from VXL. 23 anni fa
FindMPEG2.cmake fde48d14fd merge from branch 23 anni fa
FindMPI.cmake 4a1412b0cb BUG: fix for bugs 125 - 128, and a fix for the bug introduced by the bug fix for but 92. & was being replaced with &amp, but after double quote was replaced with &quot causing it to be &amp;quot. Also add more search paths for mpi 22 anni fa
FindOpenGL.cmake 15fc30ae40 ENH: add checking for NOTFOUND 23 anni fa
FindPNG.cmake c6323d154b fixed typo 23 anni fa
FindPerl.cmake 37f7074269 FIX: the current version of Perl is 5.8 23 anni fa
FindPythonLibs.cmake 624a222df3 ENH: Find python framework on Mac OSX. 23 anni fa
FindQt.cmake 8a0e3c103b ENH: Make it work for QT 2.3 non commercial on windows 22 anni fa
FindSDL.cmake fde48d14fd merge from branch 23 anni fa
FindSelfPackers.cmake cb4f04c94e Remove unneeded test and code duplication. Add WIN32 test. Make all ADVANCED. 24 anni fa
FindTCL.cmake a086d08311 ENH: Use the Mac -framework for Tk if it is available. 23 anni fa
FindTIFF.cmake 0b288b6121 Fixed mistake in comments 23 anni fa
FindTclsh.cmake 7f91fc35a2 look for cygtcl83 23 anni fa
FindThreads.cmake 21ec23413e ERR: Reorganize to try to fix the -pthread problem on some systems 22 anni fa
FindUnixCommands.cmake cb4f04c94e Remove unneeded test and code duplication. Add WIN32 test. Make all ADVANCED. 24 anni fa
FindVTK.cmake e450309ca3 ENH: Improved error message for VTK_DIR not found to refer to it as a cache entry. Some users thought this was supposed to be an environment variable. 22 anni fa
FindWget.cmake 5f60153d2f Add helpful message for QT Windows users 23 anni fa
FindWish.cmake 74da9fb78e Add better detection of wish 8.2 24 anni fa
FindX11.cmake d530fbe731 Attempt to fix build problem on some platforms 23 anni fa
FindZLIB.cmake f5ea46bbc5 This file should not be empty 23 anni fa
FindwxWindows.cmake 0270b60b8f ERR: If WX_CONFIG_LIBS are , then you get weird cmake error. This should fix it 22 anni fa
TestBigEndian.c dfb25dd982 Add test for big endian 23 anni fa
TestBigEndian.cmake 8149dbed29 ENH: Cleanups and add missing CMakeOutput.log and CMakeError.log appending. Close Bug #136 - Verify that all modules that do try compile produce CMakeError.log and CMakeOutput.log 22 anni fa
TestCXXAcceptsFlag.cmake 8149dbed29 ENH: Cleanups and add missing CMakeOutput.log and CMakeError.log appending. Close Bug #136 - Verify that all modules that do try compile produce CMakeError.log and CMakeOutput.log 22 anni fa
TestForANSIForScope.cmake 8149dbed29 ENH: Cleanups and add missing CMakeOutput.log and CMakeError.log appending. Close Bug #136 - Verify that all modules that do try compile produce CMakeError.log and CMakeOutput.log 22 anni fa
TestForANSIStreamHeaders.cmake 1e3ddfeecf try to fix check for ansi stream 23 anni fa
TestForANSIStreamHeaders.cxx 32b398e55b new try compile module 23 anni fa
TestForAnsiForScope.cxx a696dbc815 ERR: Removed warning for unused variable. 23 anni fa
TestForSTDNamespace.cmake 8149dbed29 ENH: Cleanups and add missing CMakeOutput.log and CMakeError.log appending. Close Bug #136 - Verify that all modules that do try compile produce CMakeError.log and CMakeOutput.log 22 anni fa
TestForSTDNamespace.cxx f5d95fb078 Complete rework of makefile generators expect trouble 23 anni fa
UseVTK40.cmake 14771cf5f6 ENH: Added support for finding/using VTK 4.0 without using its UseVTK.cmake file that does a LOAD_CACHE. 23 anni fa
UseVTKBuildSettings40.cmake 14771cf5f6 ENH: Added support for finding/using VTK 4.0 without using its UseVTK.cmake file that does a LOAD_CACHE. 23 anni fa
UseVTKConfig40.cmake 1628b593d3 BUG: Copying _LIB_DEPENDS variables requires double-quoted argument. 23 anni fa
Use_wxWindows.cmake 4faaf7c877 ENH: Add Use file for wxWindows. Thanks Jan Woetzel 22 anni fa
readme.txt 28117a2e4a Add important missing word to documentation 23 anni fa

readme.txt

Note to authors of FindXXX.cmake files

We would like all FindXXX.cmake files to produce consistent variable names.

Please use the following consistent variable names for general use.

XXX_INCLUDE_DIR Where to find xxx.h, etc. If for some reason, you really need two paths, then that shouldn't be a problem - however, consider if you really should have two different FindXXX.cmake files. (XXX_INCLUDE_PATH was considered bad because a path includes an actual filename.)
XXX_LIBRARIES The libraries to link against to use XXX. These should include full paths.
XXX_DEFINITIONS Definitions to use when compiling code that uses XXX. This really shouldn't include options such as (-DHAS_JPEG)that a client source-code file uses to decide whether to #include
XXX_EXECUTABLE Where to find the XXX tool.
XXX_YYY_EXECUTABLE Where to find the YYY tool that comes with XXX.
XXX_ROOT_DIR Where to find the base directory of XXX.
XXX_VERSION_YY Expect Version YY if true. Make sure at most one of these is ever true.
XXX_WRAP_YY If False, do not try to use the relevent CMake wrapping command.
XXX_YY_FOUND If False, optional YY part of XXX sytem is not available.
XXX_FOUND Set to false, or undefined, if we haven't found, or don't want to use XXX.

You do not have to provide all of the above variables. You should provide XXX_FOUND under most circumstances. If XXX is a library, then XXX_LIBRARIES, should also be defined, and XXX_INCLUDE_DIR should usually be defined (I guess libm.a might be an exception)

The following names should not usually be used in CMakeLists.txt files, but they may be usefully modified in users' CMake Caches to control stuff.

XXX_LIBRARY Name of XXX Library. A User may set this and XXX_INCLUDE_DIR to ignore to force non-use of XXX.
XXX_YY_LIBRARY Name of YY library that is part of the XXX system. It may or may not be required to use XXX.

For tidiness's sake, try to keep as many options as possible out of the cache, leaving at least one option which can be used to disable use of the module, or locate a not-found library (e.g. XXX_ROOT_DIR). For the same reason, mark most cache options as advanced.

If you need other commands to do special things then it should still begin with XXX_. This gives a sort of namespace effect and keeps things tidy for the user. You should put comments describing all the exported settings, plus descriptions of any the users can use to control stuff.

You really should also provide backwards compatibility any old settings that were actually in use. Make sure you comment them as deprecated, so that no-one starts using them.