Ken Martin 7965cfb339 fix to find opengl on some osf systems пре 21 година
..
Platform a6b60841db BUG: fix for bug 116 platform files can now specify directories that should not be added by CMAKE пре 21 година
CMakeBackwardCompatibilityC.cmake 69762f4d99 Fix FindX11 to match convention пре 23 година
CMakeBackwardCompatibilityCXX.cmake 4d6dba4c37 ENH: only force the use of ansi flags in backwards mode пре 23 година
CMakeBorlandFindMake.cmake e2d1104881 determine CMAKE_MAKE_PROGRAM in EnableLanguage пре 23 година
CMakeBuildSettings.cmake.in ee72d5740b ENH: Adding CMAKE_EXPORT_BUILD_SETTINGS and CMAKE_IMPORT_BUILD_SETTINGS macro. пре 23 година
CMakeCCompiler.cmake.in 89fe29a41a ENH: reduce the number of times gnu is tested for пре 22 година
CMakeCXXCompiler.cmake.in 89fe29a41a ENH: reduce the number of times gnu is tested for пре 22 година
CMakeDefaultMakeRuleVariables.cmake 8bd124e7d0 ENH: This will probably break some obscure version of gcc, but until then, everybody doing profiling will be happy пре 22 година
CMakeDetermineCCompiler.cmake e7295161f7 ENH: use CFLAGS for testing for gnu пре 22 година
CMakeDetermineCXXCompiler.cmake 89fe29a41a ENH: reduce the number of times gnu is tested for пре 22 година
CMakeDetermineJavaCompiler.cmake 296e731808 FIX: for Windows users, it seems logical to favor native win32 installation before Cygwin ones. Otherwise you can end up with bad mixes (part of the java tools were picked from the SDK, part from Cygwin) пре 22 година
CMakeDetermineSystem.cmake 46aaf2dae8 ERR: On systems where uname does not support -p, try -m. Fixes Bug #426 - CMAKE_SYSTEM_PROCESSOR unknown and inconsistent пре 22 година
CMakeExportBuildSettings.cmake ee72d5740b ENH: Adding CMAKE_EXPORT_BUILD_SETTINGS and CMAKE_IMPORT_BUILD_SETTINGS macro. пре 23 година
CMakeFindFrameworks.cmake 13e9428d2e BUG#423: Fixed search for frameworks on OSX. пре 22 година
CMakeImportBuildSettings.cmake a1d61afcf6 BUG: Comparison of build tool should be case-insensitive. пре 22 година
CMakeJavaCompiler.cmake.in fc52954023 If there is no java compiler report error on ADD_JAVA_LIBRARY пре 23 година
CMakeLists.txt a6bd324605 ENH: Installing readme.txt in Modules directory to be consistent with windows. пре 22 година
CMakeNMakeFindMake.cmake e2d1104881 determine CMAKE_MAKE_PROGRAM in EnableLanguage пре 23 година
CMakePrintSystemInformation.cmake f5d95fb078 Complete rework of makefile generators expect trouble пре 23 година
CMakeSystem.cmake.in 3021918293 ENH: add CMAKE_SYSTEM_PROCESSOR пре 22 година
CMakeSystemSpecificInformation.cmake 0b7d154ebd ENH: add verbose make abilility to visual studio 7 пре 21 година
CMakeTestCCompiler.cmake 802cc38344 BUG#530: Using #error to report a nice error message if the C compiler is set to a C++ compiler. пре 22 година
CMakeTestCXXCompiler.cmake 81be61b153 BUG#411: Re-ordering statements so errors show up in CMakeError.log. пре 22 година
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 година
CMakeTestNMakeCLVersion.c dfcd4f2154 added test for whether pdbtype should be used for nmake пре 22 година
CMakeUnixFindMake.cmake 9992fe5103 BUG: Removed stray debugging message. пре 23 година
CMakeVS6BackwardCompatibility.cmake 6593700f09 added big endian stuff пре 23 година
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 година
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 година
CMakeVS7BackwardCompatibility.cmake 6593700f09 added big endian stuff пре 23 година
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 година
CheckForPthreads.c fad91fb770 ENH: fix tests for non-ansi c on hp and remove warnings for ansi c пре 21 година
CheckFunctionExists.c fad91fb770 ENH: fix tests for non-ansi c on hp and remove warnings for ansi c пре 21 година
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 година
CheckIncludeFile.c.in 1d0d685049 Simplify checking for headers пре 23 година
CheckIncludeFile.cmake f248295d5d ENH: fixes for optional flag arguments to check include macros пре 21 година
CheckIncludeFile.cxx.in f5d95fb078 Complete rework of makefile generators expect trouble пре 23 година
CheckIncludeFileCXX.cmake f248295d5d ENH: fixes for optional flag arguments to check include macros пре 21 година
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 година
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 година
CheckLibraryExists.lists.in 3697ad6dc7 Initial attempt to check if library exists пре 23 година
CheckSizeOf.cmake ea1467d056 ENH: Renamed Modules/CheckSizeOf to Modules/CheckTypeSize for consistency with the macro name that is defined by the module. пре 23 година
CheckSymbolExists.cmake d6ebc123f7 ENH: Extra new line after output пре 22 година
CheckTypeSize.c fad91fb770 ENH: fix tests for non-ansi c on hp and remove warnings for ansi c пре 21 година
CheckTypeSize.cmake db12c17017 ENH: Documentation fix пре 22 година
CheckVariableExists.c a8b2400f7b BUG#502: Do not let optimizing compilers think the symbol exists. Require the symbol by making the return value depend on it to force linking. пре 21 година
CheckVariableExists.cmake c17be8d126 BUG: Message describing variable was using result variable. пре 22 година
Dart.cmake 02d253c59e fix for multiple nexted projects пре 22 година
DartConfiguration.tcl.in 4cf81bab0e ENH: Add suppression file пре 22 година
Documentation.cmake 03bfa86394 ENH: it's time to create a real Microsoft HTML Help Workshop CMake module пре 23 година
DummyCXXFile.cxx 9a6c95fcea add checks for ansi flags and not hard code them пре 23 година
FindAVIFile.cmake 0b288b6121 Fixed mistake in comments пре 23 година
FindCABLE.cmake 2ad267cff3 ENH: Updated search paths to newest values from Cable. пре 22 година
FindCurses.cmake 0d252c941d ENH: Added /lib to curses search path. пре 24 година
FindCygwin.cmake cb4f04c94e Remove unneeded test and code duplication. Add WIN32 test. Make all ADVANCED. пре 24 година
FindDCMTK.cmake 8ba5612136 ENH: contribution from Ian Scott, thanks. пре 21 година
FindDart.cmake e2294ae591 ENH: look for Dart in c: пре 24 година
FindDoxygen.cmake cb4f04c94e Remove unneeded test and code duplication. Add WIN32 test. Make all ADVANCED. пре 24 година
FindFLTK.cmake f6e87dc2f6 ENH: Added /usr/local/lib/fltk пре 22 година
FindGCCXML.cmake 11d50284ed ENH: Updated for version 0.2 of GCC-XML. пре 23 година
FindGLU.cmake 0b288b6121 Fixed mistake in comments пре 23 година
FindGLUT.cmake a688f59519 BUG: fix for bug 743 пре 21 година
FindGTK.cmake 9dbd619b28 BUG: fix for bug 607 пре 21 година
FindGnuplot.cmake 1362bb41c8 Add module to find gnuplot пре 24 година
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 година
FindITK.cmake 7c0844d2f4 BUG#682: Adding environment variable check to FIND_PACKAGE command. пре 21 година
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 година
FindJNI.cmake f171b82377 ENH: Better finding of JNI пре 22 година
FindJPEG.cmake 0b288b6121 Fixed mistake in comments пре 23 година
FindJava.cmake 296e731808 FIX: for Windows users, it seems logical to favor native win32 installation before Cygwin ones. Otherwise you can end up with bad mixes (part of the java tools were picked from the SDK, part from Cygwin) пре 22 година
FindLATEX.cmake a92c58bacc BUG#262: Marking DVIPDF_CONVERTER as advanced. пре 22 година
FindMFC.cmake 038cc6fa01 BUG: fix for bug 506 пре 21 година
FindMPEG.cmake d7ebdb9da0 Add an MPEG finder in the new format - functionality copied from VXL. пре 23 година
FindMPEG2.cmake fde48d14fd merge from branch пре 23 година
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 &quot. Also add more search paths for mpi пре 22 година
FindOpenGL.cmake 7965cfb339 fix to find opengl on some osf systems пре 21 година
FindPHP4.cmake 257daa4635 ENH: Initial import of swig. Start working towards Bug #749 - Add swig support module to cmake пре 21 година
FindPNG.cmake c6323d154b fixed typo пре 23 година
FindPerl.cmake 37f7074269 FIX: the current version of Perl is 5.8 пре 23 година
FindPerlLibs.cmake 257daa4635 ENH: Initial import of swig. Start working towards Bug #749 - Add swig support module to cmake пре 21 година
FindPike.cmake 257daa4635 ENH: Initial import of swig. Start working towards Bug #749 - Add swig support module to cmake пре 21 година
FindPythonLibs.cmake 13e9428d2e BUG#423: Fixed search for frameworks on OSX. пре 22 година
FindQt.cmake de30a184a2 ENH: Add QT_ASSISTANTCLIENT_LIBRARY support. Fixes Bug #425 - Suggsted mod to FindQt.cmake to handle qassistantclient.lib пре 22 година
FindRuby.cmake 257daa4635 ENH: Initial import of swig. Start working towards Bug #749 - Add swig support module to cmake пре 21 година
FindSDL.cmake fde48d14fd merge from branch пре 23 година
FindSWIG.cmake a401922ca3 ENH: More paths пре 21 година
FindSelfPackers.cmake cb4f04c94e Remove unneeded test and code duplication. Add WIN32 test. Make all ADVANCED. пре 24 година
FindTCL.cmake 62fec96d99 ENH: Add TCL_FOUND пре 21 година
FindTIFF.cmake 0b288b6121 Fixed mistake in comments пре 23 година
FindTclsh.cmake 82101f78cf ENH: Added registry check for ActiveState Tcl 8.4.6. пре 21 година
FindThreads.cmake 21ec23413e ERR: Reorganize to try to fix the -pthread problem on some systems пре 22 година
FindUnixCommands.cmake cb4f04c94e Remove unneeded test and code duplication. Add WIN32 test. Make all ADVANCED. пре 24 година
FindVTK.cmake 7c0844d2f4 BUG#682: Adding environment variable check to FIND_PACKAGE command. пре 21 година
FindWget.cmake 5f60153d2f Add helpful message for QT Windows users пре 23 година
FindWish.cmake 2480a83deb ENH: Adding registry entries to search path. пре 22 година
FindX11.cmake d530fbe731 Attempt to fix build problem on some platforms пре 23 година
FindZLIB.cmake f5ea46bbc5 This file should not be empty пре 23 година
FindwxWidgets.cmake ef5387a8ff BUG: fix for bug 618 пре 21 година
FindwxWindows.cmake 5ff05c35d1 BUG: fix bad if statements пре 21 година
MacOSXBundleInfo.plist.in 1dbcfd2a98 ENH: Improve Mac OSX bundle support пре 21 година
TestBigEndian.c fad91fb770 ENH: fix tests for non-ansi c on hp and remove warnings for ansi c пре 21 година
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 година
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 година
TestForANSIForScope.cmake ac8bf0d5ac BUG#374: Adding OUTPUT_VARIABLE OUTPUT to TRY_COMPILE commands. пре 22 година
TestForANSIStreamHeaders.cmake 1e3ddfeecf try to fix check for ansi stream пре 23 година
TestForANSIStreamHeaders.cxx 32b398e55b new try compile module пре 23 година
TestForAnsiForScope.cxx a696dbc815 ERR: Removed warning for unused variable. пре 22 година
TestForSTDNamespace.cmake ac8bf0d5ac BUG#374: Adding OUTPUT_VARIABLE OUTPUT to TRY_COMPILE commands. пре 22 година
TestForSTDNamespace.cxx f5d95fb078 Complete rework of makefile generators expect trouble пре 23 година
UseSWIG.cmake 257daa4635 ENH: Initial import of swig. Start working towards Bug #749 - Add swig support module to cmake пре 21 година
UseVTK40.cmake 14771cf5f6 ENH: Added support for finding/using VTK 4.0 without using its UseVTK.cmake file that does a LOAD_CACHE. пре 23 година
UseVTKBuildSettings40.cmake 14771cf5f6 ENH: Added support for finding/using VTK 4.0 without using its UseVTK.cmake file that does a LOAD_CACHE. пре 23 година
UseVTKConfig40.cmake 1628b593d3 BUG: Copying _LIB_DEPENDS variables requires double-quoted argument. пре 23 година
Use_wxWindows.cmake 4faaf7c877 ENH: Add Use file for wxWindows. Thanks Jan Woetzel пре 22 година
UsewxWidgets.cmake ef5387a8ff BUG: fix for bug 618 пре 21 година
readme.txt 28117a2e4a Add important missing word to documentation пре 23 година

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.