Alexander Neundorf d253baab99 ENH: add real-world-tested and used KDE3 support, and obsolete FindKDE.cmake, which wasn't used by anybody that I heard of 20 vuotta sitten
..
Platform 592aef9703 ENH: add support for language flags that allow for universal binaries 20 vuotta sitten
CMake.cmake b7fa820118 ENH: add documentation support for modules 20 vuotta sitten
CMakeAddNewLanguage.txt 8be3e4eeca ENH: clean up EnableLanguage try to fix problem where try compile runs cmake 20 vuotta sitten
CMakeBackwardCompatibilityC.cmake b7fa820118 ENH: add documentation support for modules 20 vuotta sitten
CMakeBackwardCompatibilityCXX.cmake 9891260a6d ENH: add support for watcom wmake and wcl386 20 vuotta sitten
CMakeBorlandFindMake.cmake e2d1104881 determine CMAKE_MAKE_PROGRAM in EnableLanguage 23 vuotta sitten
CMakeBuildSettings.cmake.in ee72d5740b ENH: Adding CMAKE_EXPORT_BUILD_SETTINGS and CMAKE_IMPORT_BUILD_SETTINGS macro. 23 vuotta sitten
CMakeCCompiler.cmake.in aa98e3647d ENH: fix more than one argument passed in to compilers via environment 20 vuotta sitten
CMakeCInformation.cmake 3f532f5489 ENH: add support for language flags at rule expansion time 20 vuotta sitten
CMakeCXXCompiler.cmake.in b78d936ecf BUG: Need to duplicate some information from CMakeCCompiler to support C++-only projects. 20 vuotta sitten
CMakeCXXInformation.cmake 3f532f5489 ENH: add support for language flags at rule expansion time 20 vuotta sitten
CMakeCommonLanguageInclude.cmake b7fa820118 ENH: add documentation support for modules 20 vuotta sitten
CMakeConfigurableFile.in 01a55559dd ENH: Make modules use configure instead of file write 20 vuotta sitten
CMakeDetermineCCompiler.cmake e015df7d06 ENH: better finding of mingw from msys, and delete CMakeFiles directory when cache is deleted 20 vuotta sitten
CMakeDetermineCXXCompiler.cmake aa98e3647d ENH: fix more than one argument passed in to compilers via environment 20 vuotta sitten
CMakeDetermineFortranCompiler.cmake aa98e3647d ENH: fix more than one argument passed in to compilers via environment 20 vuotta sitten
CMakeDetermineJavaCompiler.cmake aa98e3647d ENH: fix more than one argument passed in to compilers via environment 20 vuotta sitten
CMakeDetermineRCCompiler.cmake aa98e3647d ENH: fix more than one argument passed in to compilers via environment 20 vuotta sitten
CMakeDetermineSystem.cmake b7fa820118 ENH: add documentation support for modules 20 vuotta sitten
CMakeExportBuildSettings.cmake d2689c95a1 ENH: some style fixes for the book 20 vuotta sitten
CMakeFindFrameworks.cmake b7fa820118 ENH: add documentation support for modules 20 vuotta sitten
CMakeFindWMake.cmake 9891260a6d ENH: add support for watcom wmake and wcl386 20 vuotta sitten
CMakeFindXCode.cmake 8960a220a9 ENH: add trycompile code for xcode 21 vuotta sitten
CMakeFortranCompiler.cmake.in b8b298104b ENH: make sure flags set in CC or CXX environment variables stay with the compiler 20 vuotta sitten
CMakeFortranInformation.cmake 3f532f5489 ENH: add support for language flags at rule expansion time 20 vuotta sitten
CMakeGenericSystem.cmake 33587ce376 ENH: Added platform settings CMAKE_FIND_LIBRARY_PREFIXES and CMAKE_FIND_LIBRARY_SUFFIXES to allow customized searching for libraries. 20 vuotta sitten
CMakeImportBuildSettings.cmake d2689c95a1 ENH: some style fixes for the book 20 vuotta sitten
CMakeJavaCompiler.cmake.in b8b298104b ENH: make sure flags set in CC or CXX environment variables stay with the compiler 20 vuotta sitten
CMakeJavaInformation.cmake 2f78d874a7 ENH: fix for bug 2921, move _OVERRIDE variable to a better position to allow changing _INIT variables 20 vuotta sitten
CMakeLists.txt a6bd324605 ENH: Installing readme.txt in Modules directory to be consistent with windows. 22 vuotta sitten
CMakeMSYSFindMake.cmake 5042581f43 ENH: better algorithm for looking for make and gcc on msys and mingw 20 vuotta sitten
CMakeMinGWFindMake.cmake 5042581f43 ENH: better algorithm for looking for make and gcc on msys and mingw 20 vuotta sitten
CMakeNMakeFindMake.cmake e2d1104881 determine CMAKE_MAKE_PROGRAM in EnableLanguage 23 vuotta sitten
CMakePrintSystemInformation.cmake b7fa820118 ENH: add documentation support for modules 20 vuotta sitten
CMakeRCCompiler.cmake.in b8b298104b ENH: make sure flags set in CC or CXX environment variables stay with the compiler 20 vuotta sitten
CMakeRCInformation.cmake 718de4cea5 ENH: fix spelling errors 20 vuotta sitten
CMakeSystem.cmake.in 3021918293 ENH: add CMAKE_SYSTEM_PROCESSOR 22 vuotta sitten
CMakeSystemSpecificInformation.cmake b7fa820118 ENH: add documentation support for modules 20 vuotta sitten
CMakeTestCCompiler.cmake 4bdca3b404 ENH: put CmakeTmp into CMakeFiles 20 vuotta sitten
CMakeTestCXXCompiler.cmake 4bdca3b404 ENH: put CmakeTmp into CMakeFiles 20 vuotta sitten
CMakeTestForFreeVC.cxx 0d4cd0436b ENH better test for free VC tools 21 vuotta sitten
CMakeTestFortranCompiler.cmake 4bdca3b404 ENH: put CmakeTmp into CMakeFiles 20 vuotta sitten
CMakeTestGNU.c 6b31e5c851 BUG: fix problem where cmake thinks the intel compiler is gnu 21 vuotta sitten
CMakeTestJavaCompiler.cmake b7fa820118 ENH: add documentation support for modules 20 vuotta sitten
CMakeTestNMakeCLVersion.c dfcd4f2154 added test for whether pdbtype should be used for nmake 22 vuotta sitten
CMakeTestRCCompiler.cmake b7fa820118 ENH: add documentation support for modules 20 vuotta sitten
CMakeUnixFindMake.cmake 9992fe5103 BUG: Removed stray debugging message. 23 vuotta sitten
CMakeVS6BackwardCompatibility.cmake b7fa820118 ENH: add documentation support for modules 20 vuotta sitten
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 vuotta sitten
CMakeVS71FindMake.cmake 7603244509 ENH: use program files env for searching 20 vuotta sitten
CMakeVS7BackwardCompatibility.cmake b7fa820118 ENH: add documentation support for modules 20 vuotta sitten
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 vuotta sitten
CMakeVS8FindMake.cmake deece7eed0 ENH: look for VCExpress first 20 vuotta sitten
CPack.Description.plist.in 5358809a5c ENH: More CPack stuff and fix zlib compression 20 vuotta sitten
CPack.Info.plist.in a460c60843 ENH: Add verbose flag to package maker and add CFBundleIdentifier string 20 vuotta sitten
CPack.cmake b1b052fd23 ENH: Several changes to for NSIS 20 vuotta sitten
CTest.cmake b7fa820118 ENH: add documentation support for modules 20 vuotta sitten
CTestTargets.cmake e26c160698 ENH: Initial import 20 vuotta sitten
CheckCSourceCompiles.cmake f0a1da00c1 ENH: Made Check* modules more consistent and well documented. Added CMAKE_REQUIRED_DEFINITIONS option. 20 vuotta sitten
CheckCXXSourceCompiles.cmake f0a1da00c1 ENH: Made Check* modules more consistent and well documented. Added CMAKE_REQUIRED_DEFINITIONS option. 20 vuotta sitten
CheckForPthreads.c fad91fb770 ENH: fix tests for non-ansi c on hp and remove warnings for ansi c 21 vuotta sitten
CheckFunctionExists.c fad91fb770 ENH: fix tests for non-ansi c on hp and remove warnings for ansi c 21 vuotta sitten
CheckFunctionExists.cmake f0a1da00c1 ENH: Made Check* modules more consistent and well documented. Added CMAKE_REQUIRED_DEFINITIONS option. 20 vuotta sitten
CheckIncludeFile.c.in 1d0d685049 Simplify checking for headers 23 vuotta sitten
CheckIncludeFile.cmake f0a1da00c1 ENH: Made Check* modules more consistent and well documented. Added CMAKE_REQUIRED_DEFINITIONS option. 20 vuotta sitten
CheckIncludeFile.cxx.in f5d95fb078 Complete rework of makefile generators expect trouble 23 vuotta sitten
CheckIncludeFileCXX.cmake f0a1da00c1 ENH: Made Check* modules more consistent and well documented. Added CMAKE_REQUIRED_DEFINITIONS option. 20 vuotta sitten
CheckIncludeFiles.cmake 743b4c9983 BUG: Fix the module 20 vuotta sitten
CheckLibraryExists.cmake 8b4af97281 BUG: Fix CMAKE_REQUIRED_LIBRARIES stuff in this module 20 vuotta sitten
CheckLibraryExists.lists.in 3697ad6dc7 Initial attempt to check if library exists 23 vuotta sitten
CheckSizeOf.cmake ea1467d056 ENH: Renamed Modules/CheckSizeOf to Modules/CheckTypeSize for consistency with the macro name that is defined by the module. 23 vuotta sitten
CheckSymbolExists.cmake 01a55559dd ENH: Make modules use configure instead of file write 20 vuotta sitten
CheckTypeSize.c.in 96f948adf5 ENH: fix checktypesize 20 vuotta sitten
CheckTypeSize.cmake eeab2c55ed ENH: Added CMAKE_REQUIRED_DEFINITIONS and CMAKE_REQUIRED_INCLUDES to the interface. 20 vuotta sitten
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 vuotta sitten
CheckVariableExists.cmake f0a1da00c1 ENH: Made Check* modules more consistent and well documented. Added CMAKE_REQUIRED_DEFINITIONS option. 20 vuotta sitten
Dart.cmake b7fa820118 ENH: add documentation support for modules 20 vuotta sitten
DartConfiguration.tcl.in 1ca05e219a ENH: Reorganize and add subversion support 21 vuotta sitten
Documentation.cmake b7fa820118 ENH: add documentation support for modules 20 vuotta sitten
DummyCXXFile.cxx 9a6c95fcea add checks for ansi flags and not hard code them 23 vuotta sitten
FindAVIFile.cmake d2689c95a1 ENH: some style fixes for the book 20 vuotta sitten
FindCABLE.cmake d2689c95a1 ENH: some style fixes for the book 20 vuotta sitten
FindCurses.cmake b7fa820118 ENH: add documentation support for modules 20 vuotta sitten
FindCygwin.cmake b7fa820118 ENH: add documentation support for modules 20 vuotta sitten
FindDCMTK.cmake b7fa820118 ENH: add documentation support for modules 20 vuotta sitten
FindDart.cmake 7603244509 ENH: use program files env for searching 20 vuotta sitten
FindDoxygen.cmake 7603244509 ENH: use program files env for searching 20 vuotta sitten
FindFLTK.cmake d2689c95a1 ENH: some style fixes for the book 20 vuotta sitten
FindGCCXML.cmake 7603244509 ENH: use program files env for searching 20 vuotta sitten
FindGLU.cmake b7fa820118 ENH: add documentation support for modules 20 vuotta sitten
FindGLUT.cmake d2689c95a1 ENH: some style fixes for the book 20 vuotta sitten
FindGTK.cmake d2689c95a1 ENH: some style fixes for the book 20 vuotta sitten
FindGnuplot.cmake b7fa820118 ENH: add documentation support for modules 20 vuotta sitten
FindHTMLHelp.cmake 7603244509 ENH: use program files env for searching 20 vuotta sitten
FindITK.cmake d2689c95a1 ENH: some style fixes for the book 20 vuotta sitten
FindImageMagick.cmake d2689c95a1 ENH: some style fixes for the book 20 vuotta sitten
FindJNI.cmake d2689c95a1 ENH: some style fixes for the book 20 vuotta sitten
FindJPEG.cmake 64cb554397 ENH: Removing platform-specific name hacks now that FIND_LIBRARY handles it. 20 vuotta sitten
FindJava.cmake d2689c95a1 ENH: some style fixes for the book 20 vuotta sitten
FindKDE.cmake d253baab99 ENH: add real-world-tested and used KDE3 support, and obsolete FindKDE.cmake, which wasn't used by anybody that I heard of 20 vuotta sitten
FindKDE3.cmake d253baab99 ENH: add real-world-tested and used KDE3 support, and obsolete FindKDE.cmake, which wasn't used by anybody that I heard of 20 vuotta sitten
FindLATEX.cmake d2689c95a1 ENH: some style fixes for the book 20 vuotta sitten
FindMFC.cmake 74eaecfc3e ENH: cleanups 20 vuotta sitten
FindMPEG.cmake 74eaecfc3e ENH: cleanups 20 vuotta sitten
FindMPEG2.cmake 74eaecfc3e ENH: cleanups 20 vuotta sitten
FindMPI.cmake 7603244509 ENH: use program files env for searching 20 vuotta sitten
FindMatlab.cmake d2689c95a1 ENH: some style fixes for the book 20 vuotta sitten
FindMotif.cmake 74eaecfc3e ENH: cleanups 20 vuotta sitten
FindOpenAL.cmake b7fa820118 ENH: add documentation support for modules 20 vuotta sitten
FindOpenGL.cmake 74eaecfc3e ENH: cleanups 20 vuotta sitten
FindPHP4.cmake 74eaecfc3e ENH: cleanups 20 vuotta sitten
FindPNG.cmake 3f978317b7 ENH: Put libpng name back because it is needed for plain windows. 20 vuotta sitten
FindPerl.cmake 74eaecfc3e ENH: cleanups 20 vuotta sitten
FindPerlLibs.cmake 74eaecfc3e ENH: cleanups 20 vuotta sitten
FindPhysFS.cmake 74eaecfc3e ENH: cleanups 20 vuotta sitten
FindPike.cmake 74eaecfc3e ENH: cleanups 20 vuotta sitten
FindPythonInterp.cmake 74eaecfc3e ENH: cleanups 20 vuotta sitten
FindPythonLibs.cmake 74eaecfc3e ENH: cleanups 20 vuotta sitten
FindQt.cmake b442e86492 ENH: change to fatal error 20 vuotta sitten
FindQt3.cmake e037fbaf7d ENH: try to fix non-clean dashboards 20 vuotta sitten
FindQt4.cmake b5b06cfaf6 BUG: Fix typo 20 vuotta sitten
FindRuby.cmake 74eaecfc3e ENH: cleanups 20 vuotta sitten
FindSDL.cmake 74eaecfc3e ENH: cleanups 20 vuotta sitten
FindSDL_image.cmake 74eaecfc3e ENH: cleanups 20 vuotta sitten
FindSDL_mixer.cmake 74eaecfc3e ENH: cleanups 20 vuotta sitten
FindSDL_net.cmake 74eaecfc3e ENH: cleanups 20 vuotta sitten
FindSDL_sound.cmake 4bdca3b404 ENH: put CmakeTmp into CMakeFiles 20 vuotta sitten
FindSDL_ttf.cmake 74eaecfc3e ENH: cleanups 20 vuotta sitten
FindSWIG.cmake b7fa820118 ENH: add documentation support for modules 20 vuotta sitten
FindSelfPackers.cmake b7fa820118 ENH: add documentation support for modules 20 vuotta sitten
FindTCL.cmake cb95c0a5bc ENH: fix a bug in the find path stuff so that it can find headers deep in frameworks 20 vuotta sitten
FindTIFF.cmake 64cb554397 ENH: Removing platform-specific name hacks now that FIND_LIBRARY handles it. 20 vuotta sitten
FindTclsh.cmake 74eaecfc3e ENH: cleanups 20 vuotta sitten
FindThreads.cmake 74eaecfc3e ENH: cleanups 20 vuotta sitten
FindUnixCommands.cmake b7fa820118 ENH: add documentation support for modules 20 vuotta sitten
FindVTK.cmake 74eaecfc3e ENH: cleanups 20 vuotta sitten
FindWget.cmake 74eaecfc3e ENH: cleanups 20 vuotta sitten
FindWish.cmake 74eaecfc3e ENH: cleanups 20 vuotta sitten
FindX11.cmake 74eaecfc3e ENH: cleanups 20 vuotta sitten
FindZLIB.cmake 64cb554397 ENH: Removing platform-specific name hacks now that FIND_LIBRARY handles it. 20 vuotta sitten
FindwxWidgets.cmake ad4f98f3cf ENH: Cleanup. Use relative path to modules 21 vuotta sitten
FindwxWindows.cmake 1fd9060406 ENH: contribution from Jan Woetzel 20 vuotta sitten
InstallRequiredSystemLibraries.cmake 4077d6d80c ENH: Install system libraries only if project requires them 20 vuotta sitten
KDE3Macros.cmake d253baab99 ENH: add real-world-tested and used KDE3 support, and obsolete FindKDE.cmake, which wasn't used by anybody that I heard of 20 vuotta sitten
MacOSXBundleInfo.plist.in 1dbcfd2a98 ENH: Improve Mac OSX bundle support 21 vuotta sitten
NSIS.template.in b1b052fd23 ENH: Several changes to for NSIS 20 vuotta sitten
TestBigEndian.c fad91fb770 ENH: fix tests for non-ansi c on hp and remove warnings for ansi c 21 vuotta sitten
TestBigEndian.cmake b7fa820118 ENH: add documentation support for modules 20 vuotta sitten
TestCXXAcceptsFlag.cmake b7fa820118 ENH: add documentation support for modules 20 vuotta sitten
TestForANSIForScope.cmake b7fa820118 ENH: add documentation support for modules 20 vuotta sitten
TestForANSIStreamHeaders.cmake 74eaecfc3e ENH: cleanups 20 vuotta sitten
TestForANSIStreamHeaders.cxx 32b398e55b new try compile module 23 vuotta sitten
TestForAnsiForScope.cxx a696dbc815 ERR: Removed warning for unused variable. 22 vuotta sitten
TestForSSTREAM.cmake 9891260a6d ENH: add support for watcom wmake and wcl386 20 vuotta sitten
TestForSSTREAM.cxx 9891260a6d ENH: add support for watcom wmake and wcl386 20 vuotta sitten
TestForSTDNamespace.cmake 74eaecfc3e ENH: cleanups 20 vuotta sitten
TestForSTDNamespace.cxx f5d95fb078 Complete rework of makefile generators expect trouble 23 vuotta sitten
UsePkgConfig.cmake 6dd39ceaa0 ENH: add a cmake module for using pkg-config, tested in kdelibs, ok by Bill Hoffman 20 vuotta sitten
UseQt4.cmake b7fa820118 ENH: add documentation support for modules 20 vuotta sitten
UseSWIG.cmake 74eaecfc3e ENH: cleanups 20 vuotta sitten
UseVTK40.cmake b7fa820118 ENH: add documentation support for modules 20 vuotta sitten
UseVTKBuildSettings40.cmake b7fa820118 ENH: add documentation support for modules 20 vuotta sitten
UseVTKConfig40.cmake b7fa820118 ENH: add documentation support for modules 20 vuotta sitten
Use_wxWindows.cmake 74eaecfc3e ENH: cleanups 20 vuotta sitten
UsewxWidgets.cmake b7fa820118 ENH: add documentation support for modules 20 vuotta sitten
VTKCompatibility.cmake 630924c0eb ENH: fix problem with building vtk 4.4.2 20 vuotta sitten
kde3init_dummy.cpp.in d253baab99 ENH: add real-world-tested and used KDE3 support, and obsolete FindKDE.cmake, which wasn't used by anybody that I heard of 20 vuotta sitten
kde3uic.cmake d253baab99 ENH: add real-world-tested and used KDE3 support, and obsolete FindKDE.cmake, which wasn't used by anybody that I heard of 20 vuotta sitten
readme.txt 9f625beab6 ENH: Added optional component list to the REQUIRED option of the FIND_PACKAGE command. This addresses bug#2771. 20 vuotta sitten

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.

