Miguel A. Figueroa-Villanueva 93f079ecae STYLE: Clarified usage documentation for cmake --help-module FindwxWidgets. 18 years ago
..
Platform e3c84cf5a6 ENH: add support for the Syllable OS (http://www.syllable.org) 18 years ago
AddFileDependencies.cmake a980fdc96a BUG: don't include MacroLibrary.cmake, but add a cmake module which implements ADD_FILE_DEPENDENCIES() 19 years ago
CMake.cmake b7fa820118 ENH: add documentation support for modules 20 years ago
CMakeASM-ATTInformation.cmake 5b18b80b58 18 years ago
CMakeASMCompiler.cmake.in 021ceea1b0 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) 18 years ago
CMakeASMInformation.cmake d885d45b0f 18 years ago
CMakeAddNewLanguage.txt 8be3e4eeca ENH: clean up EnableLanguage try to fix problem where try compile runs cmake 20 years ago
CMakeBackwardCompatibilityC.cmake b7fa820118 ENH: add documentation support for modules 20 years ago
CMakeBackwardCompatibilityCXX.cmake 9891260a6d ENH: add support for watcom wmake and wcl386 20 years ago
CMakeBorlandFindMake.cmake e2d1104881 determine CMAKE_MAKE_PROGRAM in EnableLanguage 23 years ago
CMakeBuildSettings.cmake.in ee72d5740b ENH: Adding CMAKE_EXPORT_BUILD_SETTINGS and CMAKE_IMPORT_BUILD_SETTINGS macro. 23 years ago
CMakeCCompiler.cmake.in 021ceea1b0 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) 18 years ago
CMakeCCompilerId.c 4ee1ee1bd0 18 years ago
CMakeCInformation.cmake 930bb0cd37 18 years ago
CMakeCXXCompiler.cmake.in 021ceea1b0 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) 18 years ago
CMakeCXXCompilerId.cpp 4ee1ee1bd0 18 years ago
CMakeCXXInformation.cmake 930bb0cd37 18 years ago
CMakeCommonLanguageInclude.cmake 45d85c2e34 BUG: fix for 3550 again 19 years ago
CMakeConfigurableFile.in 01a55559dd ENH: Make modules use configure instead of file write 20 years ago
CMakeDependentOption.cmake de007ef199 ENH: Adding CMAKE_DEPENDENT_OPTION macro. 19 years ago
CMakeDetermineASM-ATTCompiler.cmake 5b18b80b58 18 years ago
CMakeDetermineASMCompiler.cmake 5b18b80b58 18 years ago
CMakeDetermineCCompiler.cmake ff9ed18dad 18 years ago
CMakeDetermineCXXCompiler.cmake ff9ed18dad 18 years ago
CMakeDetermineCompilerId.cmake 40e55ab780 18 years ago
CMakeDetermineFortranCompiler.cmake d9bbc3f45f STYLE: fdcorrect comments about FC/CC 18 years ago
CMakeDetermineJavaCompiler.cmake 0b804cbece 18 years ago
CMakeDetermineRCCompiler.cmake 8ffb32369f BUG: Need to search for rc by default, not c++ compilers. 19 years ago
CMakeDetermineSystem.cmake b100fe1fe1 18 years ago
CMakeExportBuildSettings.cmake d2689c95a1 ENH: some style fixes for the book 20 years ago
CMakeFindBinUtils.cmake b100fe1fe1 18 years ago
CMakeFindFrameworks.cmake b7fa820118 ENH: add documentation support for modules 20 years ago
CMakeFindWMake.cmake 9891260a6d ENH: add support for watcom wmake and wcl386 20 years ago
CMakeFindXCode.cmake 8960a220a9 ENH: add trycompile code for xcode 21 years ago
CMakeForceCompiler.cmake f35f1ac9ab 18 years ago
CMakeFortranCompiler.cmake.in 021ceea1b0 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) 18 years ago
CMakeFortranCompilerId.F90 44ab336a0c 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. 18 years ago
CMakeFortranInformation.cmake 44ab336a0c 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. 18 years ago
CMakeGenericSystem.cmake c3b42e90ed 18 years ago
CMakeImportBuildSettings.cmake 2523629f4b ENH: fix for case difference with nmake 19 years ago
CMakeJavaCompiler.cmake.in 021ceea1b0 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) 18 years ago
CMakeJavaInformation.cmake 5ecfd3d4d3 ENH: fix java and add OBJECT_DIR support 19 years ago
CMakeLists.txt e118a62709 18 years ago
CMakeMSYSFindMake.cmake 5042581f43 ENH: better algorithm for looking for make and gcc on msys and mingw 20 years ago
CMakeMinGWFindMake.cmake 5042581f43 ENH: better algorithm for looking for make and gcc on msys and mingw 20 years ago
CMakeNMakeFindMake.cmake e2d1104881 determine CMAKE_MAKE_PROGRAM in EnableLanguage 23 years ago
CMakePlatformId.h 2d051a6709 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 b7fa820118 ENH: add documentation support for modules 20 years ago
CMakeRCCompiler.cmake.in b8b298104b ENH: make sure flags set in CC or CXX environment variables stay with the compiler 20 years ago
CMakeRCInformation.cmake 718de4cea5 ENH: fix spelling errors 19 years ago
CMakeSystem.cmake.in b100fe1fe1 18 years ago
CMakeSystemSpecificInformation.cmake 512e0d40ef 18 years ago
CMakeTestASM-ATTCompiler.cmake 5b18b80b58 18 years ago
CMakeTestASMCompiler.cmake 5b18b80b58 18 years ago
CMakeTestCCompiler.cmake 61d3444f93 18 years ago
CMakeTestCXXCompiler.cmake 8e9a6beccc ENH: centralized locaiton of CMakeFiles setting 19 years ago
CMakeTestForFreeVC.cxx 0d4cd0436b ENH better test for free VC tools 21 years ago
CMakeTestFortranCompiler.cmake 8e9a6beccc ENH: centralized locaiton of CMakeFiles setting 19 years ago
CMakeTestGNU.c 6b31e5c851 BUG: fix problem where cmake thinks the intel compiler is gnu 21 years ago
CMakeTestJavaCompiler.cmake b7fa820118 ENH: add documentation support for modules 20 years ago
CMakeTestNMakeCLVersion.c dfcd4f2154 added test for whether pdbtype should be used for nmake 22 years ago
CMakeTestRCCompiler.cmake b7fa820118 ENH: add documentation support for modules 20 years ago
CMakeUnixFindMake.cmake 90e4d70dcc BUG: fix for 4188 look for smake as well as gmake and make 18 years ago
CMakeVCManifest.cmake 276e7e21a3 ENH: Adding flags to force generation of manifest files when building with VC 8. 19 years ago
CMakeVCManifestExe.cmake 5ac4801a04 BUG: use different commands for shared libraries and exe for manifest stuff fix for bug#4039 19 years ago
CMakeVS6BackwardCompatibility.cmake b7fa820118 ENH: add documentation support for modules 20 years ago
CMakeVS6FindMake.cmake 51f91db648 ENH: add correct flags for msvc generators 19 years ago
CMakeVS71FindMake.cmake 51f91db648 ENH: add correct flags for msvc generators 19 years ago
CMakeVS7BackwardCompatibility.cmake b7fa820118 ENH: add documentation support for modules 20 years ago
CMakeVS7FindMake.cmake 51f91db648 ENH: add correct flags for msvc generators 19 years ago
CMakeVS8FindMake.cmake 9cbb998737 ENH: add support for vs 2008 beta 2 18 years ago
CMakeVS9FindMake.cmake 9cbb998737 ENH: add support for vs 2008 beta 2 18 years ago
COPYING-CMAKE-SCRIPTS 8b46841b6d ENH: add cmake modules for some common libraries: aspell, hspell, bzip2, 19 years ago
CPack.DS_Store.in f2c0dbd164 ENH: More work on the packaging. Add Applicaitons, add icons, etc 19 years ago
CPack.Description.plist.in 5358809a5c ENH: More CPack stuff and fix zlib compression 20 years ago
CPack.Info.plist.in a460c60843 ENH: Add verbose flag to package maker and add CFBundleIdentifier string 19 years ago
CPack.OSXScriptLauncher.in de5540f7e5 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 de5540f7e5 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 f015e1ff03 ENH: Change permission for getdisplay.sh to make the runtimescript work 19 years ago
CPack.STGZ_Header.sh.in 3a12116e39 18 years ago
CPack.VolumeIcon.icns.in f2c0dbd164 ENH: More work on the packaging. Add Applicaitons, add icons, etc 19 years ago
CPack.background.png.in f2c0dbd164 ENH: More work on the packaging. Add Applicaitons, add icons, etc 19 years ago
CPack.cmake 5beb1da7f7 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 2d1bcf806f BUG: rename DEBIAN_PACKAGE_* variables to CPACK_DEBIAN_PACKAGE_* variables 18 years ago
CPackRPM.cmake a1a5895c89 ENH: fix for RPM generator from Eric 18 years ago
CPackZIP.cmake 919265516e 18 years ago
CTest.cmake 61d3444f93 18 years ago
CTestTargets.cmake f9dc5b5553 ENH: On Visual Studio and Xcode handle config type 19 years ago
CheckCCompilerFlag.cmake 86c63dca11 ENH: two macros to check whether the C/CXX compiler supports a given flag: 19 years ago
CheckCSourceCompiles.cmake 4668f03484 BUG: Revert "Fix kwstyleSource/CTest/cmCTestBuildHandler.cxx" 18 years ago
CheckCSourceRuns.cmake bd8b733d5e 18 years ago
CheckCXXCompilerFlag.cmake 86c63dca11 ENH: two macros to check whether the C/CXX compiler supports a given flag: 19 years ago
CheckCXXSourceCompiles.cmake d454231a0a STYLE: fix #3519 (incorrect comment) 19 years ago
CheckCXXSourceRuns.cmake bd8b733d5e 18 years ago
CheckForPthreads.c 3a32cec969 ENH: merge in changes for beos support 19 years ago
CheckFortranFunctionExists.cmake 680cff0b9f 18 years ago
CheckFunctionExists.c fad91fb770 ENH: fix tests for non-ansi c on hp and remove warnings for ansi c 21 years ago
CheckFunctionExists.cmake 8e9a6beccc ENH: centralized locaiton of CMakeFiles setting 19 years ago
CheckIncludeFile.c.in 095e975c81 BUG: Fix signature of main to work on both strict ANSI and non-ANSI C compilers. 19 years ago
CheckIncludeFile.cmake 8e9a6beccc ENH: centralized locaiton of CMakeFiles setting 19 years ago
CheckIncludeFile.cxx.in f5d95fb078 Complete rework of makefile generators expect trouble 23 years ago
CheckIncludeFileCXX.cmake 8e9a6beccc ENH: centralized locaiton of CMakeFiles setting 19 years ago
CheckIncludeFiles.cmake 8e9a6beccc ENH: centralized locaiton of CMakeFiles setting 19 years ago
CheckLibraryExists.cmake 8e9a6beccc ENH: centralized locaiton of CMakeFiles setting 19 years ago
CheckLibraryExists.lists.in 3697ad6dc7 Initial attempt to check if library exists 23 years ago
CheckSizeOf.cmake ea1467d056 ENH: Renamed Modules/CheckSizeOf to Modules/CheckTypeSize for consistency with the macro name that is defined by the module. 23 years ago
CheckStructHasMember.cmake 3e72dbe4c2 18 years ago
CheckSymbolExists.cmake 8e9a6beccc ENH: centralized locaiton of CMakeFiles setting 19 years ago
CheckTypeSize.cmake 578841cce5 18 years ago
CheckTypeSizeC.c.in 6989f80026 18 years ago
CheckVariableExists.c a8b2400f7b BUG#502: Do not let optimizing compilers think the symbol exists. Require the symbol by making the return value depend on it to force linking. 21 years ago
CheckVariableExists.cmake 8e9a6beccc ENH: centralized locaiton of CMakeFiles setting 19 years ago
Dart.cmake 88bb17bee9 18 years ago
DartConfiguration.tcl.in 1ca05e219a ENH: Reorganize and add subversion support 21 years ago
Documentation.cmake b7fa820118 ENH: add documentation support for modules 20 years ago
DummyCXXFile.cxx 9a6c95fcea add checks for ansi flags and not hard code them 23 years ago
FLTKCompatibility.cmake 70585819fb ENH: threads used to include this 18 years ago
FeatureSummary.cmake 8d7b502337 18 years ago
FindASPELL.cmake e808f81f90 BUG: fix for bug 0005871 18 years ago
FindAVIFile.cmake d2689c95a1 ENH: some style fixes for the book 20 years ago
FindBLAS.cmake 680cff0b9f 18 years ago
FindBZip2.cmake 13db5b578b 18 years ago
FindBoost.cmake 13db5b578b 18 years ago
FindCABLE.cmake d2689c95a1 ENH: some style fixes for the book 20 years ago
FindCURL.cmake 13db5b578b 18 years ago
FindCups.cmake b5f656e0de 18 years ago
FindCurses.cmake c41f798383 18 years ago
FindCygwin.cmake b7fa820118 ENH: add documentation support for modules 20 years ago
FindDCMTK.cmake c7770b8edb 18 years ago
FindDart.cmake 7603244509 ENH: use program files env for searching 19 years ago
FindDoxygen.cmake 3b1c74d34a ENH: fix for backwards compatibility 19 years ago
FindEXPAT.cmake bdc1e4e054 BUG: use the correct variable for checking the success (#6062) 18 years ago
FindFLTK.cmake d2689c95a1 ENH: some style fixes for the book 20 years ago
FindFLTK2.cmake b2ac4754a6 ENH: add from bug 0004219 18 years ago
FindGCCXML.cmake 7603244509 ENH: use program files env for searching 19 years ago
FindGLU.cmake b7fa820118 ENH: add documentation support for modules 20 years ago
FindGLUT.cmake c7770b8edb 18 years ago
FindGTK.cmake c7770b8edb 18 years ago
FindGettext.cmake 20d75ac237 BUG: fix typo reported by Duncan Mac Vicar 18 years ago
FindGnuplot.cmake 13db5b578b 18 years ago
FindHSPELL.cmake 13db5b578b 18 years ago
FindHTMLHelp.cmake 7603244509 ENH: use program files env for searching 19 years ago
FindITK.cmake d2689c95a1 ENH: some style fixes for the book 20 years ago
FindImageMagick.cmake d2689c95a1 ENH: some style fixes for the book 20 years ago
FindJNI.cmake 2803688998 BUG: fix for bug 4605 18 years ago
FindJPEG.cmake 13db5b578b 18 years ago
FindJasper.cmake 13db5b578b 18 years ago
FindJava.cmake e607d5f7df ENH: More locations for Java 19 years ago
FindKDE.cmake d253baab99 ENH: add real-world-tested and used KDE3 support, and obsolete FindKDE.cmake, which wasn't used by anybody that I heard of 19 years ago
FindKDE3.cmake 7eb86d1e3c 18 years ago
FindKDE4.cmake 983e2a9a51 18 years ago
FindLAPACK.cmake 680cff0b9f 18 years ago
FindLATEX.cmake d2689c95a1 ENH: some style fixes for the book 20 years ago
FindLibXml2.cmake 13db5b578b 18 years ago
FindLibXslt.cmake 13db5b578b 18 years ago
FindMFC.cmake 74eaecfc3e ENH: cleanups 20 years ago
FindMPEG.cmake 13db5b578b 18 years ago
FindMPEG2.cmake 13db5b578b 18 years ago
FindMPI.cmake b82b47e329 18 years ago
FindMatlab.cmake d2689c95a1 ENH: some style fixes for the book 20 years ago
FindMotif.cmake 13db5b578b 18 years ago
FindOpenAL.cmake 13db5b578b 18 years ago
FindOpenGL.cmake 1fe4220669 18 years ago
FindOpenSSL.cmake 8b46841b6d ENH: add cmake modules for some common libraries: aspell, hspell, bzip2, 19 years ago
FindPHP4.cmake ad8efca061 18 years ago
FindPNG.cmake 13db5b578b 18 years ago
FindPackageHandleStandardArgs.cmake af1b145b3b 18 years ago
FindPerl.cmake 13db5b578b 18 years ago
FindPerlLibs.cmake 13db5b578b 18 years ago
FindPhysFS.cmake 13db5b578b 18 years ago
FindPike.cmake c7770b8edb 18 years ago
FindPkgConfig.cmake 1410eef27a 18 years ago
FindPythonInterp.cmake 52bf51b425 18 years ago
FindPythonLibs.cmake ec207513e4 18 years ago
FindQt.cmake b442e86492 ENH: change to fatal error 20 years ago
FindQt3.cmake 1a71290836 BUG: Fixed name of variable used to check version of uic executable. 18 years ago
FindQt4.cmake 45e974791f ENH: Fix case of windows library names to support 18 years ago
FindRuby.cmake 179aad32f3 BUG: fix 4164, also search for libruby1.8.so, I guess it should be synced 19 years ago
FindSDL.cmake 13db5b578b 18 years ago
FindSDL_image.cmake 74eaecfc3e ENH: cleanups 20 years ago
FindSDL_mixer.cmake 74eaecfc3e ENH: cleanups 20 years ago
FindSDL_net.cmake 74eaecfc3e ENH: cleanups 20 years ago
FindSDL_sound.cmake 8e9a6beccc ENH: centralized locaiton of CMakeFiles setting 19 years ago
FindSDL_ttf.cmake 74eaecfc3e ENH: cleanups 20 years ago
FindSWIG.cmake b7fa820118 ENH: add documentation support for modules 20 years ago
FindSelfPackers.cmake b7fa820118 ENH: add documentation support for modules 20 years ago
FindSubversion.cmake b2240ef6af ENH: Adding FindSubversion module from Tristan Carel. This addresses bug#3987. 19 years ago
FindTCL.cmake 13db5b578b 18 years ago
FindTIFF.cmake 13db5b578b 18 years ago
FindTclsh.cmake 13db5b578b 18 years ago
FindThreads.cmake c5b197842f 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 b7fa820118 ENH: add documentation support for modules 20 years ago
FindVTK.cmake 859db10e2a ENH: Add ability to find VTK 5 without user help. 19 years ago
FindWget.cmake 13db5b578b 18 years ago
FindWish.cmake d460481da3 BUG: fix for bug #3846 more advanced stuff 19 years ago
FindX11.cmake 79077f8373 18 years ago
FindXMLRPC.cmake 3fb55bff36 BUG: fix for bug 4123, find xmlrpc in standard locations 19 years ago
FindZLIB.cmake 13db5b578b 18 years ago
FindwxWidgets.cmake 93f079ecae STYLE: Clarified usage documentation for cmake --help-module FindwxWidgets. 18 years ago
FindwxWindows.cmake 3c9744f406 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 540d16384b ENH: added to handle case in ITK 2.8 and earlier 19 years ago
InstallRequiredSystemLibraries.cmake bb82b48715 ENH: change name 18 years ago
KDE3Macros.cmake 7eb86d1e3c 18 years ago
MacOSXBundleInfo.plist.in 1dbcfd2a98 ENH: Improve Mac OSX bundle support 21 years ago
MacOSXFrameworkInfo.plist.in 9323a27989 ENH: initial support for creation of frameworks on Mac 18 years ago
MacroAddFileDependencies.cmake 63c241ea1e ENH: Updates from KDE 19 years ago
NSIS.InstallOptions.ini.in 0eba9b638f ENH: allow for desktop link to be created and fix chop of last char in PATH on uninstall 18 years ago
NSIS.template.in 02f79c7242 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 971f9e4869 ENH: limit the output of system information to no more than 50K per file 18 years ago
SystemInformation.in fa9f03779f ENH: improvements 18 years ago
TestBigEndian.cmake 263bb4e172 18 years ago
TestCXXAcceptsFlag.cmake 8e9a6beccc ENH: centralized locaiton of CMakeFiles setting 19 years ago
TestEndianess.c.in 578841cce5 18 years ago
TestForANSIForScope.cmake 8e9a6beccc ENH: centralized locaiton of CMakeFiles setting 19 years ago
TestForANSIStreamHeaders.cmake 74eaecfc3e ENH: cleanups 20 years ago
TestForANSIStreamHeaders.cxx 32b398e55b new try compile module 23 years ago
TestForAnsiForScope.cxx a696dbc815 ERR: Removed warning for unused variable. 22 years ago
TestForSSTREAM.cmake b63ff2fb6f ENH: minor doc cleanups and an example of documenting a variable 18 years ago
TestForSSTREAM.cxx 9891260a6d ENH: add support for watcom wmake and wcl386 20 years ago
TestForSTDNamespace.cmake 8e9a6beccc ENH: centralized locaiton of CMakeFiles setting 19 years ago
TestForSTDNamespace.cxx f5d95fb078 Complete rework of makefile generators expect trouble 23 years ago
UseEcos.cmake 5586c6f41b ENH: now also the "ecosclean" target works with MS nmake 19 years ago
UsePkgConfig.cmake 100723fbb0 BUG: untested fix for newlines in the output of pkg config 18 years ago
UseQt4.cmake 96d8460b4e ENH: Define QT_NO_DEBUG when building with release Qt libs. 18 years ago
UseSWIG.cmake 8b7ff9b08b ENH: patch applied for bug 4517 18 years ago
UseVTK40.cmake b7fa820118 ENH: add documentation support for modules 20 years ago
UseVTKBuildSettings40.cmake b7fa820118 ENH: add documentation support for modules 20 years ago
UseVTKConfig40.cmake b7fa820118 ENH: add documentation support for modules 20 years ago
Use_wxWindows.cmake 3c9744f406 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 2fd1b374c1 ENH: Patch from Jan for bug#3453. Cleans up find script and enables -isystem feature for use script. 19 years ago
VTKCompatibility.cmake e1a142f033 ENH: fix for back VTK error message 19 years ago
ecos_clean.cmake 5586c6f41b ENH: now also the "ecosclean" target works with MS nmake 19 years ago
kde3init_dummy.cpp.in d253baab99 ENH: add real-world-tested and used KDE3 support, and obsolete FindKDE.cmake, which wasn't used by anybody that I heard of 19 years ago
kde3uic.cmake 0afe72e908 BUG: fix #3324: KDE3Macros.cmake didn't find Qt designer plugins when 19 years ago
readme.txt c7770b8edb 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
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.