CMake/Modules
2009-06-11 15:25:48 -04:00
..
Platform ENH: use .exe on vms 2009-06-11 15:25:48 -04:00
AddExternalProject.cmake ENH: Allow lists in AddExternalProject arguments 2009-04-09 13:56:08 -04:00
AddFileDependencies.cmake
BundleUtilities.cmake ENH: Add BundleUtilities.cmake and supporting changes to GetPrerequisites.cmake. Function copy_and_fixup_bundle in BundleUtilities helps to make standalone bundle applications on the Mac by pulling in prerequisite non-system libraries and frameworks as needed. Uses otool and install_name_tool to do analysis and fixups. Project-specific hooks for deciding where to embed libraries and for resolving item names into full path file names are also provided. 2008-09-06 12:20:07 -04:00
CheckCCompilerFlag.cmake ENH: fix docs, bug 7590 2008-09-09 14:12:48 -04:00
CheckCSourceCompiles.cmake STYLE: fix documentation: the second short description discarded the first 2009-03-11 18:13:53 -04:00
CheckCSourceRuns.cmake STYLE: fix documentation: the second short description discarded the first 2009-03-11 18:13:53 -04:00
CheckCXXCompilerFlag.cmake
CheckCXXSourceCompiles.cmake STYLE: fix documentation: the second short description discarded the first 2009-03-11 18:13:53 -04:00
CheckCXXSourceRuns.cmake STYLE: fix documentation: the second short description discarded the first 2009-03-11 18:13:53 -04:00
CheckForPthreads.c ENH: add initial support for HAIKU OS from bug# 7425 2008-09-15 17:53:28 -04:00
CheckFortranFunctionExists.cmake ENH: FindBLAS.cmake, FindLAPACK.cmake modules were redesigned so now you have three new variables BLA_VENDOR (you can specify the VENDOR), BLA_STATIC (gets the static version of libs), BLA_F95 (gets the fortran 95 interface). BLA_VENDOR can be specified as an environment variable. Intel mkls libs need FindThreads to be found correctly so you will need to enable the C/CXX 2008-07-22 07:15:31 -04:00
CheckFunctionExists.c
CheckFunctionExists.cmake
CheckIncludeFile.c.in
CheckIncludeFile.cmake
CheckIncludeFile.cxx.in
CheckIncludeFileCXX.cmake
CheckIncludeFiles.cmake BUG: fix double cmakefiles directory 2008-02-17 17:40:01 -05:00
CheckLibraryExists.cmake
CheckLibraryExists.lists.in
CheckSizeOf.cmake
CheckStructHasMember.cmake ENH: add macro to test if a member has specified struct, e.g. 2007-07-12 15:00:37 -04:00
CheckSymbolExists.cmake
CheckTypeSize.cmake ENH: allow users to turn off extra checks 2008-04-25 10:47:34 -04:00
CheckTypeSizeC.c.in ENH: Improve robustness of compiler INFO strings 2008-08-07 09:09:45 -04:00
CheckVariableExists.c
CheckVariableExists.cmake
CMake.cmake
CMakeAddNewLanguage.txt
CMakeASM_MASMInformation.cmake ENH: add support for the MS masm and masm64 assemblers, works with nmake, 2008-11-05 17:27:41 -05:00
CMakeASM-ATTInformation.cmake STYLE: add some comment, so it says at least a bit what it is good for 2008-11-05 18:51:46 -05:00
CMakeASMCompiler.cmake.in ENH: second try for handling the linker language with integer priority values (returning a pointer to a string on the stack is no good idea) 2007-07-12 08:37:10 -04:00
CMakeASMInformation.cmake BUG: Fix ASM source file extension default list 2009-02-27 13:08:05 -05:00
CMakeBackwardCompatibilityC.cmake
CMakeBackwardCompatibilityCXX.cmake
CMakeBorlandFindMake.cmake
CMakeBuildSettings.cmake.in
CMakeCCompiler.cmake.in ENH: Generalize the check for sizeof void* to detect more ABI information. 2008-01-21 18:30:17 -05:00
CMakeCCompilerABI.c ENH: Improve robustness of compiler INFO strings 2008-08-07 09:09:45 -04:00
CMakeCCompilerId.c.in ENH: Improve robustness of compiler INFO strings 2008-08-07 09:09:45 -04:00
CMakeCInformation.cmake ENH: fix problem where rc language recursively included itself because CMAKE_BASE_NAME was used from c compiler, do the same fix for other uses of CMAKE_BASE_NAME 2008-10-14 16:07:11 -04:00
CMakeCommonLanguageInclude.cmake
CMakeCompilerABI.h ENH: Remove sparcv9 architecture subdir added earlier. The new implicit link directory policy takes care of the problem. 2008-01-23 17:53:18 -05:00
CMakeConfigurableFile.in
CMakeCXXCompiler.cmake.in ENH: Generalize the check for sizeof void* to detect more ABI information. 2008-01-21 18:30:17 -05:00
CMakeCXXCompilerABI.cpp ENH: Improve robustness of compiler INFO strings 2008-08-07 09:09:45 -04:00
CMakeCXXCompilerId.cpp.in ENH: Improve robustness of compiler INFO strings 2008-08-07 09:09:45 -04:00
CMakeCXXInformation.cmake ENH: fix problem where rc language recursively included itself because CMAKE_BASE_NAME was used from c compiler, do the same fix for other uses of CMAKE_BASE_NAME 2008-10-14 16:07:11 -04:00
CMakeDependentOption.cmake
CMakeDetermineASM_MASMCompiler.cmake ENH: add support for the MS masm and masm64 assemblers, works with nmake, 2008-11-05 17:27:41 -05:00
CMakeDetermineASM-ATTCompiler.cmake ENH: add support for the MS masm and masm64 assemblers, works with nmake, 2008-11-05 17:27:41 -05:00
CMakeDetermineASMCompiler.cmake ENH: add support for the MS masm and masm64 assemblers, works with nmake, 2008-11-05 17:27:41 -05:00
CMakeDetermineCCompiler.cmake BUG: only check for a toolchain prefix (e.g. "arm-linux-" in 2008-09-08 17:43:31 -04:00
CMakeDetermineCompilerABI.cmake ENH: Clarify message about checking for compiler ABI information. 2008-04-14 15:25:57 -04:00
CMakeDetermineCompilerId.cmake BUG: make compiler id detection (almost) work again with sdcc 2.8.0 RC1, 2008-03-09 19:20:43 -04:00
CMakeDetermineCXXCompiler.cmake BUG: only check for a toolchain prefix (e.g. "arm-linux-" in 2008-09-08 17:43:31 -04:00
CMakeDetermineFortranCompiler.cmake BUG: fix for #8089, fix rebuild with fortran and -D 2008-11-14 17:45:56 -05:00
CMakeDetermineJavaCompiler.cmake STYLE: use IF(NOT ...) and remove MARK_AS_ADVANCED() for variables which are 2007-06-18 18:01:15 -04:00
CMakeDetermineRCCompiler.cmake ENH: remove extra set 2008-10-15 10:49:54 -04:00
CMakeDetermineSystem.cmake STYLE: don't use an extra file to generate CMakeSystem.cmake but instead 2007-08-15 14:26:00 -04:00
CMakeDetermineVSServicePack.cmake ENH: New function for determining Visual Studio service pack 2009-04-14 00:50:23 -04:00
CMakeExportBuildSettings.cmake
CMakeFindBinUtils.cmake ENH: Cleanup Find* modules with new HINTS feature 2008-06-09 16:04:06 -04:00
CMakeFindCodeBlocks.cmake STYLE: rename the files from CMake<GENERATOR>.cmake to 2009-05-12 15:11:16 -04:00
CMakeFindEclipseCDT4.cmake STYLE: rename the files from CMake<GENERATOR>.cmake to 2009-05-12 15:11:16 -04:00
CMakeFindFrameworks.cmake
CMakeFindKDevelop3.cmake STYLE: rename the files from CMake<GENERATOR>.cmake to 2009-05-12 15:11:16 -04:00
CMakeFindWMake.cmake
CMakeFindXCode.cmake
CMakeForceCompiler.cmake STYLE: Fixed docs of new CMakeForceCompiler 2008-03-03 11:18:49 -05:00
CMakeFortranCompiler.cmake.in ENH: Patch from Maik to add more fortran extensions. 2008-03-05 15:55:21 -05:00
CMakeFortranCompilerId.F90.in ENH: add initial support for HAIKU OS from bug# 7425 2008-09-15 17:53:28 -04:00
CMakeFortranInformation.cmake ENH: fix problem where rc language recursively included itself because CMAKE_BASE_NAME was used from c compiler, do the same fix for other uses of CMAKE_BASE_NAME 2008-10-14 16:07:11 -04:00
CMakeGenericSystem.cmake ENH: Allow projects to disable per-rule echo lines 2009-03-16 16:55:58 -04:00
CMakeImportBuildSettings.cmake ENH: Extend previous patch from Mathieu Malaterre to apply override to the build tool also. 2008-05-21 14:02:40 -04:00
CMakeJavaCompiler.cmake.in BUG: Restore old interface of "make foo.o" and "make foo.i" even though object file names now include source extensions. For Java we also need to always remove the source extension (.java -> .class). This fixes the re-opening of bug #6169. 2008-01-07 16:12:37 -05:00
CMakeJavaInformation.cmake BUG: Go back to using "." so the Java test passes on the nightly nmake dashboards again. Still need a solution that works with both nmake and Visual Studio builds. 2008-03-15 20:10:02 -04:00
CMakeLists.txt STYLE: rename the files from CMake<GENERATOR>.cmake to 2009-05-12 15:11:16 -04:00
CMakeMinGWFindMake.cmake
CMakeMSYSFindMake.cmake
CMakeNMakeFindMake.cmake
CMakePlatformId.h.in ENH: add initial support for HAIKU OS from bug# 7425 2008-09-15 17:53:28 -04:00
CMakePrintSystemInformation.cmake
CMakeRCCompiler.cmake.in
CMakeRCInformation.cmake ENH: fix problem where rc language recursively included itself because CMAKE_BASE_NAME was used from c compiler, do the same fix for other uses of CMAKE_BASE_NAME 2008-10-14 16:07:11 -04:00
CMakeSystem.cmake.in STYLE: don't use an extra file to generate CMakeSystem.cmake but instead 2007-08-15 14:26:00 -04:00
CMakeSystemSpecificInformation.cmake STYLE: rename the files from CMake<GENERATOR>.cmake to 2009-05-12 15:11:16 -04:00
CMakeTestASM_MASMCompiler.cmake ENH: add support for the MS masm and masm64 assemblers, works with nmake, 2008-11-05 17:27:41 -05:00
CMakeTestASM-ATTCompiler.cmake ENH: add support for the MS masm and masm64 assemblers, works with nmake, 2008-11-05 17:27:41 -05:00
CMakeTestASMCompiler.cmake ENH: initial support for assembler in cmake, needs testing by our users 2007-06-28 09:14:27 -04:00
CMakeTestCCompiler.cmake BUG: fix cmake so that if you configure with a bad env for cl, then with a good path, it will configure correctly 2009-04-18 14:37:04 -04:00
CMakeTestCXXCompiler.cmake BUG: fix cmake so that if you configure with a bad env for cl, then with a good path, it will configure correctly 2009-04-18 14:37:04 -04:00
CMakeTestForFreeVC.cxx
CMakeTestFortranCompiler.cmake STYLE: use IF(NOT ...) instead of IF() ELSE() ... ENDIF() 2008-05-12 18:11:42 -04:00
CMakeTestGNU.c
CMakeTestJavaCompiler.cmake
CMakeTestNMakeCLVersion.c
CMakeTestRCCompiler.cmake
CMakeUnixFindMake.cmake
CMakeVS6BackwardCompatibility.cmake
CMakeVS6FindMake.cmake
CMakeVS7BackwardCompatibility.cmake
CMakeVS7FindMake.cmake
CMakeVS8FindMake.cmake BUG: Rearrange paths to find correct installations of Visual Studio. Patch devenv.modified_search_order.patch came from issue #7919. 2009-05-26 09:55:10 -04:00
CMakeVS9FindMake.cmake BUG: Rearrange paths to find correct installations of Visual Studio. Patch devenv.modified_search_order.patch came from issue #7919. 2009-05-26 09:55:10 -04:00
CMakeVS71FindMake.cmake
COPYING-CMAKE-SCRIPTS
CPack.background.png.in ENH: add file back bug use cmake image 2009-03-04 12:30:23 -05:00
CPack.cmake STYLE: Use $ style variable dereference instead of @ style. 2009-03-05 10:08:03 -05:00
CPack.Description.plist.in
CPack.distribution.dist.in BUG: Workaround PackageMaker 3.0 issue for new CPack components feature. Thanks again to Doug Gregor for the patch. 2008-06-18 07:08:33 -04:00
CPack.DS_Store.in
CPack.Info.plist.in ENH: One more patch from Doug Gregor including PackageMaker functionality for componentized-for-the-end-user and download-some-bit-on-demand installers. 2008-07-09 13:38:56 -04:00
CPack.OSXScriptLauncher.in BUG: Fix issue #7833: Add file extension handling to CPack generated installers for OSXX11 applications. Also modify the X11 test to build such an installer on Mac builds that test CPack and have X11 available. Thanks to Wes Turner for the patch. 2009-01-21 11:54:30 -05:00
CPack.OSXScriptLauncher.rsrc.in BUG: Fix issue #7833: Add file extension handling to CPack generated installers for OSXX11 applications. Also modify the X11 test to build such an installer on Mac builds that test CPack and have X11 available. Thanks to Wes Turner for the patch. 2009-01-21 11:54:30 -05:00
CPack.OSXX11.Info.plist.in BUG: Fix issue #7833: Add file extension handling to CPack generated installers for OSXX11 applications. Also modify the X11 test to build such an installer on Mac builds that test CPack and have X11 available. Thanks to Wes Turner for the patch. 2009-01-21 11:54:30 -05:00
CPack.OSXX11.main.scpt.in BUG: Fix issue #7833: Add file extension handling to CPack generated installers for OSXX11 applications. Also modify the X11 test to build such an installer on Mac builds that test CPack and have X11 available. Thanks to Wes Turner for the patch. 2009-01-21 11:54:30 -05:00
CPack.RuntimeScript.in BUG: Fix issue #7833: Add file extension handling to CPack generated installers for OSXX11 applications. Also modify the X11 test to build such an installer on Mac builds that test CPack and have X11 available. Thanks to Wes Turner for the patch. 2009-01-21 11:54:30 -05:00
CPack.STGZ_Header.sh.in ENH: try if tail works with the -n +<number> syntax, if not use only 2007-07-19 15:39:58 -04:00
CPack.VolumeIcon.icns.in
CPackDeb.cmake ENH: add CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA variable 2008-04-01 17:51:18 -04:00
CPackRPM.cmake BUG: fix #9031: newer rpm versions complain about the "#%" lines 2009-05-29 16:09:56 -04:00
CPackZIP.cmake ENH: add ReadListFile() to cmCPackGenericGenerator, so cmMakefile can be 2007-07-24 12:52:39 -04:00
CTest.cmake ENH: Remove CTest public.kitware.com drop default 2009-05-15 15:39:43 -04:00
CTestTargets.cmake ENH: Define RULE_LAUNCH_* properties 2009-02-10 08:51:15 -05:00
Dart.cmake ENH: use ctest to drive dashboards for make targets as opposed to tclsh 2008-01-31 13:23:04 -05:00
DartConfiguration.tcl.in ENH: make sure CTEST_CURL_OPTIONS work from script mode 2009-04-17 14:44:01 -04:00
Documentation.cmake
DownloadFile.cmake ENH: First draft of add_external_project functionality. Tweaks, dashboard fixing, more tests and documentation certain to follow as it gets used by others... 2008-12-04 13:27:48 -05:00
DummyCXXFile.cxx
ecos_clean.cmake
FeatureSummary.cmake ENH: Changed signature of GET_PROPERTY command to be more powerful and extendible. 2008-01-17 17:19:13 -05:00
FindASPELL.cmake BUG: fix for bug 0005871 2007-10-12 11:00:35 -04:00
FindAVIFile.cmake ENH: mark the two variables as advanced 2009-03-27 17:11:38 -04:00
FindBLAS.cmake STYLE: fix typos in the docs 2009-04-19 12:47:01 -04:00
FindBoost.cmake STYLE: fix typos in the docs 2009-04-19 12:47:01 -04:00
FindBZip2.cmake ENH: add second failure message parameter to 2007-07-23 09:49:52 -04:00
FindCABLE.cmake
FindCoin3D.cmake ENH: added a module to find Coin3D 2008-09-17 14:29:18 -04:00
FindCups.cmake ENH: use the new FIND_PACKAGE_HANDLE_STANDARD_ARGS in some of the FindXXX 2007-07-18 13:56:45 -04:00
FindCURL.cmake ENH: add second failure message parameter to 2007-07-23 09:49:52 -04:00
FindCurses.cmake ENH: fix curses on haiku 2008-12-03 16:13:17 -05:00
FindCVS.cmake ENH: for some reasons there was never a FindCVS module? 2008-03-10 18:51:08 -04:00
FindCxxTest.cmake ENH: Detect perl & python scripts based on CXXTEST_INCLUDE_DIR (patch from 2009-03-02 20:29:38 -05:00
FindCygwin.cmake
FindDart.cmake
FindDCMTK.cmake ENH: use the new FIND_PACKAGE_HANDLE_STANDARD_ARGS() macro in most of the 2007-07-19 09:00:51 -04:00
FindDevIL.cmake ENH: Made the documentation for FindDevIL.cmake cleaner. Changed the XXX_LIBRARYs to XXX_LIBRARIES. 2009-02-09 16:25:48 -05:00
FindDoxygen.cmake BUG: Fix other modules not respecting QUIET and REQUIRED 2009-01-30 15:13:07 -05:00
FindEXPAT.cmake BUG: fix for #8298 look for libexpat as well 2008-12-18 21:53:56 -05:00
FindFLTK2.cmake ENH: add from bug 0004219 2007-10-12 11:34:07 -04:00
FindFLTK.cmake ENH: change include command 2009-02-10 12:56:32 -05:00
FindFreetype.cmake ENH: Cleanup Find* modules with new HINTS feature 2008-06-09 16:04:06 -04:00
FindGCCXML.cmake
FindGDAL.cmake BUG: Fix library detection for GDAL on most Linux distributions (Issue #7445) 2009-01-31 01:50:40 -05:00
FindGettext.cmake BUG: fix #8122, _firstPoFile was not empty because it was no real variable 2009-01-10 08:39:35 -05:00
FindGIF.cmake ENH: Cleanup Find* modules with new HINTS feature 2008-06-09 16:04:06 -04:00
FindGLU.cmake
FindGLUT.cmake BUG: fix for 7746 2008-09-26 20:09:26 -04:00
FindGnuplot.cmake ENH: add second failure message parameter to 2007-07-23 09:49:52 -04:00
FindGTK2.cmake ENH: NEW: FindGTK2 module 2009-03-22 17:13:31 -04:00
FindGTK.cmake ENH: use the new FIND_PACKAGE_HANDLE_STANDARD_ARGS() macro in most of the 2007-07-19 09:00:51 -04:00
FindHSPELL.cmake ENH: add second failure message parameter to 2007-07-23 09:49:52 -04:00
FindHTMLHelp.cmake ENH: need quotes 2008-01-29 15:10:37 -05:00
FindImageMagick.cmake STYLE: Fixed module list in documentation; Magick should be MagickCore. 2008-08-01 20:38:37 -04:00
FindITK.cmake
FindJasper.cmake ENH: add second failure message parameter to 2007-07-23 09:49:52 -04:00
FindJava.cmake
FindJNI.cmake ENH: add even more search directories for debian-like systems (see #8821) 2009-04-21 17:12:32 -04:00
FindJPEG.cmake BUG: #7416 fix error when jpeg is not found 2008-07-29 16:41:29 -04:00
FindKDE3.cmake BUG: fix potential issue with empty strings 2009-02-03 08:38:34 -05:00
FindKDE4.cmake STYLE: Fix if/endif mismatch in FindKDE4 2009-01-21 09:49:37 -05:00
FindLAPACK.cmake STYLE: fix typos in the docs 2009-04-19 12:47:01 -04:00
FindLATEX.cmake
FindLibXml2.cmake BUG: use FindPkgConfig.cmake instead of UsePkgConfig.cmake, sync with KDE 2008-12-22 03:00:08 -05:00
FindLibXslt.cmake ENH: add second failure message parameter to 2007-07-23 09:49:52 -04:00
FindLua50.cmake BUG: Fixes detection of lua libraries installed from FreeBSD ports (Issue #8421) 2009-01-30 03:02:49 -05:00
FindLua51.cmake BUG: Fixes detection of lua libraries installed from FreeBSD ports (Issue #8421) 2009-01-30 03:02:49 -05:00
FindMatlab.cmake ENH: fix find module stuff for test 2008-06-16 15:19:44 -04:00
FindMFC.cmake BUG: Fix for issue #5193. Base result of FindMFC.cmake mostly on a TRY_COMPILE result. Gives accurate answer about whether MFC is available. 2008-10-10 17:43:56 -04:00
FindMotif.cmake STYLE: fix typos in the docs 2009-04-19 12:47:01 -04:00
FindMPEG2.cmake ENH: search also for mpeg2dec/mpeg2.h, as the documentation says, and as it 2009-04-21 18:18:35 -04:00
FindMPEG.cmake ENH: add second failure message parameter to 2007-07-23 09:49:52 -04:00
FindMPI.cmake ENH: Use the HINTS feature of find_library to find the right libraries for 2008-07-18 08:17:23 -04:00
FindOpenAL.cmake ENH: Cleanup Find* modules with new HINTS feature 2008-06-09 16:04:06 -04:00
FindOpenGL.cmake BUG: fix for bug 7104 look for GL in X11R6 dirs 2008-08-19 15:59:58 -04:00
FindOpenMP.cmake ENH: clean up status and change order for more common compilers first 2009-01-28 12:55:06 -05:00
FindOpenSceneGraph.cmake BUG: Fixes configure error if you don't specify a version with find_package() 2009-01-31 13:57:48 -05:00
FindOpenSSL.cmake ENH: change to correct line feed 2008-07-22 13:35:07 -04:00
FindOpenThreads.cmake ENH: Added OSG_ROOT as supported env var (it's in the wild already). Cleaned 2009-01-30 16:55:57 -05:00
Findosg_functions.cmake ENH: Added FindOpenSceneGraph.cmake which is intended to wrap any of the existing Findosg* modules (or even user specified modules in CMAKE_MODULE_PATH) and aggregate the include dirs & libraries while providing a COMPONENT frontend and version checking (Fixes Issue #6973). Also added a note to Findosg.cmake to refer new users to the module. 2009-01-30 20:09:16 -05:00
Findosg.cmake ENH: Added FindOpenSceneGraph.cmake which is intended to wrap any of the existing Findosg* modules (or even user specified modules in CMAKE_MODULE_PATH) and aggregate the include dirs & libraries while providing a COMPONENT frontend and version checking (Fixes Issue #6973). Also added a note to Findosg.cmake to refer new users to the module. 2009-01-30 20:09:16 -05:00
FindosgAnimation.cmake BUG: The QUIET and REQUIRED find attributes on each Findosg* module were not 2009-01-30 14:33:08 -05:00
FindosgDB.cmake BUG: The QUIET and REQUIRED find attributes on each Findosg* module were not 2009-01-30 14:33:08 -05:00
FindosgFX.cmake BUG: The QUIET and REQUIRED find attributes on each Findosg* module were not 2009-01-30 14:33:08 -05:00
FindosgGA.cmake BUG: The QUIET and REQUIRED find attributes on each Findosg* module were not 2009-01-30 14:33:08 -05:00
FindosgIntrospection.cmake BUG: The QUIET and REQUIRED find attributes on each Findosg* module were not 2009-01-30 14:33:08 -05:00
FindosgManipulator.cmake BUG: The QUIET and REQUIRED find attributes on each Findosg* module were not 2009-01-30 14:33:08 -05:00
FindosgParticle.cmake BUG: The QUIET and REQUIRED find attributes on each Findosg* module were not 2009-01-30 14:33:08 -05:00
FindosgProducer.cmake BUG: The QUIET and REQUIRED find attributes on each Findosg* module were not 2009-01-30 14:33:08 -05:00
FindosgShadow.cmake BUG: The QUIET and REQUIRED find attributes on each Findosg* module were not 2009-01-30 14:33:08 -05:00
FindosgSim.cmake BUG: The QUIET and REQUIRED find attributes on each Findosg* module were not 2009-01-30 14:33:08 -05:00
FindosgTerrain.cmake BUG: The QUIET and REQUIRED find attributes on each Findosg* module were not 2009-01-30 14:33:08 -05:00
FindosgText.cmake BUG: The QUIET and REQUIRED find attributes on each Findosg* module were not 2009-01-30 14:33:08 -05:00
FindosgUtil.cmake BUG: The QUIET and REQUIRED find attributes on each Findosg* module were not 2009-01-30 14:33:08 -05:00
FindosgViewer.cmake BUG: The QUIET and REQUIRED find attributes on each Findosg* module were not 2009-01-30 14:33:08 -05:00
FindosgVolume.cmake BUG: The QUIET and REQUIRED find attributes on each Findosg* module were not 2009-01-30 14:33:08 -05:00
FindosgWidget.cmake BUG: The QUIET and REQUIRED find attributes on each Findosg* module were not 2009-01-30 14:33:08 -05:00
FindPackageHandleStandardArgs.cmake BUG: fix #6375: print the variables which were not found, so it's easier to 2008-05-11 05:12:16 -04:00
FindPackageMessage.cmake ENH: Added FindPackageMessage module 2008-03-17 11:10:42 -04:00
FindPerl.cmake ENH: update for Tcl/Tk 8.5 2008-01-25 13:07:59 -05:00
FindPerlLibs.cmake ENH: find perl with FindPerl not find_program, bug: 6243 2008-10-01 16:10:45 -04:00
FindPHP4.cmake BUG: fix for bug 6775, FindPHP4 did not honor required 2008-08-19 14:28:43 -04:00
FindPhysFS.cmake ENH: Cleanup Find* modules with new HINTS feature 2008-06-09 16:04:06 -04:00
FindPike.cmake ENH: use the new FIND_PACKAGE_HANDLE_STANDARD_ARGS() macro in most of the 2007-07-19 09:00:51 -04:00
FindPkgConfig.cmake BUG: fix for bug 6117 pkgconfig 2008-02-07 13:19:38 -05:00
FindPNG.cmake ENH: add more names of linpng (sync with the KDE version) 2008-08-16 07:10:09 -04:00
FindProducer.cmake BUG: Fix other modules not respecting QUIET and REQUIRED 2009-01-30 15:13:07 -05:00
FindPythonInterp.cmake ENH: fix #7913: find also python 2.6 on windows 2009-01-10 08:46:37 -05:00
FindPythonLibs.cmake STYLE: use global property instead of helper target to collect all python 2008-02-15 18:26:37 -05:00
FindQt3.cmake BUG: fix #7447, FindModulesExecuteAll test fails if both Qt3 and KDE4 can be 2008-08-16 19:11:53 -04:00
FindQt4.cmake ENH: Better error message for those who switch from Qt3 to Qt4 and don't clean their cache file. 2009-05-19 11:38:18 -04:00
FindQt.cmake
FindQuickTime.cmake ENH: Cleanup Find* modules with new HINTS feature 2008-06-09 16:04:06 -04:00
FindRTI.cmake STYLE: fix typos in the docs 2009-04-19 12:47:01 -04:00
FindRuby.cmake ENH: add more ruby paths: sitearch, sitelib, vendorarch, vendorlib (#5531) 2008-01-02 12:32:17 -05:00
FindSDL_image.cmake ENH: Cleanup Find* modules with new HINTS feature 2008-06-09 16:04:06 -04:00
FindSDL_mixer.cmake ENH: Cleanup Find* modules with new HINTS feature 2008-06-09 16:04:06 -04:00
FindSDL_net.cmake ENH: Cleanup Find* modules with new HINTS feature 2008-06-09 16:04:06 -04:00
FindSDL_sound.cmake ENH: Cleanup Find* modules with new HINTS feature 2008-06-09 16:04:06 -04:00
FindSDL_ttf.cmake ENH: Cleanup Find* modules with new HINTS feature 2008-06-09 16:04:06 -04:00
FindSDL.cmake ENH: Cleanup Find* modules with new HINTS feature 2008-06-09 16:04:06 -04:00
FindSelfPackers.cmake
FindSquish.cmake ENH: adding functionality for finding Squish, adding Squish tests from CMake, and running Squish tests from ctest 2008-12-08 17:39:30 -05:00
FindSubversion.cmake BUG: Fixes for FindSubversion 2008-05-19 10:03:59 -04:00
FindSWIG.cmake ENH: no fatal error if not required 2008-06-17 21:46:34 -04:00
FindTCL.cmake ENH: Cleanup Find* modules with new HINTS feature 2008-06-09 16:04:06 -04:00
FindTclsh.cmake ENH: Cleanup Find* modules with new HINTS feature 2008-06-09 16:04:06 -04:00
FindTclStub.cmake BUG: fix for 7451 2008-10-01 14:19:20 -04:00
FindThreads.cmake BUG: fix for 6586, set THREADS_FOUND 2008-09-11 11:41:00 -04:00
FindTIFF.cmake ENH: add more names for libtiff, mark TIFF_INCLUDE_DIR and TIFF_LIBRARY as 2008-08-16 07:29:53 -04:00
FindUnixCommands.cmake
FindVTK.cmake BUG: Fix issue #8804. Add vtk-5.4 lib path to the FindVTK.cmake module. 2009-03-31 16:15:55 -04:00
FindWget.cmake ENH: add second failure message parameter to 2007-07-23 09:49:52 -04:00
FindWish.cmake ENH: Cleanup Find* modules with new HINTS feature 2008-06-09 16:04:06 -04:00
FindwxWidgets.cmake STYLE: fix typos in the docs 2009-04-19 12:47:01 -04:00
FindwxWindows.cmake
FindX11.cmake ENH: also search in /usr/X11R7, remove /usr/lib and /usr/local/lib, they are 2008-08-16 07:38:12 -04:00
FindXMLRPC.cmake ENH: Cleanup Find* modules with new HINTS feature 2008-06-09 16:04:06 -04:00
FindZLIB.cmake ENH: add second failure message parameter to 2007-07-23 09:49:52 -04:00
FLTKCompatibility.cmake ENH: threads used to include this 2007-08-06 10:42:45 -04:00
FortranCInterface.cmake ENH: fix for intel module on linux 2008-10-31 07:50:28 -04:00
FortranCInterface.h.in ENH: add fortran link discovery module 2008-10-27 15:23:14 -04:00
GetPrerequisites.cmake BUG: make sure list is not size 0 before sort 2008-12-04 09:12:31 -05:00
InstallRequiredSystemLibraries.cmake BUG: Because of Windows registry madness, we could not find the redistributables directory on Win64 builds... Add a search directory based on devenv (CMAKE_MAKE_PROGRAM) location so we can find it despite the madness. 2008-11-13 17:12:41 -05:00
ITKCompatibility.cmake
kde3init_dummy.cpp.in
kde3uic.cmake
KDE3Macros.cmake ENH: don't hardcode the /lib/kde3/ directory for the libtool files, but make 2007-07-17 08:41:20 -04:00
MacOSXBundleInfo.plist.in ENH: Allow users to specify a custom Info.plist template 2008-05-17 12:53:56 -04:00
MacOSXFrameworkInfo.plist.in ENH: Create Info.plist files in OS X Frameworks 2008-09-02 12:06:32 -04:00
MacroAddFileDependencies.cmake
NSIS.InstallOptions.ini.in ENH: allow for desktop link to be created and fix chop of last char in PATH on uninstall 2007-09-18 15:16:21 -04:00
NSIS.template.in BUG: Fix issue #8682. Use CPACK_NSIS_DISPLAY_NAME in appropriate places rather than CPACK_PACKAGE_INSTALL_DIRECTORY. Clean separation of these two variables (which have the same value by default) allows an easy workaround for issue #7881, too. 2009-04-07 15:31:51 -04:00
readme.txt STYLE: Note find_package COMPONENTS in modules doc 2009-02-16 10:33:09 -05:00
RepositoryInfo.txt.in ENH: First draft of add_external_project functionality. Tweaks, dashboard fixing, more tests and documentation certain to follow as it gets used by others... 2008-12-04 13:27:48 -05:00
SquishRunTestCase.bat ENH: adding functionality for finding Squish, adding Squish tests from CMake, and running Squish tests from ctest 2008-12-08 17:39:30 -05:00
SquishRunTestCase.sh ENH: adding functionality for finding Squish, adding Squish tests from CMake, and running Squish tests from ctest 2008-12-08 17:39:30 -05:00
SquishTestScript.cmake STYLE: fix typos in the docs 2009-04-19 12:47:01 -04:00
SystemInformation.cmake
SystemInformation.in
TestBigEndian.cmake ENH: for universal binaries return the endianess based on the processor 2007-08-13 11:04:19 -04:00
TestCXXAcceptsFlag.cmake
TestEndianess.c.in ENH: Improve robustness of compiler INFO strings 2008-08-07 09:09:45 -04:00
TestForANSIForScope.cmake STYLE: fix doc string 2007-12-17 17:57:57 -05:00
TestForAnsiForScope.cxx
TestForANSIStreamHeaders.cmake
TestForANSIStreamHeaders.cxx
TestForSSTREAM.cmake ENH: minor doc cleanups and an example of documenting a variable 2007-10-15 14:50:18 -04:00
TestForSSTREAM.cxx
TestForSTDNamespace.cmake
TestForSTDNamespace.cxx
UntarFile.cmake ENH: Teach UntarFile to preserve file timestamps 2009-04-29 15:07:09 -04:00
Use_wxWindows.cmake STYLE: fix typos in the docs 2009-04-19 12:47:01 -04:00
UseEcos.cmake
UsePkgConfig.cmake STYLE: /usr/local/bin is in the path anyway 2008-08-16 07:01:49 -04:00
UseQt4.cmake ENH: Add support for QtScriptTools in Qt 4.5. 2009-05-06 09:42:01 -04:00
UseSWIG.cmake BUG: fix for bug 6151 2008-01-02 17:12:33 -05:00
UseVTK40.cmake
UseVTKBuildSettings40.cmake
UseVTKConfig40.cmake
UsewxWidgets.cmake BUG: Using PROPERTY COMPILE_DEFINITIONS_DEBUG to support Debug only preprocessor options (e.g., _DEBUG __WXDEBUG__). 2009-02-24 16:49:15 -05:00
VTKCompatibility.cmake ENH: Convert CMAKE_LINK_OLD_PATHS to policy CMP0003. 2008-03-13 16:23:18 -04:00

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_DIRS        The final set of include directories listed in one variable for use by client code.  This should not be a cache entry.
XXX_LIBRARIES          	The libraries to link against to use XXX. These should include full paths.  This should not be a cache entry.
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 <jpeg.h>
XXX_EXECUTABLE         	Where to find the XXX tool.
XXX_YYY_EXECUTABLE     	Where to find the YYY tool that comes with XXX.
XXX_LIBRARY_DIRS        Optionally, the final set of library directories listed in one variable for use by client code.  This should not be a cache entry.
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.
XXX_RUNTIME_LIBRARY_DIRS Optionally, the runtime library search path for use when running an executable linked to shared libraries.
                         The list should be used by user code to create the PATH on windows or LD_LIBRARY_PATH on unix.
                         This should not be a cache entry.
XXX_VERSION_STRING      A human-readable string containing the version of the package found, if any.
XXX_VERSION_MAJOR       The major version of the package found, if any.
XXX_VERSION_MINOR       The minor version of the package found, if any.
XXX_VERSION_PATCH       The patch version of the package found, if any.

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_DIRS 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.
XXX_INCLUDE_DIR        	Where to find xxx.h, etc.  (XXX_INCLUDE_PATH was considered bad because a path includes an actual filename.)
XXX_YY_INCLUDE_DIR      Where to find xxx_yy.h, etc.

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 great 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 [major[.minor[.patch[.tweak]]]] [EXACT]
               [QUIET] [[REQUIRED|COMPONENTS] [components...]])

If any version numbers are given to the command it will set the
following variables before loading the module:

  XXX_FIND_VERSION       = full requested version string
  XXX_FIND_VERSION_MAJOR = major version if requested, else 0
  XXX_FIND_VERSION_MINOR = minor version if requested, else 0
  XXX_FIND_VERSION_PATCH = patch version if requested, else 0
  XXX_FIND_VERSION_TWEAK = tweak version if requested, else 0
  XXX_FIND_VERSION_COUNT = number of version components, 0 to 4
  XXX_FIND_VERSION_EXACT = true if EXACT option was given

If the find module supports versioning it should locate a version of
the package that is compatible with the version requested.  If a
compatible version of the package cannot be found the module should
not report success.  The version of the package found should be stored
in "XXX_VERSION..." version variables docmented by the module.

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.  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.  The set of components listed after either the REQUIRED
option or the COMPONENTS option will be specified in a
XXX_FIND_COMPONENTS variable.  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.

To get this behaviour you can use the FIND_PACKAGE_HANDLE_STANDARD_ARGS() 
macro, as an example see FindJPEG.cmake.