Bill Hoffman 9891260a6d ENH: add support for watcom wmake and wcl386 пре 20 година
..
Platform 9891260a6d ENH: add support for watcom wmake and wcl386 пре 20 година
CMake.cmake b7fa820118 ENH: add documentation support for modules пре 20 година
CMakeAddNewLanguage.txt 8be3e4eeca ENH: clean up EnableLanguage try to fix problem where try compile runs cmake пре 20 година
CMakeBackwardCompatibilityC.cmake b7fa820118 ENH: add documentation support for modules пре 20 година
CMakeBackwardCompatibilityCXX.cmake 9891260a6d ENH: add support for watcom wmake and wcl386 пре 20 година
CMakeBorlandFindMake.cmake e2d1104881 determine CMAKE_MAKE_PROGRAM in EnableLanguage пре 23 година
CMakeBuildSettings.cmake.in ee72d5740b ENH: Adding CMAKE_EXPORT_BUILD_SETTINGS and CMAKE_IMPORT_BUILD_SETTINGS macro. пре 23 година
CMakeCCompiler.cmake.in 03e2911e55 BUG: fix SIZEOF VOIDP problem пре 20 година
CMakeCInformation.cmake b7fa820118 ENH: add documentation support for modules пре 20 година
CMakeCXXCompiler.cmake.in b8b298104b ENH: make sure flags set in CC or CXX environment variables stay with the compiler пре 20 година
CMakeCXXInformation.cmake b7fa820118 ENH: add documentation support for modules пре 20 година
CMakeCommonLanguageInclude.cmake b7fa820118 ENH: add documentation support for modules пре 20 година
CMakeDetermineCCompiler.cmake f6588b7919 ENH: fix borland make clean targets before build, add new generators for msys and mingw пре 20 година
CMakeDetermineCXXCompiler.cmake b7fa820118 ENH: add documentation support for modules пре 20 година
CMakeDetermineFortranCompiler.cmake b7fa820118 ENH: add documentation support for modules пре 20 година
CMakeDetermineJavaCompiler.cmake b7fa820118 ENH: add documentation support for modules пре 20 година
CMakeDetermineRCCompiler.cmake b7fa820118 ENH: add documentation support for modules пре 20 година
CMakeDetermineSystem.cmake b7fa820118 ENH: add documentation support for modules пре 20 година
CMakeExportBuildSettings.cmake d2689c95a1 ENH: some style fixes for the book пре 20 година
CMakeFindFrameworks.cmake b7fa820118 ENH: add documentation support for modules пре 20 година
CMakeFindWMake.cmake 9891260a6d ENH: add support for watcom wmake and wcl386 пре 20 година
CMakeFindXCode.cmake 8960a220a9 ENH: add trycompile code for xcode пре 21 година
CMakeFortranCompiler.cmake.in b8b298104b ENH: make sure flags set in CC or CXX environment variables stay with the compiler пре 20 година
CMakeFortranInformation.cmake b7fa820118 ENH: add documentation support for modules пре 20 година
CMakeGenericSystem.cmake 86ad253427 BUG: fix for bug 2322, use CMAKE_EXECUTABLE_SUFFIX variable for exe suffix пре 20 година
CMakeImportBuildSettings.cmake d2689c95a1 ENH: some style fixes for the book пре 20 година
CMakeJavaCompiler.cmake.in b8b298104b ENH: make sure flags set in CC or CXX environment variables stay with the compiler пре 20 година
CMakeJavaInformation.cmake b7fa820118 ENH: add documentation support for modules пре 20 година
CMakeLists.txt a6bd324605 ENH: Installing readme.txt in Modules directory to be consistent with windows. пре 22 година
CMakeMSYSFindMake.cmake f6588b7919 ENH: fix borland make clean targets before build, add new generators for msys and mingw пре 20 година
CMakeMinGWFindMake.cmake f6588b7919 ENH: fix borland make clean targets before build, add new generators for msys and mingw пре 20 година
CMakeNMakeFindMake.cmake e2d1104881 determine CMAKE_MAKE_PROGRAM in EnableLanguage пре 23 година
CMakePrintSystemInformation.cmake b7fa820118 ENH: add documentation support for modules пре 20 година
CMakeRCCompiler.cmake.in b8b298104b ENH: make sure flags set in CC or CXX environment variables stay with the compiler пре 20 година
CMakeRCInformation.cmake b7fa820118 ENH: add documentation support for modules пре 20 година
CMakeSystem.cmake.in 3021918293 ENH: add CMAKE_SYSTEM_PROCESSOR пре 22 година
CMakeSystemSpecificInformation.cmake b7fa820118 ENH: add documentation support for modules пре 20 година
CMakeTestCCompiler.cmake 4bdca3b404 ENH: put CmakeTmp into CMakeFiles пре 20 година
CMakeTestCXXCompiler.cmake 4bdca3b404 ENH: put CmakeTmp into CMakeFiles пре 20 година
CMakeTestForFreeVC.cxx 0d4cd0436b ENH better test for free VC tools пре 21 година
CMakeTestFortranCompiler.cmake 4bdca3b404 ENH: put CmakeTmp into CMakeFiles пре 20 година
CMakeTestGNU.c 6b31e5c851 BUG: fix problem where cmake thinks the intel compiler is gnu пре 21 година
CMakeTestJavaCompiler.cmake b7fa820118 ENH: add documentation support for modules пре 20 година
CMakeTestNMakeCLVersion.c dfcd4f2154 added test for whether pdbtype should be used for nmake пре 22 година
CMakeTestRCCompiler.cmake b7fa820118 ENH: add documentation support for modules пре 20 година
CMakeUnixFindMake.cmake 9992fe5103 BUG: Removed stray debugging message. пре 23 година
CMakeVS6BackwardCompatibility.cmake b7fa820118 ENH: add documentation support for modules пре 20 година
CMakeVS6FindMake.cmake 8149dbed29 ENH: Cleanups and add missing CMakeOutput.log and CMakeError.log appending. Close Bug #136 - Verify that all modules that do try compile produce CMakeError.log and CMakeOutput.log пре 22 година
CMakeVS71FindMake.cmake 8149dbed29 ENH: Cleanups and add missing CMakeOutput.log and CMakeError.log appending. Close Bug #136 - Verify that all modules that do try compile produce CMakeError.log and CMakeOutput.log пре 22 година
CMakeVS7BackwardCompatibility.cmake b7fa820118 ENH: add documentation support for modules пре 20 година
CMakeVS7FindMake.cmake 8149dbed29 ENH: Cleanups and add missing CMakeOutput.log and CMakeError.log appending. Close Bug #136 - Verify that all modules that do try compile produce CMakeError.log and CMakeOutput.log пре 22 година
CMakeVS8FindMake.cmake 17da34e188 COMP: Fix for support of VS 8.0 beta 2 пре 20 година
CPack.Description.plist.in 5358809a5c ENH: More CPack stuff and fix zlib compression пре 20 година
CPack.Info.plist.in a11b9a4cdc ENH: Merge from CPack branch пре 20 година
CPack.cmake 2a6bc87567 ENH: Some improvements: specify link, copy msvc libraries, fix install directory пре 20 година
CTest.cmake b7fa820118 ENH: add documentation support for modules пре 20 година
CTestTargets.cmake e26c160698 ENH: Initial import пре 20 година
CheckCSourceCompiles.cmake 4bdca3b404 ENH: put CmakeTmp into CMakeFiles пре 20 година
CheckCXXSourceCompiles.cmake 4bdca3b404 ENH: put CmakeTmp into CMakeFiles пре 20 година
CheckForPthreads.c fad91fb770 ENH: fix tests for non-ansi c on hp and remove warnings for ansi c пре 21 година
CheckFunctionExists.c fad91fb770 ENH: fix tests for non-ansi c on hp and remove warnings for ansi c пре 21 година
CheckFunctionExists.cmake b7fa820118 ENH: add documentation support for modules пре 20 година
CheckIncludeFile.c.in 1d0d685049 Simplify checking for headers пре 23 година
CheckIncludeFile.cmake 4bdca3b404 ENH: put CmakeTmp into CMakeFiles пре 20 година
CheckIncludeFile.cxx.in f5d95fb078 Complete rework of makefile generators expect trouble пре 23 година
CheckIncludeFileCXX.cmake 4bdca3b404 ENH: put CmakeTmp into CMakeFiles пре 20 година
CheckIncludeFiles.cmake 4bdca3b404 ENH: put CmakeTmp into CMakeFiles пре 20 година
CheckLibraryExists.cmake d2689c95a1 ENH: some style fixes for the book пре 20 година
CheckLibraryExists.lists.in 3697ad6dc7 Initial attempt to check if library exists пре 23 година
CheckSizeOf.cmake ea1467d056 ENH: Renamed Modules/CheckSizeOf to Modules/CheckTypeSize for consistency with the macro name that is defined by the module. пре 23 година
CheckSymbolExists.cmake 4bdca3b404 ENH: put CmakeTmp into CMakeFiles пре 20 година
CheckTypeSize.c.in 96f948adf5 ENH: fix checktypesize пре 20 година
CheckTypeSize.cmake 96f948adf5 ENH: fix checktypesize пре 20 година
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 година
CheckVariableExists.cmake d2689c95a1 ENH: some style fixes for the book пре 20 година
Dart.cmake b7fa820118 ENH: add documentation support for modules пре 20 година
DartConfiguration.tcl.in 1ca05e219a ENH: Reorganize and add subversion support пре 21 година
Documentation.cmake b7fa820118 ENH: add documentation support for modules пре 20 година
DummyCXXFile.cxx 9a6c95fcea add checks for ansi flags and not hard code them пре 23 година
FindAVIFile.cmake d2689c95a1 ENH: some style fixes for the book пре 20 година
FindCABLE.cmake d2689c95a1 ENH: some style fixes for the book пре 20 година
FindCurses.cmake b7fa820118 ENH: add documentation support for modules пре 20 година
FindCygwin.cmake b7fa820118 ENH: add documentation support for modules пре 20 година
FindDCMTK.cmake b7fa820118 ENH: add documentation support for modules пре 20 година
FindDart.cmake b7fa820118 ENH: add documentation support for modules пре 20 година
FindDoxygen.cmake b7fa820118 ENH: add documentation support for modules пре 20 година
FindFLTK.cmake d2689c95a1 ENH: some style fixes for the book пре 20 година
FindGCCXML.cmake b7fa820118 ENH: add documentation support for modules пре 20 година
FindGLU.cmake b7fa820118 ENH: add documentation support for modules пре 20 година
FindGLUT.cmake d2689c95a1 ENH: some style fixes for the book пре 20 година
FindGTK.cmake d2689c95a1 ENH: some style fixes for the book пре 20 година
FindGnuplot.cmake b7fa820118 ENH: add documentation support for modules пре 20 година
FindHTMLHelp.cmake d2689c95a1 ENH: some style fixes for the book пре 20 година
FindITK.cmake d2689c95a1 ENH: some style fixes for the book пре 20 година
FindImageMagick.cmake d2689c95a1 ENH: some style fixes for the book пре 20 година
FindJNI.cmake d2689c95a1 ENH: some style fixes for the book пре 20 година
FindJPEG.cmake d2689c95a1 ENH: some style fixes for the book пре 20 година
FindJava.cmake d2689c95a1 ENH: some style fixes for the book пре 20 година
FindKDE.cmake b7fa820118 ENH: add documentation support for modules пре 20 година
FindLATEX.cmake d2689c95a1 ENH: some style fixes for the book пре 20 година
FindMFC.cmake 74eaecfc3e ENH: cleanups пре 20 година
FindMPEG.cmake 74eaecfc3e ENH: cleanups пре 20 година
FindMPEG2.cmake 74eaecfc3e ENH: cleanups пре 20 година
FindMPI.cmake 74eaecfc3e ENH: cleanups пре 20 година
FindMatlab.cmake d2689c95a1 ENH: some style fixes for the book пре 20 година
FindMotif.cmake 74eaecfc3e ENH: cleanups пре 20 година
FindOpenAL.cmake b7fa820118 ENH: add documentation support for modules пре 20 година
FindOpenGL.cmake 74eaecfc3e ENH: cleanups пре 20 година
FindPHP4.cmake 74eaecfc3e ENH: cleanups пре 20 година
FindPNG.cmake b7fa820118 ENH: add documentation support for modules пре 20 година
FindPerl.cmake 74eaecfc3e ENH: cleanups пре 20 година
FindPerlLibs.cmake 74eaecfc3e ENH: cleanups пре 20 година
FindPhysFS.cmake 74eaecfc3e ENH: cleanups пре 20 година
FindPike.cmake 74eaecfc3e ENH: cleanups пре 20 година
FindPythonInterp.cmake 74eaecfc3e ENH: cleanups пре 20 година
FindPythonLibs.cmake 74eaecfc3e ENH: cleanups пре 20 година
FindQt.cmake 19e566d395 ENH: add qt quiet stuff пре 20 година
FindQt3.cmake 4b0fd57bef ENH: fix module documenation to handle bad docs and fix qt3 docs пре 20 година
FindQt4.cmake 19e566d395 ENH: add qt quiet stuff пре 20 година
FindRuby.cmake 74eaecfc3e ENH: cleanups пре 20 година
FindSDL.cmake 74eaecfc3e ENH: cleanups пре 20 година
FindSDL_image.cmake 74eaecfc3e ENH: cleanups пре 20 година
FindSDL_mixer.cmake 74eaecfc3e ENH: cleanups пре 20 година
FindSDL_net.cmake 74eaecfc3e ENH: cleanups пре 20 година
FindSDL_sound.cmake 4bdca3b404 ENH: put CmakeTmp into CMakeFiles пре 20 година
FindSDL_ttf.cmake 74eaecfc3e ENH: cleanups пре 20 година
FindSWIG.cmake b7fa820118 ENH: add documentation support for modules пре 20 година
FindSelfPackers.cmake b7fa820118 ENH: add documentation support for modules пре 20 година
FindTCL.cmake 74eaecfc3e ENH: cleanups пре 20 година
FindTIFF.cmake 74eaecfc3e ENH: cleanups пре 20 година
FindTclsh.cmake 74eaecfc3e ENH: cleanups пре 20 година
FindThreads.cmake 74eaecfc3e ENH: cleanups пре 20 година
FindUnixCommands.cmake b7fa820118 ENH: add documentation support for modules пре 20 година
FindVTK.cmake 74eaecfc3e ENH: cleanups пре 20 година
FindWget.cmake 74eaecfc3e ENH: cleanups пре 20 година
FindWish.cmake 74eaecfc3e ENH: cleanups пре 20 година
FindX11.cmake 74eaecfc3e ENH: cleanups пре 20 година
FindZLIB.cmake b7fa820118 ENH: add documentation support for modules пре 20 година
FindwxWidgets.cmake ad4f98f3cf ENH: Cleanup. Use relative path to modules пре 21 година
FindwxWindows.cmake 1fd9060406 ENH: contribution from Jan Woetzel пре 20 година
MacOSXBundleInfo.plist.in 1dbcfd2a98 ENH: Improve Mac OSX bundle support пре 21 година
NSIS.template.in 2a6bc87567 ENH: Some improvements: specify link, copy msvc libraries, fix install directory пре 20 година
TestBigEndian.c fad91fb770 ENH: fix tests for non-ansi c on hp and remove warnings for ansi c пре 21 година
TestBigEndian.cmake b7fa820118 ENH: add documentation support for modules пре 20 година
TestCXXAcceptsFlag.cmake b7fa820118 ENH: add documentation support for modules пре 20 година
TestForANSIForScope.cmake b7fa820118 ENH: add documentation support for modules пре 20 година
TestForANSIStreamHeaders.cmake 74eaecfc3e ENH: cleanups пре 20 година
TestForANSIStreamHeaders.cxx 32b398e55b new try compile module пре 23 година
TestForAnsiForScope.cxx a696dbc815 ERR: Removed warning for unused variable. пре 22 година
TestForSSTREAM.cmake 9891260a6d ENH: add support for watcom wmake and wcl386 пре 20 година
TestForSSTREAM.cxx 9891260a6d ENH: add support for watcom wmake and wcl386 пре 20 година
TestForSTDNamespace.cmake 74eaecfc3e ENH: cleanups пре 20 година
TestForSTDNamespace.cxx f5d95fb078 Complete rework of makefile generators expect trouble пре 23 година
UseQt4.cmake b7fa820118 ENH: add documentation support for modules пре 20 година
UseSWIG.cmake 74eaecfc3e ENH: cleanups пре 20 година
UseVTK40.cmake b7fa820118 ENH: add documentation support for modules пре 20 година
UseVTKBuildSettings40.cmake b7fa820118 ENH: add documentation support for modules пре 20 година
UseVTKConfig40.cmake b7fa820118 ENH: add documentation support for modules пре 20 година
Use_wxWindows.cmake 74eaecfc3e ENH: cleanups пре 20 година
UsewxWidgets.cmake b7fa820118 ENH: add documentation support for modules пре 20 година
VTKCompatibility.cmake 630924c0eb ENH: fix problem with building vtk 4.4.2 пре 20 година
readme.txt 9891260a6d ENH: add support for watcom wmake and wcl386 пре 20 година

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_DIR Where to find xxx.h, etc. If for some reason, you really need two paths, then that shouldn't be a problem - however, consider if you really should have two different FindXXX.cmake files. (XXX_INCLUDE_PATH was considered bad because a path includes an actual filename.)
XXX_LIBRARIES The libraries to link against to use XXX. These should include full paths.
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_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.

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

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