Sebastien Barre 4220725f64 FIX: vor 23 Jahren
..
Platform b05c5e89ed minor change to default compile flags vor 23 Jahren
CMakeBackwardCompatibilityC.cmake 69762f4d99 Fix FindX11 to match convention vor 23 Jahren
CMakeBackwardCompatibilityCXX.cmake 4d6dba4c37 ENH: only force the use of ansi flags in backwards mode vor 23 Jahren
CMakeBorlandFindMake.cmake e2d1104881 determine CMAKE_MAKE_PROGRAM in EnableLanguage vor 23 Jahren
CMakeBuildSettings.cmake.in ee72d5740b ENH: Adding CMAKE_EXPORT_BUILD_SETTINGS and CMAKE_IMPORT_BUILD_SETTINGS macro. vor 23 Jahren
CMakeCCompiler.cmake.in ee42cf3c06 BUG: use CMAKE_COMPILER_IS_GNUCC not CMAKE_COMPILER_IS_GNUGCC vor 23 Jahren
CMakeCXXCompiler.cmake.in d1051bb575 clean up flags with _init flags vor 23 Jahren
CMakeDefaultMakeRuleVariables.cmake 61cd9298cd ENH: Added <LINK_FLAGS> to link rules. vor 23 Jahren
CMakeDetermineCCompiler.cmake 2f4ea98a4c add a fatal error, and make sure c and c++ compilers work before using them vor 23 Jahren
CMakeDetermineCXXCompiler.cmake 2f4ea98a4c add a fatal error, and make sure c and c++ compilers work before using them vor 23 Jahren
CMakeDetermineJavaCompiler.cmake bd74882d3e ENH: use CMAKE_ROOT and not PROJECT_ for try compile stuff, this allows projects within projects to have different languages vor 23 Jahren
CMakeDetermineSystem.cmake bd74882d3e ENH: use CMAKE_ROOT and not PROJECT_ for try compile stuff, this allows projects within projects to have different languages vor 23 Jahren
CMakeExportBuildSettings.cmake ee72d5740b ENH: Adding CMAKE_EXPORT_BUILD_SETTINGS and CMAKE_IMPORT_BUILD_SETTINGS macro. vor 23 Jahren
CMakeImportBuildSettings.cmake f9eb32fc6e ENH: Using only filename without path or extension for comparing build tools. vor 23 Jahren
CMakeJavaCompiler.cmake.in fc52954023 If there is no java compiler report error on ADD_JAVA_LIBRARY vor 23 Jahren
CMakeLists.txt 5b9a880bfb add install stuff for platform directory vor 23 Jahren
CMakeNMakeFindMake.cmake e2d1104881 determine CMAKE_MAKE_PROGRAM in EnableLanguage vor 23 Jahren
CMakePrintSystemInformation.cmake f5d95fb078 Complete rework of makefile generators expect trouble vor 23 Jahren
CMakeSystem.cmake.in d1051bb575 clean up flags with _init flags vor 23 Jahren
CMakeSystemSpecificInformation.cmake 99f115d1fd better docs vor 23 Jahren
CMakeTestCCompiler.cmake 950399ec9d ENH: only run test for working c and cxx compiler once vor 23 Jahren
CMakeTestCXXCompiler.cmake 950399ec9d ENH: only run test for working c and cxx compiler once vor 23 Jahren
CMakeTestGNU.c fe26cf51f5 ERR: Fixed syntax errors for picky preprocessors. vor 23 Jahren
CMakeUnixFindMake.cmake 9992fe5103 BUG: Removed stray debugging message. vor 23 Jahren
CMakeVS6BackwardCompatibility.cmake 6593700f09 added big endian stuff vor 23 Jahren
CMakeVS6FindMake.cmake 96189f79d5 ENH: unify EnableLanguage across all generators vor 23 Jahren
CMakeVS7BackwardCompatibility.cmake 6593700f09 added big endian stuff vor 23 Jahren
CMakeVS7FindMake.cmake 96189f79d5 ENH: unify EnableLanguage across all generators vor 23 Jahren
CheckFunctionExists.c 76e9af1575 Add two commonly used modules. First one checks if the function exists, the second one checks the size of type vor 23 Jahren
CheckFunctionExists.cmake 668b3f3cea Fix problems with required flags vor 23 Jahren
CheckIncludeFile.c.in 1d0d685049 Simplify checking for headers vor 23 Jahren
CheckIncludeFile.cmake e720b84d6b Add required flags vor 23 Jahren
CheckIncludeFile.cxx.in f5d95fb078 Complete rework of makefile generators expect trouble vor 23 Jahren
CheckIncludeFileCXX.cmake 4d6dba4c37 ENH: only force the use of ansi flags in backwards mode vor 23 Jahren
CheckIncludeFiles.cmake 6c9d1983d7 This list can be really long. Only display the variable name vor 23 Jahren
CheckLibraryExists.cmake 668b3f3cea Fix problems with required flags vor 23 Jahren
CheckLibraryExists.lists.in 3697ad6dc7 Initial attempt to check if library exists vor 23 Jahren
CheckSizeOf.cmake ea1467d056 ENH: Renamed Modules/CheckSizeOf to Modules/CheckTypeSize for consistency with the macro name that is defined by the module. vor 23 Jahren
CheckSymbolExists.cmake d87595ede3 Add macro for checking if symbol exists vor 23 Jahren
CheckTypeSize.c ea1467d056 ENH: Renamed Modules/CheckSizeOf to Modules/CheckTypeSize for consistency with the macro name that is defined by the module. vor 23 Jahren
CheckTypeSize.cmake dfa4cbd19e minor fix to backw compat vor 23 Jahren
CheckVariableExists.c 9a98c16803 ENH: Added CHECK_VARIABLE_EXISTS macro. vor 23 Jahren
CheckVariableExists.cmake 668b3f3cea Fix problems with required flags vor 23 Jahren
Dart.cmake 96189f79d5 ENH: unify EnableLanguage across all generators vor 23 Jahren
Documentation.cmake 03bfa86394 ENH: it's time to create a real Microsoft HTML Help Workshop CMake module vor 23 Jahren
DummyCXXFile.cxx 9a6c95fcea add checks for ansi flags and not hard code them vor 23 Jahren
FindAVIFile.cmake 0b288b6121 Fixed mistake in comments vor 23 Jahren
FindCABLE.cmake 3d3d7a9146 BUG: Should not load CMAKE_INSTALL_PREFIX from the cache. vor 23 Jahren
FindCurses.cmake 0d252c941d ENH: Added /lib to curses search path. vor 24 Jahren
FindCygwin.cmake cb4f04c94e Remove unneeded test and code duplication. Add WIN32 test. Make all ADVANCED. vor 24 Jahren
FindDart.cmake e2294ae591 ENH: look for Dart in c: vor 24 Jahren
FindDoxygen.cmake cb4f04c94e Remove unneeded test and code duplication. Add WIN32 test. Make all ADVANCED. vor 24 Jahren
FindFLTK.cmake b20d232855 FIX: Quotes added around the list of libs to be added in Apple. vor 23 Jahren
FindGCCXML.cmake 11d50284ed ENH: Updated for version 0.2 of GCC-XML. vor 24 Jahren
FindGLU.cmake 0b288b6121 Fixed mistake in comments vor 23 Jahren
FindGLUT.cmake 93d38e24cc ENH: Description of variables now specifies that the full path is required. vor 23 Jahren
FindGTK.cmake 5e319f5b9b GL should not be a completely necessary thing for finding GTK. This will find gtk and GL but also just GTK vor 23 Jahren
FindGnuplot.cmake 1362bb41c8 Add module to find gnuplot vor 24 Jahren
FindHTMLHelp.cmake 03bfa86394 ENH: it's time to create a real Microsoft HTML Help Workshop CMake module vor 23 Jahren
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. vor 23 Jahren
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. vor 23 Jahren
FindJNI.cmake 2281726935 Clean find for Python, add find for python 2.2 on windows, cleanup java on windows and add java 1.4 support vor 23 Jahren
FindJPEG.cmake 0b288b6121 Fixed mistake in comments vor 23 Jahren
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 vor 23 Jahren
FindLATEX.cmake 4220725f64 FIX: vor 23 Jahren
FindMFC.cmake 0059db268c A simple FindMFC module for consistency vor 23 Jahren
FindMPEG.cmake d7ebdb9da0 Add an MPEG finder in the new format - functionality copied from VXL. vor 23 Jahren
FindMPEG2.cmake fde48d14fd merge from branch vor 23 Jahren
FindMPI.cmake 555a7f88aa Add mpi search paths for Debian vor 24 Jahren
FindOpenGL.cmake 56acc4bf2e merge from branch vor 23 Jahren
FindPNG.cmake c6323d154b fixed typo vor 23 Jahren
FindPerl.cmake 37f7074269 FIX: the current version of Perl is 5.8 vor 23 Jahren
FindPythonLibs.cmake 624a222df3 ENH: Find python framework on Mac OSX. vor 23 Jahren
FindQt.cmake 6c61762b0f merge from branch vor 23 Jahren
FindSDL.cmake fde48d14fd merge from branch vor 23 Jahren
FindSelfPackers.cmake cb4f04c94e Remove unneeded test and code duplication. Add WIN32 test. Make all ADVANCED. vor 24 Jahren
FindTCL.cmake a086d08311 ENH: Use the Mac -framework for Tk if it is available. vor 23 Jahren
FindTIFF.cmake 0b288b6121 Fixed mistake in comments vor 23 Jahren
FindTclsh.cmake 7f91fc35a2 look for cygtcl83 vor 23 Jahren
FindThreads.cmake d05716c498 BUG: fix for thread and cache override vor 23 Jahren
FindUnixCommands.cmake cb4f04c94e Remove unneeded test and code duplication. Add WIN32 test. Make all ADVANCED. vor 24 Jahren
FindVTK.cmake 0b324df1bb ENH: Updated documentation. vor 23 Jahren
FindWget.cmake 5f60153d2f Add helpful message for QT Windows users vor 23 Jahren
FindWish.cmake 74da9fb78e Add better detection of wish 8.2 vor 24 Jahren
FindX11.cmake ece369eaf3 BUG: fix missed CMAKE to X11 variable name vor 23 Jahren
FindZLIB.cmake f5ea46bbc5 This file should not be empty vor 23 Jahren
FindwxWindows.cmake 5e84aca2f1 Change priorities vor 23 Jahren
TestBigEndian.c dfb25dd982 Add test for big endian vor 23 Jahren
TestBigEndian.cmake bd74882d3e ENH: use CMAKE_ROOT and not PROJECT_ for try compile stuff, this allows projects within projects to have different languages vor 23 Jahren
TestCXXAcceptsFlag.cmake bd74882d3e ENH: use CMAKE_ROOT and not PROJECT_ for try compile stuff, this allows projects within projects to have different languages vor 23 Jahren
TestForANSIForScope.cmake 4d6dba4c37 ENH: only force the use of ansi flags in backwards mode vor 23 Jahren
TestForANSIStreamHeaders.cmake 1e3ddfeecf try to fix check for ansi stream vor 23 Jahren
TestForANSIStreamHeaders.cxx 32b398e55b new try compile module vor 23 Jahren
TestForAnsiForScope.cxx f5d95fb078 Complete rework of makefile generators expect trouble vor 23 Jahren
TestForSTDNamespace.cmake 4d6dba4c37 ENH: only force the use of ansi flags in backwards mode vor 23 Jahren
TestForSTDNamespace.cxx f5d95fb078 Complete rework of makefile generators expect trouble vor 23 Jahren
UseVTK40.cmake 14771cf5f6 ENH: Added support for finding/using VTK 4.0 without using its UseVTK.cmake file that does a LOAD_CACHE. vor 23 Jahren
UseVTKBuildSettings40.cmake 14771cf5f6 ENH: Added support for finding/using VTK 4.0 without using its UseVTK.cmake file that does a LOAD_CACHE. vor 23 Jahren
UseVTKConfig40.cmake 14771cf5f6 ENH: Added support for finding/using VTK 4.0 without using its UseVTK.cmake file that does a LOAD_CACHE. vor 23 Jahren
readme.txt 28117a2e4a Add important missing word to documentation vor 23 Jahren

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.