You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Alexander Neundorf bdc1e4e054 BUG: use the correct variable for checking the success (#6062) 18 years ago
..
Platform ENH: add support for the Syllable OS (http://www.syllable.org) 18 years ago
AddFileDependencies.cmake BUG: don't include MacroLibrary.cmake, but add a cmake module which implements ADD_FILE_DEPENDENCIES() 20 years ago
CMake.cmake ENH: add documentation support for modules 20 years ago
CMakeASM-ATTInformation.cmake ENH: initial support for assembler in cmake, needs testing by our users 18 years ago
CMakeASMCompiler.cmake.in ENH: CMAKE_<LANG>_LINKER_PREFERENCE is now an integer priority, not a 18 years ago
CMakeASMInformation.cmake ENH: add CMAKE_INCLUDE_FLAG_ASM${ASM_DIALECT} and don't allow preset 18 years ago
CMakeAddNewLanguage.txt ENH: clean up EnableLanguage try to fix problem where try compile runs cmake 20 years ago
CMakeBackwardCompatibilityC.cmake ENH: add documentation support for modules 20 years ago
CMakeBackwardCompatibilityCXX.cmake ENH: add support for watcom wmake and wcl386 20 years ago
CMakeBorlandFindMake.cmake determine CMAKE_MAKE_PROGRAM in EnableLanguage 23 years ago
CMakeBuildSettings.cmake.in ENH: Adding CMAKE_EXPORT_BUILD_SETTINGS and CMAKE_IMPORT_BUILD_SETTINGS macro. 23 years ago
CMakeCCompiler.cmake.in ENH: CMAKE_<LANG>_LINKER_PREFERENCE is now an integer priority, not a 18 years ago
CMakeCCompilerId.c ENH: add support for the Portland Compiler to CMake, can build cmake and the tests pass (except the wrapping tests, which fail to link to the g++-compiled Qt) 18 years ago
CMakeCInformation.cmake ENH: remove support for presetting CMAKE_SYSTEM_INFO_FILE, 18 years ago
CMakeCXXCompiler.cmake.in ENH: CMAKE_<LANG>_LINKER_PREFERENCE is now an integer priority, not a 18 years ago
CMakeCXXCompilerId.cpp ENH: add support for the Portland Compiler to CMake, can build cmake and the tests pass (except the wrapping tests, which fail to link to the g++-compiled Qt) 18 years ago
CMakeCXXInformation.cmake ENH: remove support for presetting CMAKE_SYSTEM_INFO_FILE, 18 years ago
CMakeCommonLanguageInclude.cmake BUG: fix for 3550 again 19 years ago
CMakeConfigurableFile.in ENH: Make modules use configure instead of file write 20 years ago
CMakeDependentOption.cmake ENH: Adding CMAKE_DEPENDENT_OPTION macro. 19 years ago
CMakeDetermineASM-ATTCompiler.cmake ENH: initial support for assembler in cmake, needs testing by our users 18 years ago
CMakeDetermineASMCompiler.cmake ENH: initial support for assembler in cmake, needs testing by our users 18 years ago
CMakeDetermineCCompiler.cmake ENH: if CMAKE_(C|CXX)_COMPILER is preset to a list of two elements, use the 18 years ago
CMakeDetermineCXXCompiler.cmake ENH: if CMAKE_(C|CXX)_COMPILER is preset to a list of two elements, use the 18 years ago
CMakeDetermineCompilerId.cmake BUG: fix compiler id test on cygwin 18 years ago
CMakeDetermineFortranCompiler.cmake STYLE: fdcorrect comments about FC/CC 18 years ago
CMakeDetermineJavaCompiler.cmake STYLE: use IF(NOT ...) and remove MARK_AS_ADVANCED() for variables which are 18 years ago
CMakeDetermineRCCompiler.cmake BUG: Need to search for rc by default, not c++ compilers. 19 years ago
CMakeDetermineSystem.cmake STYLE: don't use an extra file to generate CMakeSystem.cmake but instead 18 years ago
CMakeExportBuildSettings.cmake ENH: some style fixes for the book 20 years ago
CMakeFindBinUtils.cmake STYLE: don't use an extra file to generate CMakeSystem.cmake but instead 18 years ago
CMakeFindFrameworks.cmake ENH: add documentation support for modules 20 years ago
CMakeFindWMake.cmake ENH: add support for watcom wmake and wcl386 20 years ago
CMakeFindXCode.cmake ENH: add trycompile code for xcode 21 years ago
CMakeForceCompiler.cmake STYLE: fix typo in the docs 18 years ago
CMakeFortranCompiler.cmake.in ENH: CMAKE_<LANG>_LINKER_PREFERENCE is now an integer priority, not a 18 years ago
CMakeFortranCompilerId.F90 ENH: Merging CompilerId updates from branch CMake-Modules-CompilerId to the main tree. Changes between CMake-Modules-CompilerId-mp1 and CMake-Modules-CompilerId-mp2 are included. 19 years ago
CMakeFortranInformation.cmake ENH: Merging CompilerId updates from branch CMake-Modules-CompilerId to the main tree. Changes between CMake-Modules-CompilerId-mp1 and CMake-Modules-CompilerId-mp2 are included. 19 years ago
CMakeGenericSystem.cmake ENH: add flag so a terminating slash for the link path can be specified (needed by the Digital Mars D compiler) 18 years ago
CMakeImportBuildSettings.cmake ENH: fix for case difference with nmake 19 years ago
CMakeJavaCompiler.cmake.in ENH: CMAKE_<LANG>_LINKER_PREFERENCE is now an integer priority, not a 18 years ago
CMakeJavaInformation.cmake ENH: fix java and add OBJECT_DIR support 20 years ago
CMakeLists.txt ENH: make the compiler id detection work, even if the output file name of 18 years ago
CMakeMSYSFindMake.cmake ENH: better algorithm for looking for make and gcc on msys and mingw 20 years ago
CMakeMinGWFindMake.cmake ENH: better algorithm for looking for make and gcc on msys and mingw 20 years ago
CMakeNMakeFindMake.cmake determine CMAKE_MAKE_PROGRAM in EnableLanguage 23 years ago
CMakePlatformId.h ENH: Unify design of CMakeCCompilerId.c, CMakeCXXCompilerId.cpp, and CMakePlatformId.h. BUG: Do not violate system-reserved symbol namespace _[A-Z]. 18 years ago
CMakePrintSystemInformation.cmake ENH: add documentation support for modules 20 years ago
CMakeRCCompiler.cmake.in ENH: make sure flags set in CC or CXX environment variables stay with the compiler 20 years ago
CMakeRCInformation.cmake ENH: fix spelling errors 20 years ago
CMakeSystem.cmake.in STYLE: don't use an extra file to generate CMakeSystem.cmake but instead 18 years ago
CMakeSystemSpecificInformation.cmake ENH: set UNIX, WIN32 and APPLE in cmMakefile.cxx as it was before, so it 18 years ago
CMakeTestASM-ATTCompiler.cmake ENH: initial support for assembler in cmake, needs testing by our users 18 years ago
CMakeTestASMCompiler.cmake ENH: initial support for assembler in cmake, needs testing by our users 18 years ago
CMakeTestCCompiler.cmake ENH: merge CMake-CrossCompileBasic to HEAD 18 years ago
CMakeTestCXXCompiler.cmake ENH: centralized locaiton of CMakeFiles setting 19 years ago
CMakeTestForFreeVC.cxx ENH better test for free VC tools 21 years ago
CMakeTestFortranCompiler.cmake ENH: centralized locaiton of CMakeFiles setting 19 years ago
CMakeTestGNU.c BUG: fix problem where cmake thinks the intel compiler is gnu 22 years ago
CMakeTestJavaCompiler.cmake ENH: add documentation support for modules 20 years ago
CMakeTestNMakeCLVersion.c added test for whether pdbtype should be used for nmake 22 years ago
CMakeTestRCCompiler.cmake ENH: add documentation support for modules 20 years ago
CMakeUnixFindMake.cmake BUG: fix for 4188 look for smake as well as gmake and make 19 years ago
CMakeVCManifest.cmake ENH: Adding flags to force generation of manifest files when building with VC 8. 19 years ago
CMakeVCManifestExe.cmake BUG: use different commands for shared libraries and exe for manifest stuff fix for bug#4039 19 years ago
CMakeVS6BackwardCompatibility.cmake ENH: add documentation support for modules 20 years ago
CMakeVS6FindMake.cmake ENH: add correct flags for msvc generators 20 years ago
CMakeVS7BackwardCompatibility.cmake ENH: add documentation support for modules 20 years ago
CMakeVS7FindMake.cmake ENH: add correct flags for msvc generators 20 years ago
CMakeVS8FindMake.cmake ENH: add support for vs 2008 beta 2 18 years ago
CMakeVS9FindMake.cmake ENH: add support for vs 2008 beta 2 18 years ago
CMakeVS71FindMake.cmake ENH: add correct flags for msvc generators 20 years ago
COPYING-CMAKE-SCRIPTS ENH: add cmake modules for some common libraries: aspell, hspell, bzip2, 19 years ago
CPack.DS_Store.in ENH: More work on the packaging. Add Applicaitons, add icons, etc 19 years ago
CPack.Description.plist.in ENH: More CPack stuff and fix zlib compression 20 years ago
CPack.Info.plist.in ENH: Add verbose flag to package maker and add CFBundleIdentifier string 20 years ago
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 19 years ago
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 19 years ago
CPack.RuntimeScript.in ENH: Change permission for getdisplay.sh to make the runtimescript work 19 years ago
CPack.STGZ_Header.sh.in ENH: try if tail works with the -n +<number> syntax, if not use only 18 years ago
CPack.VolumeIcon.icns.in ENH: More work on the packaging. Add Applicaitons, add icons, etc 19 years ago
CPack.background.png.in ENH: More work on the packaging. Add Applicaitons, add icons, etc 19 years ago
CPack.cmake ENH: Add CPACK_SET_DESTDIR handling to enable packaging of installed files in absolute locations. With this setting on, cpack will set the DESTDIR env var when building the package so that files end up in their intended locations. Default behavior is not to set DESTDIR for backwards compatibility. Helps address issue #4993 and issue #5257. Also, remove unused CPACK_USE_DESTDIR variable. ENH: Add variable CPACK_PACKAGING_INSTALL_PREFIX to allow overriding the CPack GetPackagingInstallPrefix from a project's CMakeLists file if necessary. Could be used to remove the annoying /usr prefix still used by default in the Mac PackageMaker generator. 18 years ago
CPackDeb.cmake BUG: rename DEBIAN_PACKAGE_* variables to CPACK_DEBIAN_PACKAGE_* variables 18 years ago
CPackRPM.cmake ENH: fix for RPM generator from Eric 18 years ago
CPackZIP.cmake ENH: add ReadListFile() to cmCPackGenericGenerator, so cmMakefile can be 18 years ago
CTest.cmake ENH: merge CMake-CrossCompileBasic to HEAD 18 years ago
CTestTargets.cmake ENH: On Visual Studio and Xcode handle config type 19 years ago
CheckCCompilerFlag.cmake ENH: two macros to check whether the C/CXX compiler supports a given flag: 19 years ago
CheckCSourceCompiles.cmake STYLE: fix #3519 (incorrect comment) 19 years ago
CheckCSourceRuns.cmake ENH: use the same CMAKE_SKIP_RPATH setting in CHECK_C/CXX_SOURCE_RUNS as in 18 years ago
CheckCXXCompilerFlag.cmake ENH: two macros to check whether the C/CXX compiler supports a given flag: 19 years ago
CheckCXXSourceCompiles.cmake STYLE: fix #3519 (incorrect comment) 19 years ago
CheckCXXSourceRuns.cmake ENH: use the same CMAKE_SKIP_RPATH setting in CHECK_C/CXX_SOURCE_RUNS as in 18 years ago
CheckForPthreads.c ENH: merge in changes for beos support 19 years ago
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. 18 years ago
CheckFunctionExists.c ENH: fix tests for non-ansi c on hp and remove warnings for ansi c 22 years ago
CheckFunctionExists.cmake ENH: centralized locaiton of CMakeFiles setting 19 years ago
CheckIncludeFile.c.in BUG: Fix signature of main to work on both strict ANSI and non-ANSI C compilers. 19 years ago
CheckIncludeFile.cmake ENH: centralized locaiton of CMakeFiles setting 19 years ago
CheckIncludeFile.cxx.in Complete rework of makefile generators expect trouble 23 years ago
CheckIncludeFileCXX.cmake ENH: centralized locaiton of CMakeFiles setting 19 years ago
CheckIncludeFiles.cmake ENH: centralized locaiton of CMakeFiles setting 19 years ago
CheckLibraryExists.cmake ENH: centralized locaiton of CMakeFiles setting 19 years ago
CheckLibraryExists.lists.in Initial attempt to check if library exists 23 years ago
CheckSizeOf.cmake ENH: Renamed Modules/CheckSizeOf to Modules/CheckTypeSize for consistency with the macro name that is defined by the module. 23 years ago
CheckStructHasMember.cmake ENH: add macro to test if a member has specified struct, e.g. 18 years ago
CheckSymbolExists.cmake ENH: centralized locaiton of CMakeFiles setting 19 years ago
CheckTypeSize.cmake STYLE: remove unused CheckTypeSize.c.in 18 years ago
CheckTypeSizeC.c.in COMP: don't use stdio, it can fail on some embedded targets (sdcc) 18 years ago
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. 22 years ago
CheckVariableExists.cmake ENH: centralized locaiton of CMakeFiles setting 19 years ago
Dart.cmake STYLE: find Dart quietly (so it doesn't go in the feature log) 18 years ago
DartConfiguration.tcl.in ENH: Reorganize and add subversion support 21 years ago
Documentation.cmake ENH: add documentation support for modules 20 years ago
DummyCXXFile.cxx add checks for ansi flags and not hard code them 23 years ago
FLTKCompatibility.cmake ENH: threads used to include this 18 years ago
FeatureSummary.cmake ENH: add global properties for collecting enabled/disabled features during 18 years ago
FindASPELL.cmake BUG: fix for bug 0005871 18 years ago
FindAVIFile.cmake ENH: some style fixes for the book 20 years ago
FindBLAS.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. 18 years ago
FindBZip2.cmake ENH: add second failure message parameter to 18 years ago
FindBoost.cmake ENH: add second failure message parameter to 18 years ago
FindCABLE.cmake ENH: some style fixes for the book 20 years ago
FindCURL.cmake ENH: add second failure message parameter to 18 years ago
FindCups.cmake ENH: use the new FIND_PACKAGE_HANDLE_STANDARD_ARGS in some of the FindXXX 18 years ago
FindCurses.cmake COMP: make it build on NetBSD, which has separate curses and ncurses, so 18 years ago
FindCygwin.cmake ENH: add documentation support for modules 20 years ago
FindDCMTK.cmake ENH: use the new FIND_PACKAGE_HANDLE_STANDARD_ARGS() macro in most of the 18 years ago
FindDart.cmake ENH: use program files env for searching 20 years ago
FindDoxygen.cmake ENH: fix for backwards compatibility 19 years ago
FindEXPAT.cmake BUG: use the correct variable for checking the success (#6062) 18 years ago
FindFLTK.cmake ENH: some style fixes for the book 20 years ago
FindFLTK2.cmake ENH: add from bug 0004219 18 years ago
FindGCCXML.cmake ENH: use program files env for searching 20 years ago
FindGLU.cmake ENH: add documentation support for modules 20 years ago
FindGLUT.cmake ENH: use the new FIND_PACKAGE_HANDLE_STANDARD_ARGS() macro in most of the 18 years ago
FindGTK.cmake ENH: use the new FIND_PACKAGE_HANDLE_STANDARD_ARGS() macro in most of the 18 years ago
FindGettext.cmake BUG: fix typo reported by Duncan Mac Vicar 19 years ago
FindGnuplot.cmake ENH: add second failure message parameter to 18 years ago
FindHSPELL.cmake ENH: add second failure message parameter to 18 years ago
FindHTMLHelp.cmake ENH: use program files env for searching 20 years ago
FindITK.cmake ENH: some style fixes for the book 20 years ago
FindImageMagick.cmake ENH: some style fixes for the book 20 years ago
FindJNI.cmake BUG: fix for bug 4605 19 years ago
FindJPEG.cmake ENH: add second failure message parameter to 18 years ago
FindJasper.cmake ENH: add second failure message parameter to 18 years ago
FindJava.cmake ENH: More locations for Java 19 years ago
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 20 years ago
FindKDE3.cmake ENH: don't hardcode the /lib/kde3/ directory for the libtool files, but make 18 years ago
FindKDE4.cmake BUG: KDEDIRS contains the kde install locations, not the binary dirs, so 18 years ago
FindLAPACK.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. 18 years ago
FindLATEX.cmake ENH: some style fixes for the book 20 years ago
FindLibXml2.cmake ENH: add second failure message parameter to 18 years ago
FindLibXslt.cmake ENH: add second failure message parameter to 18 years ago
FindMFC.cmake ENH: cleanups 20 years ago
FindMPEG.cmake ENH: add second failure message parameter to 18 years ago
FindMPEG2.cmake ENH: add second failure message parameter to 18 years ago
FindMPI.cmake STYLE: use FIND_PACKAGE_HANDLE_STANDARD_ARGS() also in FindMPI.cmake 18 years ago
FindMatlab.cmake ENH: some style fixes for the book 20 years ago
FindMotif.cmake ENH: add second failure message parameter to 18 years ago
FindOpenAL.cmake ENH: add second failure message parameter to 18 years ago
FindOpenGL.cmake STYLE: remove unnecessary default search paths 18 years ago
FindOpenSSL.cmake ENH: add cmake modules for some common libraries: aspell, hspell, bzip2, 19 years ago
FindPHP4.cmake BUG: fix #5329, if /usr/xpg4/bin/tail exists, use this one -> on SunOS 18 years ago
FindPNG.cmake ENH: add second failure message parameter to 18 years ago
FindPackageHandleStandardArgs.cmake STYLE: fix typo 18 years ago
FindPerl.cmake ENH: add second failure message parameter to 18 years ago
FindPerlLibs.cmake ENH: add second failure message parameter to 18 years ago
FindPhysFS.cmake ENH: add second failure message parameter to 18 years ago
FindPike.cmake ENH: use the new FIND_PACKAGE_HANDLE_STANDARD_ARGS() macro in most of the 18 years ago
FindPkgConfig.cmake STYLE: fix typo 18 years ago
FindPythonInterp.cmake ENH: add support for the next python release, python 2.6 18 years ago
FindPythonLibs.cmake BUG: make the string static, otherwise the contents are gone when we exit 18 years ago
FindQt.cmake ENH: change to fatal error 20 years ago
FindQt3.cmake BUG: Fixed name of variable used to check version of uic executable. 18 years ago
FindQt4.cmake ENH: Fix case of windows library names to support 18 years ago
FindRuby.cmake BUG: fix 4164, also search for libruby1.8.so, I guess it should be synced 19 years ago
FindSDL.cmake ENH: add second failure message parameter to 18 years ago
FindSDL_image.cmake ENH: cleanups 20 years ago
FindSDL_mixer.cmake ENH: cleanups 20 years ago
FindSDL_net.cmake ENH: cleanups 20 years ago
FindSDL_sound.cmake ENH: centralized locaiton of CMakeFiles setting 19 years ago
FindSDL_ttf.cmake ENH: cleanups 20 years ago
FindSWIG.cmake ENH: add documentation support for modules 20 years ago
FindSelfPackers.cmake ENH: add documentation support for modules 20 years ago
FindSubversion.cmake ENH: Adding FindSubversion module from Tristan Carel. This addresses bug#3987. 19 years ago
FindTCL.cmake ENH: add second failure message parameter to 18 years ago
FindTIFF.cmake ENH: add second failure message parameter to 18 years ago
FindTclsh.cmake ENH: add second failure message parameter to 18 years ago
FindThreads.cmake BUG: Enable CMAKE_HP_PTHREADS only when the old CMA threads are available. Modern HP pthreads are just normal pthreads. 18 years ago
FindUnixCommands.cmake ENH: add documentation support for modules 20 years ago
FindVTK.cmake ENH: Add ability to find VTK 5 without user help. 19 years ago
FindWget.cmake ENH: add second failure message parameter to 18 years ago
FindWish.cmake BUG: fix for bug #3846 more advanced stuff 19 years ago
FindX11.cmake ENH: more consistence among the X11 components 18 years ago
FindXMLRPC.cmake BUG: fix for bug 4123, find xmlrpc in standard locations 19 years ago
FindZLIB.cmake ENH: add second failure message parameter to 18 years ago
FindwxWidgets.cmake BUG: Fix to support arch and isysroot compilation options on MAC (Bug 5007). 18 years ago
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. 19 years ago
ITKCompatibility.cmake ENH: added to handle case in ITK 2.8 and earlier 19 years ago
InstallRequiredSystemLibraries.cmake ENH: change name 18 years ago
KDE3Macros.cmake ENH: don't hardcode the /lib/kde3/ directory for the libtool files, but make 18 years ago
MacOSXBundleInfo.plist.in ENH: Improve Mac OSX bundle support 22 years ago
MacOSXFrameworkInfo.plist.in ENH: initial support for creation of frameworks on Mac 18 years ago
MacroAddFileDependencies.cmake ENH: Updates from KDE 19 years ago
NSIS.InstallOptions.ini.in ENH: allow for desktop link to be created and fix chop of last char in PATH on uninstall 18 years ago
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 18 years ago
SystemInformation.cmake ENH: limit the output of system information to no more than 50K per file 19 years ago
SystemInformation.in ENH: improvements 19 years ago
TestBigEndian.cmake ENH: for universal binaries return the endianess based on the processor 18 years ago
TestCXXAcceptsFlag.cmake ENH: centralized locaiton of CMakeFiles setting 19 years ago
TestEndianess.c.in STYLE: remove unused CheckTypeSize.c.in 18 years ago
TestForANSIForScope.cmake ENH: centralized locaiton of CMakeFiles setting 19 years ago
TestForANSIStreamHeaders.cmake ENH: cleanups 20 years ago
TestForANSIStreamHeaders.cxx new try compile module 23 years ago
TestForAnsiForScope.cxx ERR: Removed warning for unused variable. 23 years ago
TestForSSTREAM.cmake ENH: minor doc cleanups and an example of documenting a variable 18 years ago
TestForSSTREAM.cxx ENH: add support for watcom wmake and wcl386 20 years ago
TestForSTDNamespace.cmake ENH: centralized locaiton of CMakeFiles setting 19 years ago
TestForSTDNamespace.cxx Complete rework of makefile generators expect trouble 23 years ago
UseEcos.cmake ENH: now also the "ecosclean" target works with MS nmake 19 years ago
UsePkgConfig.cmake BUG: untested fix for newlines in the output of pkg config 19 years ago
UseQt4.cmake ENH: support QtScript 18 years ago
UseSWIG.cmake ENH: patch applied for bug 4517 19 years ago
UseVTK40.cmake ENH: add documentation support for modules 20 years ago
UseVTKBuildSettings40.cmake ENH: add documentation support for modules 20 years ago
UseVTKConfig40.cmake ENH: add documentation support for modules 20 years ago
Use_wxWindows.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. 19 years ago
UsewxWidgets.cmake ENH: Patch from Jan for bug#3453. Cleans up find script and enables -isystem feature for use script. 19 years ago
VTKCompatibility.cmake ENH: fix for back VTK error message 19 years ago
ecos_clean.cmake ENH: now also the "ecosclean" target works with MS nmake 19 years ago
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 20 years ago
kde3uic.cmake BUG: fix #3324: KDE3Macros.cmake didn't find Qt designer plugins when 19 years ago
readme.txt ENH: use the new FIND_PACKAGE_HANDLE_STANDARD_ARGS() macro in most of the 18 years ago

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.

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 [QUIET] [REQUIRED [components...]])

If the QUIET option is given to the command it will set the variable
XXX_FIND_QUIETLY to true before loading the FindXXX.cmake module. If
this variable is set the module should not complain about not being
able to find the package. 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.