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

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.