CMake/Modules
Bill Hoffman a8ecf11edf ENH: remove use of undefined cdr 2008-03-24 15:41:16 -04:00
..
Platform ENH: Patch from Maik to add per-configuration default flags to GCC and Intel Fortran compilers on Linux. 2008-03-17 08:55:05 -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
CMake.cmake ENH: add documentation support for modules 2005-12-14 13:51:08 -05:00
CMakeASM-ATTInformation.cmake ENH: initial support for assembler in cmake, needs testing by our users 2007-06-28 09:14:27 -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 STYLE: Remove trailing whitespace. 2008-03-03 20:24:18 -05:00
CMakeAddNewLanguage.txt ENH: clean up EnableLanguage try to fix problem where try compile runs cmake 2005-09-15 12:17:38 -04:00
CMakeBackwardCompatibilityC.cmake ENH: add documentation support for modules 2005-12-14 13:51:08 -05:00
CMakeBackwardCompatibilityCXX.cmake ENH: add support for watcom wmake and wcl386 2006-01-17 10:21:45 -05:00
CMakeBorlandFindMake.cmake determine CMAKE_MAKE_PROGRAM in EnableLanguage 2002-12-03 16:19:16 -05:00
CMakeBuildSettings.cmake.in ENH: Adding CMAKE_EXPORT_BUILD_SETTINGS and CMAKE_IMPORT_BUILD_SETTINGS macro. 2002-12-05 09:46:30 -05:00
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: Generalize the check for sizeof void* to detect more ABI information. 2008-01-21 18:30:17 -05:00
CMakeCCompilerId.c.in ENH: Make compiler id detection more robust 2008-03-10 09:32:25 -04:00
CMakeCInformation.cmake ENH: Pass dependent library search path to linker on some platforms. 2008-02-01 08:56:00 -05:00
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: Generalize the check for sizeof void* to detect more ABI information. 2008-01-21 18:30:17 -05:00
CMakeCXXCompilerId.cpp.in ENH: Make compiler id detection more robust 2008-03-10 09:32:25 -04:00
CMakeCXXInformation.cmake ENH: Pass dependent library search path to linker on some platforms. 2008-02-01 08:56:00 -05: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: initial support for assembler in cmake, needs testing by our users 2007-06-28 09:14:27 -04:00
CMakeDetermineASMCompiler.cmake ENH: initial support for assembler in cmake, needs testing by our users 2007-06-28 09:14:27 -04:00
CMakeDetermineCCompiler.cmake ENH: Improvied compiler identification robustness 2008-02-25 09:23:14 -05:00
CMakeDetermineCXXCompiler.cmake ENH: Improvied compiler identification robustness 2008-02-25 09:23:14 -05:00
CMakeDetermineCompilerABI.cmake ENH: Generalize the check for sizeof void* to detect more ABI information. 2008-01-21 18:30:17 -05: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 ENH: Improvied compiler identification robustness 2008-02-25 09:23:14 -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 BUG: Need to search for rc by default, not c++ compilers. 2006-08-31 10:46:02 -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
CMakeExportBuildSettings.cmake ENH: some style fixes for the book 2005-12-15 10:41:19 -05:00
CMakeFindBinUtils.cmake ENH: Use builtin chrpath instead of relinking ELF targets 2008-03-01 12:51:07 -05:00
CMakeFindFrameworks.cmake ENH: add documentation support for modules 2005-12-14 13:51:08 -05:00
CMakeFindWMake.cmake ENH: add support for watcom wmake and wcl386 2006-01-17 10:21:45 -05:00
CMakeFindXCode.cmake ENH: add trycompile code for xcode 2005-02-01 13:12:19 -05:00
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: Improvied compiler identification robustness 2008-02-25 09:23:14 -05:00
CMakeFortranInformation.cmake ENH: Pass dependent library search path to linker on some platforms. 2008-02-01 08:56:00 -05:00
CMakeGenericSystem.cmake ENH: Rename SET_PROPERITES command to SET_PROPERTY and give it a more powerful signature. 2008-01-17 15:54:49 -05:00
CMakeImportBuildSettings.cmake ENH: fix for case difference with nmake 2006-07-24 16:58:05 -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 BUG: Need to install fortran compiler id source. 2008-01-10 14:47:00 -05: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 determine CMAKE_MAKE_PROGRAM in EnableLanguage 2002-12-03 16:19:16 -05:00
CMakePlatformId.h.in ENH: Make compiler id detection more robust 2008-03-10 09:32:25 -04:00
CMakePrintSystemInformation.cmake ENH: add documentation support for modules 2005-12-14 13:51:08 -05:00
CMakeRCCompiler.cmake.in ENH: make sure flags set in CC or CXX environment variables stay with the compiler 2005-07-20 15:44:55 -04:00
CMakeRCInformation.cmake ENH: fix spelling errors 2006-02-27 12:14:10 -05: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 ENH: set UNIX, WIN32 and APPLE in cmMakefile.cxx as it was before, so it 2007-08-10 09:07:39 -04:00
CMakeTestASM-ATTCompiler.cmake ENH: initial support for assembler in cmake, needs testing by our users 2007-06-28 09:14:27 -04: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 ENH: Remove unnecessary compiler force macros. The compiler ID can now be detected without linking an executable. 2008-02-14 10:50:43 -05:00
CMakeTestCXXCompiler.cmake ENH: Remove unnecessary compiler force macros. The compiler ID can now be detected without linking an executable. 2008-02-14 10:50:43 -05:00
CMakeTestForFreeVC.cxx ENH better test for free VC tools 2004-09-03 15:19:58 -04:00
CMakeTestFortranCompiler.cmake ENH: centralized locaiton of CMakeFiles setting 2006-06-14 12:28:32 -04:00
CMakeTestGNU.c BUG: fix problem where cmake thinks the intel compiler is gnu 2004-05-18 14:33:12 -04:00
CMakeTestJavaCompiler.cmake ENH: add documentation support for modules 2005-12-14 13:51:08 -05:00
CMakeTestNMakeCLVersion.c added test for whether pdbtype should be used for nmake 2003-08-05 09:55:20 -04:00
CMakeTestRCCompiler.cmake ENH: add documentation support for modules 2005-12-14 13:51:08 -05:00
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 ENH: add documentation support for modules 2005-12-14 13:51:08 -05:00
CMakeVS6FindMake.cmake ENH: add correct flags for msvc generators 2006-04-10 13:46:37 -04:00
CMakeVS7BackwardCompatibility.cmake ENH: add documentation support for modules 2005-12-14 13:51:08 -05:00
CMakeVS7FindMake.cmake ENH: add correct flags for msvc generators 2006-04-10 13:46:37 -04:00
CMakeVS8FindMake.cmake ENH: add support for vs 2008 beta 2 2007-09-17 15:21:47 -04:00
CMakeVS9FindMake.cmake ENH: add support for vs 2008 beta 2 2007-09-17 15:21:47 -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: Give Mac installers package relocation capability. Default location is still the same for backwards compatibility, but packages will now be relocatable by default like they are on Windows via the NSIS installer. New CPack variables for controlling this functionality are CPACK_PACKAGE_DEFAULT_LOCATION and CPACK_PACKAGE_RELOCATABLE. 2007-12-26 16:57:13 -05:00
CPack.OSXScriptLauncher.in ENH: First pass at CPack generator for OSX X11 applications. This are applications that require X11 to work. This is not really installed but a bundle packager 2007-01-10 15:30:26 -05:00
CPack.OSXX11.Info.plist.in ENH: First pass at CPack generator for OSX X11 applications. This are applications that require X11 to work. This is not really installed but a bundle packager 2007-01-10 15:30:26 -05:00
CPack.RuntimeScript.in ENH: Change permission for getdisplay.sh to make the runtimescript work 2007-01-10 18:33:03 -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: More work on the packaging. Add Applicaitons, add icons, etc 2007-02-13 14:13:51 -05:00
CPack.cmake ENH: Give Mac installers package relocation capability. Default location is still the same for backwards compatibility, but packages will now be relocatable by default like they are on Windows via the NSIS installer. New CPack variables for controlling this functionality are CPACK_PACKAGE_DEFAULT_LOCATION and CPACK_PACKAGE_RELOCATABLE. 2007-12-26 16:57:13 -05:00
CPackDeb.cmake ENH: Changed signature of GET_PROPERTY command to be more powerful and extendible. 2008-01-17 17:19:13 -05:00
CPackRPM.cmake BUG: fix rpmbuild bug, which expands variables in comments :-/ 2008-02-25 14:23:24 -05:00
CPackZIP.cmake ENH: add ReadListFile() to cmCPackGenericGenerator, so cmMakefile can be 2007-07-24 12:52:39 -04:00
CTest.cmake ENH: Avoid printing message about unknown repository type repeatedly in CTest. 2008-03-17 11:10:32 -04:00
CTestTargets.cmake ENH: Updated DEFINE_PROPERTY command to be more extendible and more consistent with new SET_PROPERTY and GET_PROPERTY signatures. 2008-02-14 13:36:23 -05:00
CheckCCompilerFlag.cmake ENH: two macros to check whether the C/CXX compiler supports a given flag: 2006-09-18 17:55:22 -04:00
CheckCSourceCompiles.cmake BUG: Revert "Fix kwstyleSource/CTest/cmCTestBuildHandler.cxx" 2007-04-04 15:59:22 -04:00
CheckCSourceRuns.cmake ENH: use the same CMAKE_SKIP_RPATH setting in CHECK_C/CXX_SOURCE_RUNS as in 2007-08-28 10:52:07 -04:00
CheckCXXCompilerFlag.cmake ENH: two macros to check whether the C/CXX compiler supports a given flag: 2006-09-18 17:55:22 -04:00
CheckCXXSourceCompiles.cmake STYLE: fix #3519 (incorrect comment) 2006-08-27 11:19:25 -04:00
CheckCXXSourceRuns.cmake ENH: use the same CMAKE_SKIP_RPATH setting in CHECK_C/CXX_SOURCE_RUNS as in 2007-08-28 10:52:07 -04:00
CheckForPthreads.c ENH: merge in changes for beos support 2006-12-04 17:26:41 -05:00
CheckFortranFunctionExists.cmake ENH: FindBLAS.cmake and FindLAPACK.cmake modules added. They locate various implementations of blas and lapack libraries. CheckFortranFunctionExists.cmake provides a test function to check if the library is usabale. I have also changed the -KPIC flag to -fPIC in Linux-ifort.cmake. 2007-10-10 17:47:37 -04:00
CheckFunctionExists.c ENH: fix tests for non-ansi c on hp and remove warnings for ansi c 2004-04-15 08:22:19 -04:00
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 ENH: Renamed Modules/CheckSizeOf to Modules/CheckTypeSize for consistency with the macro name that is defined by the module. 2002-12-30 11:02:31 -05:00
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 STYLE: remove unused CheckTypeSize.c.in 2007-08-10 13:14:00 -04:00
CheckTypeSizeC.c.in COMP: don't use stdio, it can fail on some embedded targets (sdcc) 2007-06-05 10:20:21 -04:00
CheckVariableExists.c 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. 2004-04-26 10:19:44 -04:00
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 ENH: allow cdash not to trigger 2008-02-29 14:58:33 -05:00
Documentation.cmake ENH: add documentation support for modules 2005-12-14 13:51:08 -05:00
DummyCXXFile.cxx
FLTKCompatibility.cmake ENH: threads used to include this 2007-08-06 10:42:45 -04:00
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: some style fixes for the book 2005-12-15 10:41:19 -05:00
FindBLAS.cmake ENH: FindBLAS.cmake&FindLAPACK updated to support intel mkl 10 2008-03-24 11:49:35 -04:00
FindBZip2.cmake ENH: add second failure message parameter to 2007-07-23 09:49:52 -04:00
FindBoost.cmake BUG: it seems on some installations boost is installed under boost-1_34 , 2008-01-10 18:52:19 -05:00
FindCABLE.cmake ENH: some style fixes for the book 2005-12-15 10:41:19 -05:00
FindCURL.cmake ENH: add second failure message parameter to 2007-07-23 09:49:52 -04:00
FindCVS.cmake ENH: for some reasons there was never a FindCVS module? 2008-03-10 18:51:08 -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
FindCurses.cmake COMP: make it build on NetBSD, which has separate curses and ncurses, so 2007-08-27 09:01:14 -04:00
FindCygwin.cmake ENH: add documentation support for modules 2005-12-14 13:51:08 -05:00
FindDCMTK.cmake ENH: use the new FIND_PACKAGE_HANDLE_STANDARD_ARGS() macro in most of the 2007-07-19 09:00:51 -04:00
FindDart.cmake ENH: use program files env for searching 2006-02-28 10:27:30 -05:00
FindDoxygen.cmake ENH: fix for backwards compatibility 2006-12-04 19:37:29 -05:00
FindEXPAT.cmake BUG: use the correct variable for checking the success (#6062) 2007-11-25 08:20:05 -05:00
FindFLTK.cmake ENH: some style fixes for the book 2005-12-15 10:41:19 -05:00
FindFLTK2.cmake ENH: add from bug 0004219 2007-10-12 11:34:07 -04:00
FindFreetype.cmake BUG: Remove references to CMAKE_PREFIX_PATH variable. It should not be referenced directly by FIND_* command calls. The commands search it automatically. 2008-01-15 21:20:11 -05:00
FindGCCXML.cmake ENH: use program files env for searching 2006-02-28 10:27:30 -05:00
FindGDAL.cmake BUG: Remove references to CMAKE_PREFIX_PATH variable. It should not be referenced directly by FIND_* command calls. The commands search it automatically. 2008-01-15 21:20:11 -05:00
FindGIF.cmake BUG: Remove references to CMAKE_PREFIX_PATH variable. It should not be referenced directly by FIND_* command calls. The commands search it automatically. 2008-01-15 21:20:11 -05:00
FindGLU.cmake ENH: add documentation support for modules 2005-12-14 13:51:08 -05:00
FindGLUT.cmake BUG: fix bug 6594 look for glut in more places on windows 2008-03-13 10:56:40 -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
FindGettext.cmake BUG: fix typo reported by Duncan Mac Vicar 2007-02-25 19:22:59 -05:00
FindGnuplot.cmake ENH: add second failure message parameter to 2007-07-23 09:49:52 -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
FindITK.cmake ENH: some style fixes for the book 2005-12-15 10:41:19 -05:00
FindImageMagick.cmake ENH: some style fixes for the book 2005-12-15 10:41:19 -05:00
FindJNI.cmake BUG: Eliminate message - it pops up an annoying dialog whenever you run CMakeSetup in a project with java wrapping turned on. 2008-01-16 10:04:36 -05:00
FindJPEG.cmake ENH: add second failure message parameter to 2007-07-23 09:49:52 -04:00
FindJasper.cmake ENH: add second failure message parameter to 2007-07-23 09:49:52 -04:00
FindJava.cmake ENH: More locations for Java 2006-10-12 13:12:37 -04:00
FindKDE.cmake 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
FindKDE3.cmake ENH: don't hardcode the /lib/kde3/ directory for the libtool files, but make 2007-07-17 08:41:20 -04:00
FindKDE4.cmake ENH: preparations for cross compiling KDE4 2008-03-14 18:16:06 -04:00
FindLAPACK.cmake ENH: FindBLAS.cmake&FindLAPACK updated to support intel mkl 10 2008-03-24 11:49:48 -04:00
FindLATEX.cmake ENH: some style fixes for the book 2005-12-15 10:41:19 -05:00
FindLibXml2.cmake ENH: add second failure message parameter to 2007-07-23 09:49:52 -04:00
FindLibXslt.cmake ENH: add second failure message parameter to 2007-07-23 09:49:52 -04:00
FindLua50.cmake ENH: use the standard find_package_handle_standard_args() for lua 5.0 and 2008-03-10 13:26:11 -04:00
FindLua51.cmake ENH: use the standard find_package_handle_standard_args() for lua 5.0 and 2008-03-10 13:26:11 -04:00
FindMFC.cmake ENH: cleanups 2005-12-15 14:17:43 -05:00
FindMPEG.cmake ENH: add second failure message parameter to 2007-07-23 09:49:52 -04:00
FindMPEG2.cmake ENH: add second failure message parameter to 2007-07-23 09:49:52 -04:00
FindMPI.cmake ENH: remove use of undefined cdr 2008-03-24 15:41:16 -04:00
FindMatlab.cmake ENH: some style fixes for the book 2005-12-15 10:41:19 -05:00
FindMotif.cmake ENH: add second failure message parameter to 2007-07-23 09:49:52 -04:00
FindOpenAL.cmake BUG: Fixed PATH_SUFFIXES copy/paste bug (0006201) 2008-03-05 03:11:15 -05:00
FindOpenGL.cmake STYLE: remove unnecessary default search paths 2007-08-10 11:37:29 -04:00
FindOpenSSL.cmake ENH: add cmake modules for some common libraries: aspell, hspell, bzip2, 2006-09-19 16:11:53 -04:00
FindOpenThreads.cmake BUG: Remove references to CMAKE_PREFIX_PATH variable. It should not be referenced directly by FIND_* command calls. The commands search it automatically. 2008-01-15 21:20:11 -05:00
FindPHP4.cmake BUG: fix #5329, if /usr/xpg4/bin/tail exists, use this one -> on SunOS 2007-07-19 09:42:57 -04:00
FindPNG.cmake ENH: add second failure message parameter to 2007-07-23 09:49:52 -04:00
FindPackageHandleStandardArgs.cmake ENH: Added FindPackageMessage module 2008-03-17 11:10:42 -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 BUG: Fix bug 6106 FindPerlLibs.cmake missing escaped $ 2007-12-12 07:26:25 -05:00
FindPhysFS.cmake BUG: Remove references to CMAKE_PREFIX_PATH variable. It should not be referenced directly by FIND_* command calls. The commands search it automatically. 2008-01-15 21:20:11 -05: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
FindProducer.cmake BUG: Remove references to CMAKE_PREFIX_PATH variable. It should not be referenced directly by FIND_* command calls. The commands search it automatically. 2008-01-15 21:20:11 -05:00
FindPythonInterp.cmake ENH: add support for the next python release, python 2.6 2007-08-30 13:35:54 -04:00
FindPythonLibs.cmake STYLE: use global property instead of helper target to collect all python 2008-02-15 18:26:37 -05:00
FindQt.cmake ENH: change to fatal error 2006-01-25 12:16:49 -05:00
FindQt3.cmake BUG: Fixed name of variable used to check version of uic executable. 2007-06-11 15:02:03 -04:00
FindQt4.cmake ENH: fix if 2008-03-24 15:40:52 -04:00
FindQuickTime.cmake BUG: Remove references to CMAKE_PREFIX_PATH variable. It should not be referenced directly by FIND_* command calls. The commands search it automatically. 2008-01-15 21:20:11 -05:00
FindRuby.cmake ENH: add more ruby paths: sitearch, sitelib, vendorarch, vendorlib (#5531) 2008-01-02 12:32:17 -05:00
FindSDL.cmake BUG: Remove references to CMAKE_PREFIX_PATH variable. It should not be referenced directly by FIND_* command calls. The commands search it automatically. 2008-01-15 21:20:11 -05:00
FindSDL_image.cmake BUG: Remove references to CMAKE_PREFIX_PATH variable. It should not be referenced directly by FIND_* command calls. The commands search it automatically. 2008-01-15 21:20:11 -05:00
FindSDL_mixer.cmake BUG: Remove references to CMAKE_PREFIX_PATH variable. It should not be referenced directly by FIND_* command calls. The commands search it automatically. 2008-01-15 21:20:11 -05:00
FindSDL_net.cmake BUG: Remove references to CMAKE_PREFIX_PATH variable. It should not be referenced directly by FIND_* command calls. The commands search it automatically. 2008-01-15 21:20:11 -05:00
FindSDL_sound.cmake BUG: Fixed modules to set FOO_FOUND when both headers and libraries are found. 2007-12-20 20:59:44 -05:00
FindSDL_ttf.cmake BUG: Remove references to CMAKE_PREFIX_PATH variable. It should not be referenced directly by FIND_* command calls. The commands search it automatically. 2008-01-15 21:20:11 -05:00
FindSWIG.cmake BUG: fix for bug 4145 much better findSwig 2008-01-10 16:22:52 -05:00
FindSelfPackers.cmake ENH: add documentation support for modules 2005-12-14 13:51:08 -05:00
FindSubversion.cmake BUG: Remove reference to PROJECT_SOURCE_DIR so that the Subversion_WC_INFO macro may be called from a ctest or cmake script. 2008-03-20 11:44:25 -04:00
FindTCL.cmake ENH: fix advanced bug 2008-02-13 17:00:20 -05:00
FindTIFF.cmake ENH: add second failure message parameter to 2007-07-23 09:49:52 -04:00
FindTclStub.cmake ENH: Update Tcl/Tk 8.5 2008-01-26 01:11:04 -05:00
FindTclsh.cmake ENH: Update Tcl/Tk 8.5 2008-01-26 01:11:04 -05:00
FindThreads.cmake BUG: Enable CMAKE_HP_PTHREADS only when the old CMA threads are available. Modern HP pthreads are just normal pthreads. 2007-09-24 09:53:41 -04:00
FindUnixCommands.cmake ENH: add documentation support for modules 2005-12-14 13:51:08 -05:00
FindVTK.cmake ENH: Add ability to find VTK 5 without user help. 2006-05-23 10:40:40 -04:00
FindWget.cmake ENH: add second failure message parameter to 2007-07-23 09:49:52 -04:00
FindWish.cmake ENH: Update Tcl/Tk 8.5 2008-01-26 01:11:04 -05:00
FindX11.cmake ENH: Added FindPackageMessage module 2008-03-17 11:10:42 -04:00
FindXMLRPC.cmake BUG: fix for bug 4123, find xmlrpc in standard locations 2006-12-04 11:44:47 -05:00
FindZLIB.cmake ENH: add second failure message parameter to 2007-07-23 09:49:52 -04:00
Findosg.cmake BUG: Remove references to CMAKE_PREFIX_PATH variable. It should not be referenced directly by FIND_* command calls. The commands search it automatically. 2008-01-15 21:20:11 -05:00
FindosgDB.cmake BUG: Remove references to CMAKE_PREFIX_PATH variable. It should not be referenced directly by FIND_* command calls. The commands search it automatically. 2008-01-15 21:20:11 -05:00
FindosgFX.cmake BUG: Remove references to CMAKE_PREFIX_PATH variable. It should not be referenced directly by FIND_* command calls. The commands search it automatically. 2008-01-15 21:20:11 -05:00
FindosgGA.cmake BUG: Remove references to CMAKE_PREFIX_PATH variable. It should not be referenced directly by FIND_* command calls. The commands search it automatically. 2008-01-15 21:20:11 -05:00
FindosgIntrospection.cmake BUG: Remove references to CMAKE_PREFIX_PATH variable. It should not be referenced directly by FIND_* command calls. The commands search it automatically. 2008-01-15 21:20:11 -05:00
FindosgManipulator.cmake BUG: Remove references to CMAKE_PREFIX_PATH variable. It should not be referenced directly by FIND_* command calls. The commands search it automatically. 2008-01-15 21:20:11 -05:00
FindosgParticle.cmake BUG: Remove references to CMAKE_PREFIX_PATH variable. It should not be referenced directly by FIND_* command calls. The commands search it automatically. 2008-01-15 21:20:11 -05:00
FindosgProducer.cmake BUG: Remove references to CMAKE_PREFIX_PATH variable. It should not be referenced directly by FIND_* command calls. The commands search it automatically. 2008-01-15 21:20:11 -05:00
FindosgShadow.cmake BUG: Remove references to CMAKE_PREFIX_PATH variable. It should not be referenced directly by FIND_* command calls. The commands search it automatically. 2008-01-15 21:20:11 -05:00
FindosgSim.cmake BUG: Remove references to CMAKE_PREFIX_PATH variable. It should not be referenced directly by FIND_* command calls. The commands search it automatically. 2008-01-15 21:20:11 -05:00
FindosgTerrain.cmake BUG: Remove references to CMAKE_PREFIX_PATH variable. It should not be referenced directly by FIND_* command calls. The commands search it automatically. 2008-01-15 21:20:11 -05:00
FindosgText.cmake BUG: Remove references to CMAKE_PREFIX_PATH variable. It should not be referenced directly by FIND_* command calls. The commands search it automatically. 2008-01-15 21:20:11 -05:00
FindosgUtil.cmake BUG: Remove references to CMAKE_PREFIX_PATH variable. It should not be referenced directly by FIND_* command calls. The commands search it automatically. 2008-01-15 21:20:11 -05:00
FindosgViewer.cmake BUG: Remove references to CMAKE_PREFIX_PATH variable. It should not be referenced directly by FIND_* command calls. The commands search it automatically. 2008-01-15 21:20:11 -05:00
FindwxWidgets.cmake ENH: remove RAISE_SCOPE() again and instead add SET(<var> <value> PARENT_SCOPE) 2008-01-18 15:52:54 -05:00
FindwxWindows.cmake ENH: Applying patch from bug#3443 to implement FindwxWidgets.cmake properly. It also updates the UseWX test and WXDialog sources to use the new find script. 2006-07-21 15:43:19 -04:00
GetPrerequisites.cmake ENH: Add script GetPrerequisites.cmake to help analyze what shared libraries executable files depend on. Primary uses are to determine what shared libraries should be copied into Mac OSX bundle applications to create standalone bundles apps and to determine what shared library files need to be installed for an executable to run on any platform. Requires native platform tools dumpbin, otool and ldd to generate results. 2008-03-04 08:18:40 -05:00
ITKCompatibility.cmake ENH: added to handle case in ITK 2.8 and earlier 2006-11-16 15:28:16 -05:00
InstallRequiredSystemLibraries.cmake ENH: add vs9 stuff, still need msvc9 mfc 2008-02-29 14:36:33 -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
MacroAddFileDependencies.cmake ENH: Updates from KDE 2006-06-16 14:45:47 -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 ENH: add ability to set installer icons, links to web pages, nsis code in the icon section of the template, and ability to escape variables correctly 2007-10-29 08:11:44 -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 STYLE: remove unused CheckTypeSize.c.in 2007-08-10 13:14:00 -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 ERR: Removed warning for unused variable. 2003-05-16 16:33:11 -04:00
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 BUG: untested fix for newlines in the output of pkg config 2007-03-07 15:36:09 -05:00
UseQt4.cmake ENH: Automatically add dependent modules. 2008-03-14 13:16:58 -04:00
UseSWIG.cmake BUG: fix for bug 6151 2008-01-02 17:12:33 -05:00
UseVTK40.cmake ENH: add documentation support for modules 2005-12-14 13:51:08 -05:00
UseVTKBuildSettings40.cmake ENH: add documentation support for modules 2005-12-14 13:51:08 -05:00
UseVTKConfig40.cmake ENH: add documentation support for modules 2005-12-14 13:51:08 -05:00
Use_wxWindows.cmake STYLE: Remove trailing whitespace. 2008-03-03 15:56:04 -05:00
UsewxWidgets.cmake STYLE: Remove trailing whitespace. 2008-03-03 20:31:51 -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 ENH: Added version support to Config mode of find_package command. 2008-01-28 20:38:48 -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]]] [EXACT]
               [QUIET] [REQUIRED [components...]])

If any version numbers are given to the command it will set the
variable XXX_FIND_VERSION to contain the whole version.  The variables
XXX_FIND_VERSION_MAJOR, XXX_FIND_VERSION_MINOR, and
XXX_FIND_VERSION_PATCH will be set to contain the corresponding
portions of the version number.  The variable XXX_FIND_VERSION_EXACT
will indicate whether an exact version is requested.
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 the version variables named above.

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 will also 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.