To correctly document a module, create a comment block at the top with # comments. There are three types of comments that can be in the block:

1. The brief description of the module, this is done by:
# - a small description

2. A paragraph of text. This is done with all text that has a single
space between the # and the text. To create a new paragraph, just
put a # with no text on the line.

3. A verbatim line. This is done with two spaces between the # and the text.

For example:

# - This is a cool module
# This module does really cool stuff.
# It can do even more than you think.
#
# It even needs to paragraphs to tell you about it.
# And it defines the following variables:
# VAR_COOL - this is greate isn't it?
# VAR_REALLY_COOL - cool right?
#

To have a .cmake file in this directory NOT show up in the
modules documentation, you should start the file with a blank
line.

A FindXXX.cmake module will typically be loaded by the command

FIND_PACKAGE(XXX [QUIET] [REQUIRED [components...]])

If the QUIET option is given to the command it will set the variable
XXX_FIND_QUIETLY to true before loading the FindXXX.cmake module. If
this variable is set the module should not complain about not being
able to find the package and should never issue a FATAL_ERROR. If the
REQUIRED option is given to the command it will set the variable
XXX_FIND_REQUIRED to true before loading the FindXXX.cmake module. If
this variable is set the module should issue a FATAL_ERROR if the
package cannot be found. For each package-specific component, say
YYY, listed after the REQUIRED option a variable XXX_FIND_REQUIRED_YYY
to true. This can be used by the FindXXX.cmake module to determine
which sub-components of the package must be found. If neither the
QUIET nor REQUIRED options are given then the FindXXX.cmake module
should look for the package and complain without error if the module
is not found.