CMake/Modules
Brad King c4bb9c9d42 Convert CMake find-modules to BSD License
This adds copyright/license notification blocks CMake's find-modules.
Many of the modules had no notices at all.  Some had notices referring
to the BSD license already.  This commit normalizes existing notices and
adds missing notices.
2009-09-28 11:45:50 -04:00
..
Compiler The preprocessing and assembly rules also need the <DEFINES>, otherwise different reults are created. 2009-09-19 04:33:10 -04:00
FindCUDA Convert FindCUDA helper newlines from CRLF to LF 2009-09-28 11:04:33 -04:00
FortranCInterface Fix FortranCInterface_VERIFY for non-C++ case 2009-09-01 13:03:12 -04:00
Platform Fix check for -isysroot on OS X 2009-09-19 10:14:31 -04:00
AddFileDependencies.cmake BUG: don't include MacroLibrary.cmake, but add a cmake module which implements ADD_FILE_DEPENDENCIES() 2006-03-20 12:29:56 -05:00
BundleUtilities.cmake Overhaul GetPrerequisites and BundleUtilities: make fixup_bundle do something useful on Windows and Linux. 2009-08-05 14:59:14 -04:00
CMake.cmake
CMakeASM-ATTInformation.cmake Don't pass *.S files to the assembler, they must go through gcc, because they must be preprocessed 2009-09-12 02:15:30 -04: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
CMakeASM_MASMInformation.cmake ENH: add support for the MS masm and masm64 assemblers, works with nmake, 2008-11-05 17:27:41 -05:00
CMakeAddNewLanguage.txt
CMakeBackwardCompatibilityC.cmake
CMakeBackwardCompatibilityCXX.cmake ENH: add support for watcom wmake and wcl386 2006-01-17 10:21:45 -05:00
CMakeBorlandFindMake.cmake
CMakeBuildSettings.cmake.in Drop old CMake "build settings" export/import 2009-09-08 15:55:41 -04:00
CMakeCCompiler.cmake.in Fix check for -isysroot on OS X 2009-09-19 10:14:31 -04:00
CMakeCCompilerABI.c ENH: Improve robustness of compiler INFO strings 2008-08-07 09:09:45 -04:00
CMakeCCompilerId.c.in Teach compiler id about VisualAge -> XL rebranding 2009-08-07 10:13:07 -04:00
CMakeCInformation.cmake ENH: Load platform-independent per-compiler files 2009-07-23 10:06:31 -04:00
CMakeCXXCompiler.cmake.in Fix check for -isysroot on OS X 2009-09-19 10:14:31 -04:00
CMakeCXXCompilerABI.cpp ENH: Improve robustness of compiler INFO strings 2008-08-07 09:09:45 -04:00
CMakeCXXCompilerId.cpp.in Teach compiler id about VisualAge -> XL rebranding 2009-08-07 10:13:07 -04:00
CMakeCXXInformation.cmake ENH: Load platform-independent per-compiler files 2009-07-23 10:06:31 -04:00
CMakeCommonLanguageInclude.cmake BUG: fix for 3550 again 2006-07-26 13:19:34 -04:00
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 ENH: Make modules use configure instead of file write 2006-02-23 09:58:07 -05:00
CMakeDependentOption.cmake ENH: Adding CMAKE_DEPENDENT_OPTION macro. 2006-10-19 14:48:12 -04: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 Correct comments and use ASM${ASM_DIALECT} env. var instead of ASM env. var to initialize the the assembler to use. 2009-09-26 05:20:03 -04:00
CMakeDetermineASM_MASMCompiler.cmake ENH: add support for the MS masm and masm64 assemblers, works with nmake, 2008-11-05 17:27:41 -05:00
CMakeDetermineCCompiler.cmake ENH: Identify HP C compiler 2009-07-08 09:14:56 -04:00
CMakeDetermineCXXCompiler.cmake BUG: only check for a toolchain prefix (e.g. "arm-linux-" in 2008-09-08 17:43:31 -04:00
CMakeDetermineCompilerABI.cmake Skip implicit link info for multiple OS X archs 2009-09-22 16:02:39 -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
CMakeDetermineFortranCompiler.cmake Bias Fortran compiler search with C/C++ compilers 2009-09-09 16:39:47 -04: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 Drop old CMake "build settings" export/import 2009-09-08 15:55:41 -04:00
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 The check for include dirs and builtin macros also works with the Intel compiler 2009-09-17 13:08:35 -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 ENH: add support for watcom wmake and wcl386 2006-01-17 10:21:45 -05:00
CMakeFindXCode.cmake
CMakeForceCompiler.cmake STYLE: Fixed docs of new CMakeForceCompiler 2008-03-03 11:18:49 -05:00
CMakeFortranCompiler.cmake.in Pass Fortran90 test result to try-compile 2009-07-30 13:46:51 -04:00
CMakeFortranCompilerABI.F ENH: Create Fortran ABI detection framework 2009-07-13 11:24:01 -04:00
CMakeFortranCompilerId.F.in Teach compiler id about VisualAge -> XL rebranding 2009-08-07 10:13:07 -04:00
CMakeFortranInformation.cmake ENH: Load platform-independent per-compiler files 2009-07-23 10:06:31 -04:00
CMakeGenericSystem.cmake ENH: Allow projects to disable per-rule echo lines 2009-03-16 16:55:58 -04:00
CMakeImportBuildSettings.cmake Drop old CMake "build settings" export/import 2009-09-08 15:55:41 -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
CMakeMSYSFindMake.cmake ENH: better algorithm for looking for make and gcc on msys and mingw 2006-02-15 21:26:47 -05:00
CMakeMinGWFindMake.cmake ENH: better algorithm for looking for make and gcc on msys and mingw 2006-02-15 21:26:47 -05:00
CMakeNMakeFindMake.cmake
CMakeParseImplicitLinkInfo.cmake Recognize linker commands without paths 2009-07-29 16:07:19 -04:00
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-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
CMakeTestASM_MASMCompiler.cmake ENH: add support for the MS masm and masm64 assemblers, works with nmake, 2008-11-05 17:27:41 -05:00
CMakeTestCCompiler.cmake BUG: remove warning in test of compiler so -Werror does not fail 2009-06-22 10:02:51 -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 Pass Fortran90 test result to try-compile 2009-07-30 13:46:51 -04:00
CMakeTestGNU.c
CMakeTestJavaCompiler.cmake
CMakeTestNMakeCLVersion.c
CMakeTestRCCompiler.cmake
CMakeUnixFindMake.cmake BUG: fix for 4188 look for smake as well as gmake and make 2007-02-20 15:14:04 -05:00
CMakeVS6BackwardCompatibility.cmake
CMakeVS6FindMake.cmake ENH: add correct flags for msvc generators 2006-04-10 13:46:37 -04:00
CMakeVS7BackwardCompatibility.cmake
CMakeVS7FindMake.cmake ENH: add correct flags for msvc generators 2006-04-10 13:46:37 -04:00
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
CMakeVS10FindMake.cmake ENH: only 5 failing tests for VS 10 2009-07-10 09:12:39 -04:00
CMakeVS71FindMake.cmake ENH: add correct flags for msvc generators 2006-04-10 13:46:37 -04:00
COPYING-CMAKE-SCRIPTS ENH: add cmake modules for some common libraries: aspell, hspell, bzip2, 2006-09-19 16:11:53 -04:00
CPack.DS_Store.in ENH: More work on the packaging. Add Applicaitons, add icons, etc 2007-02-13 14:13:51 -05:00
CPack.Description.plist.in ENH: More CPack stuff and fix zlib compression 2006-01-04 15:14:09 -05:00
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 ENH: More work on the packaging. Add Applicaitons, add icons, etc 2007-02-13 14:13:51 -05:00
CPack.background.png.in ENH: add file back bug use cmake image 2009-03-04 12:30:23 -05:00
CPack.cmake some white space fixes for the book 2009-09-03 15:29:29 -04:00
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
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 Fixed ctest output where max test index is not the same width as the total number of tests. Also some preliminary changes for batching ctest jobs 2009-09-02 10:08:40 -04:00
CTestScriptMode.cmake STYLE: don't load CMakeDetermineSystem and CMakeSystemSpecific directly from 2009-07-12 04:51:51 -04:00
CTestTargets.cmake ENH: Define RULE_LAUNCH_* properties 2009-02-10 08:51:15 -05:00
CheckCCompilerFlag.cmake Fix CHECK_(C|CXX)_COMPILER_FLAG for XL and SunPro 2009-09-18 09:49:44 -04:00
CheckCSourceCompiles.cmake Add FAIL_REGEX to CHECK_(C|CXX)_SOURCE_COMPILES 2009-09-17 15:29:01 -04:00
CheckCSourceRuns.cmake Cleanup generic compiler check macro documentation 2009-09-17 15:28:51 -04:00
CheckCXXCompilerFlag.cmake Fix CHECK_(C|CXX)_COMPILER_FLAG for XL and SunPro 2009-09-18 09:49:44 -04:00
CheckCXXSourceCompiles.cmake Add FAIL_REGEX to CHECK_(C|CXX)_SOURCE_COMPILES 2009-09-17 15:29:01 -04:00
CheckCXXSourceRuns.cmake Cleanup generic compiler check macro documentation 2009-09-17 15:28:51 -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 ENH: centralized locaiton of CMakeFiles setting 2006-06-14 12:28:32 -04:00
CheckIncludeFile.c.in BUG: Fix signature of main to work on both strict ANSI and non-ANSI C compilers. 2006-05-18 10:28:12 -04:00
CheckIncludeFile.cmake ENH: centralized locaiton of CMakeFiles setting 2006-06-14 12:28:32 -04:00
CheckIncludeFile.cxx.in
CheckIncludeFileCXX.cmake ENH: centralized locaiton of CMakeFiles setting 2006-06-14 12:28:32 -04:00
CheckIncludeFiles.cmake BUG: fix double cmakefiles directory 2008-02-17 17:40:01 -05:00
CheckLibraryExists.cmake ENH: centralized locaiton of CMakeFiles setting 2006-06-14 12:28:32 -04:00
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 ENH: centralized locaiton of CMakeFiles setting 2006-06-14 12:28:32 -04:00
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 ENH: centralized locaiton of CMakeFiles setting 2006-06-14 12:28:32 -04: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 Fixed ctest output where max test index is not the same width as the total number of tests. Also some preliminary changes for batching ctest jobs 2009-09-02 10:08:40 -04:00
Documentation.cmake
DummyCXXFile.cxx
ExternalProject.cmake Better error message tells user possible ways to resolve the error. 2009-09-18 12:56:49 -04:00
FLTKCompatibility.cmake ENH: threads used to include this 2007-08-06 10:42:45 -04:00
FeatureSummary.cmake some white space fixes for the book 2009-09-03 15:29:29 -04:00
FindALSA.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindASPELL.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindAVIFile.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindBISON.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindBLAS.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindBZip2.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindBoost.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindBullet.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindCABLE.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindCUDA.cmake Convert newlines from CRLF to LF 2009-09-25 15:42:53 -04:00
FindCURL.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindCVS.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindCoin3D.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindCups.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindCurses.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindCxxTest.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindCygwin.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindDCMTK.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindDart.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindDevIL.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindDoxygen.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindEXPAT.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindFLEX.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindFLTK.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindFLTK2.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindFreetype.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindGCCXML.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindGDAL.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindGIF.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindGLU.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindGLUT.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindGTK.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindGTK2.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindGTest.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindGettext.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindGnuTLS.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindGnuplot.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindHDF5.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindHSPELL.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindHTMLHelp.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindITK.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindImageMagick.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindJNI.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindJPEG.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindJasper.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindJava.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindKDE3.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindKDE4.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindLAPACK.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindLATEX.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindLibXml2.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindLibXslt.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindLua50.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindLua51.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindMFC.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindMPEG.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindMPEG2.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindMPI.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindMatlab.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindMotif.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindOpenAL.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindOpenGL.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindOpenMP.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindOpenSSL.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindOpenSceneGraph.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindOpenThreads.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindPHP4.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindPNG.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindPackageHandleStandardArgs.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindPackageMessage.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindPerl.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindPerlLibs.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindPhysFS.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindPike.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindPkgConfig.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindProducer.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindProtobuf.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindPythonInterp.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindPythonLibs.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindQt.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindQt3.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindQt4.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindQuickTime.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindRTI.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindRuby.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindSDL.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindSDL_image.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindSDL_mixer.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindSDL_net.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindSDL_sound.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindSDL_ttf.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindSWIG.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindSelfPackers.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindSquish.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindSubversion.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindTCL.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindTIFF.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindTclStub.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindTclsh.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindThreads.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindUnixCommands.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindVTK.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindWget.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindWish.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindX11.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindXMLRPC.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindZLIB.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
Findosg.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindosgAnimation.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindosgDB.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindosgFX.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindosgGA.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindosgIntrospection.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindosgManipulator.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindosgParticle.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindosgProducer.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindosgShadow.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindosgSim.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindosgTerrain.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindosgText.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindosgUtil.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindosgViewer.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindosgVolume.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindosgWidget.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
Findosg_functions.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindwxWidgets.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FindwxWindows.cmake Convert CMake find-modules to BSD License 2009-09-28 11:45:50 -04:00
FortranCInterface.cmake Make FortranCInterface_VERIFY verbose on failure 2009-09-01 08:52:43 -04:00
GetPrerequisites.cmake Overhaul GetPrerequisites and BundleUtilities: make fixup_bundle do something useful on Windows and Linux. 2009-08-05 14:59:14 -04:00
ITKCompatibility.cmake ENH: added to handle case in ITK 2.8 and earlier 2006-11-16 15:28:16 -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
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 STYLE: add documentation for MACRO_ADD_FILE_DEPENDENCIES() 2009-07-14 14:44:27 -04:00
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 #8177. Modify the system PATH for all users when requested during an NSIS based installer run. Thanks to Bart Janssens for the patch. 2009-09-24 14:59:24 -04: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
SelectLibraryConfigurations.cmake Add HDF5 find module and select_library_configurations module. 2009-08-24 12:04:35 -04: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 ENH: limit the output of system information to no more than 50K per file 2007-03-02 10:57:20 -05:00
SystemInformation.in ENH: improvements 2007-02-27 09:43:34 -05:00
TestBigEndian.cmake ENH: for universal binaries return the endianess based on the processor 2007-08-13 11:04:19 -04:00
TestCXXAcceptsFlag.cmake ENH: centralized locaiton of CMakeFiles setting 2006-06-14 12:28:32 -04:00
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
TestForANSIStreamHeaders.cmake ENH: cleanups 2005-12-15 14:17:43 -05:00
TestForANSIStreamHeaders.cxx
TestForAnsiForScope.cxx
TestForSSTREAM.cmake ENH: minor doc cleanups and an example of documenting a variable 2007-10-15 14:50:18 -04:00
TestForSSTREAM.cxx ENH: add support for watcom wmake and wcl386 2006-01-17 10:21:45 -05:00
TestForSTDNamespace.cmake ENH: centralized locaiton of CMakeFiles setting 2006-06-14 12:28:32 -04:00
TestForSTDNamespace.cxx
UseEcos.cmake ENH: now also the "ecosclean" target works with MS nmake 2007-02-07 14:50:45 -05:00
UsePkgConfig.cmake Fix for bug#9553, print a warning if pkg-config is not found. 2009-09-16 12:40:37 -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 Drop old CMake "build settings" export/import 2009-09-08 15:55:41 -04:00
UseVTKBuildSettings40.cmake
UseVTKConfig40.cmake
Use_wxWindows.cmake STYLE: fix typos in the docs 2009-04-19 12:47:01 -04:00
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
ecos_clean.cmake ENH: now also the "ecosclean" target works with MS nmake 2007-02-07 14:50:45 -05:00
kde3init_dummy.cpp.in ENH: add real-world-tested and used KDE3 support, and obsolete FindKDE.cmake, which wasn't used by anybody that I heard of 2006-03-09 14:10:59 -05:00
kde3uic.cmake BUG: fix #3324: KDE3Macros.cmake didn't find Qt designer plugins when 2006-08-27 15:52:36 -04:00
readme.txt STYLE: Note find_package COMPONENTS in modules doc 2009-02-16 10:33:09 -05:00

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_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.