Andy Cedilnik 37dc4bdc6e COMP: On mingw, -fPIC is not necessary and it actually produces warnings 20 년 전
..
Platform 37dc4bdc6e COMP: On mingw, -fPIC is not necessary and it actually produces warnings 20 년 전
CMake.cmake 66a08c10e5 ENH: more uniform approach to enable language, one step closer to being able to enable a language without modifing cmake source code 21 년 전
CMakeAddNewLanguage.txt 8be3e4eeca ENH: clean up EnableLanguage try to fix problem where try compile runs cmake 20 년 전
CMakeBackwardCompatibilityC.cmake c6e15f5ddf BUG: Fix try-compile for sys/prctl.h. It needs to include sys/types.h first according to the man page. 20 년 전
CMakeBackwardCompatibilityCXX.cmake ad4f98f3cf ENH: Cleanup. Use relative path to modules 21 년 전
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 b8b298104b ENH: make sure flags set in CC or CXX environment variables stay with the compiler 20 년 전
CMakeCInformation.cmake 9c4bfe975a ENH: add a fix for VTK on the mac and a way to fix some projects with a single file in the cmake modules directory 20 년 전
CMakeCXXCompiler.cmake.in b8b298104b ENH: make sure flags set in CC or CXX environment variables stay with the compiler 20 년 전
CMakeCXXInformation.cmake f7d926d072 ENH: remove -lgcc used by crazy coverage stuff 20 년 전
CMakeCommonLanguageInclude.cmake 692ba48c4e ENH: major changes to support addition of languages from cmake modules directory. 21 년 전
CMakeDetermineCCompiler.cmake c6b011e35e ENH: put cmake files intoa CMakeFiles subdir to clean up bin tree 20 년 전
CMakeDetermineCXXCompiler.cmake c6b011e35e ENH: put cmake files intoa CMakeFiles subdir to clean up bin tree 20 년 전
CMakeDetermineFortranCompiler.cmake c6b011e35e ENH: put cmake files intoa CMakeFiles subdir to clean up bin tree 20 년 전
CMakeDetermineJavaCompiler.cmake bcd62c8091 ENH: add support for java 1.5 20 년 전
CMakeDetermineRCCompiler.cmake c6b011e35e ENH: put cmake files intoa CMakeFiles subdir to clean up bin tree 20 년 전
CMakeDetermineSystem.cmake c6b011e35e ENH: put cmake files intoa CMakeFiles subdir to clean up bin tree 20 년 전
CMakeExportBuildSettings.cmake ee72d5740b ENH: Adding CMAKE_EXPORT_BUILD_SETTINGS and CMAKE_IMPORT_BUILD_SETTINGS macro. 23 년 전
CMakeFindFrameworks.cmake 13e9428d2e BUG#423: Fixed search for frameworks on OSX. 22 년 전
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 9c4bfe975a ENH: add a fix for VTK on the mac and a way to fix some projects with a single file in the cmake modules directory 20 년 전
CMakeGenericSystem.cmake 5fddc58427 ENH: Picking better default for CMAKE_INSTALL_PREFIX on Windows by using ProgramFiles environment variable. Now that install actually works on Windows I'm making this entry non-advanced also. 20 년 전
CMakeImportBuildSettings.cmake e67ffe8527 better error message 21 년 전
CMakeJavaCompiler.cmake.in b8b298104b ENH: make sure flags set in CC or CXX environment variables stay with the compiler 20 년 전
CMakeJavaInformation.cmake 016e0e52cb BUG: make sure java jar files are not libfoo.jar but are just foo.jar 21 년 전
CMakeLists.txt a6bd324605 ENH: Installing readme.txt in Modules directory to be consistent with windows. 22 년 전
CMakeNMakeFindMake.cmake e2d1104881 determine CMAKE_MAKE_PROGRAM in EnableLanguage 23 년 전
CMakePrintSystemInformation.cmake f5d95fb078 Complete rework of makefile generators expect trouble 23 년 전
CMakeRCCompiler.cmake.in b8b298104b ENH: make sure flags set in CC or CXX environment variables stay with the compiler 20 년 전
CMakeRCInformation.cmake b8b298104b ENH: make sure flags set in CC or CXX environment variables stay with the compiler 20 년 전
CMakeSystem.cmake.in 3021918293 ENH: add CMAKE_SYSTEM_PROCESSOR 22 년 전
CMakeSystemSpecificInformation.cmake e63ea0a6d2 BUG: LINK_FLAGS are now all LINK_(LANG)_FLAGS 21 년 전
CMakeTestCCompiler.cmake 7a3240160e BUG: Need to test void* not "void *" because the Intel compiler icc expands the asterisk. Thanks to Filipe Sousa for the patch. 20 년 전
CMakeTestCXXCompiler.cmake c6b011e35e ENH: put cmake files intoa CMakeFiles subdir to clean up bin tree 20 년 전
CMakeTestForFreeVC.cxx 0d4cd0436b ENH better test for free VC tools 21 년 전
CMakeTestFortranCompiler.cmake c6b011e35e ENH: put cmake files intoa CMakeFiles subdir to clean up bin tree 20 년 전
CMakeTestGNU.c 6b31e5c851 BUG: fix problem where cmake thinks the intel compiler is gnu 21 년 전
CMakeTestJavaCompiler.cmake 692ba48c4e ENH: major changes to support addition of languages from cmake modules directory. 21 년 전
CMakeTestNMakeCLVersion.c dfcd4f2154 added test for whether pdbtype should be used for nmake 22 년 전
CMakeTestRCCompiler.cmake 8be3e4eeca ENH: clean up EnableLanguage try to fix problem where try compile runs cmake 20 년 전
CMakeUnixFindMake.cmake 9992fe5103 BUG: Removed stray debugging message. 23 년 전
CMakeVS6BackwardCompatibility.cmake 6593700f09 added big endian stuff 23 년 전
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 6593700f09 added big endian stuff 23 년 전
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 년 전
CTest.cmake e26c160698 ENH: Initial import 20 년 전
CTestTargets.cmake e26c160698 ENH: Initial import 20 년 전
CheckCSourceCompiles.cmake e898324778 ENH: Add a test for C source file like AC_TRY_COMPILE 20 년 전
CheckCXXSourceCompiles.cmake 10b6e2a621 ENH: Add C++ test too 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 c6b011e35e ENH: put cmake files intoa CMakeFiles subdir to clean up bin tree 20 년 전
CheckIncludeFile.c.in 1d0d685049 Simplify checking for headers 23 년 전
CheckIncludeFile.cmake c6b011e35e ENH: put cmake files intoa CMakeFiles subdir to clean up bin tree 20 년 전
CheckIncludeFile.cxx.in f5d95fb078 Complete rework of makefile generators expect trouble 23 년 전
CheckIncludeFileCXX.cmake c6b011e35e ENH: put cmake files intoa CMakeFiles subdir to clean up bin tree 20 년 전
CheckIncludeFiles.cmake c6b011e35e ENH: put cmake files intoa CMakeFiles subdir to clean up bin tree 20 년 전
CheckLibraryExists.cmake c6b011e35e ENH: put cmake files intoa CMakeFiles subdir to clean up bin tree 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 c6b011e35e ENH: put cmake files intoa CMakeFiles subdir to clean up bin tree 20 년 전
CheckTypeSize.c.in 518de19f74 ENH: Add option of adding random include files before doing CheckTypeSize 21 년 전
CheckTypeSize.cmake c6b011e35e ENH: put cmake files intoa CMakeFiles subdir to clean up bin tree 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 c6b011e35e ENH: put cmake files intoa CMakeFiles subdir to clean up bin tree 20 년 전
Dart.cmake d604f5f625 STYLE: Fix typo 20 년 전
DartConfiguration.tcl.in 1ca05e219a ENH: Reorganize and add subversion support 21 년 전
Documentation.cmake 0871ddbedd ENH: Replace INCLUDE(Find...) with FIND_PACKAGE(...) 21 년 전
DummyCXXFile.cxx 9a6c95fcea add checks for ansi flags and not hard code them 23 년 전
FindAVIFile.cmake 290ffc01b6 ENH: Removing extra 64-bit search paths. They are now constructed automatically from the paths listed. 20 년 전
FindCABLE.cmake 2ad267cff3 ENH: Updated search paths to newest values from Cable. 22 년 전
FindCurses.cmake af59771b9b ENH: clean up some stuff 20 년 전
FindCygwin.cmake cb4f04c94e Remove unneeded test and code duplication. Add WIN32 test. Make all ADVANCED. 24 년 전
FindDCMTK.cmake 3a5e24ff7c ENH: Improvements by Julien 20 년 전
FindDart.cmake e2294ae591 ENH: look for Dart in c: 24 년 전
FindDoxygen.cmake 6d37630770 ENH: fix for darwin from eric wing 20 년 전
FindFLTK.cmake 2a7e0e7ad4 ENH: Replace with the one from InsightApp 20 년 전
FindGCCXML.cmake 11d50284ed ENH: Updated for version 0.2 of GCC-XML. 23 년 전
FindGLU.cmake ad4f98f3cf ENH: Cleanup. Use relative path to modules 21 년 전
FindGLUT.cmake 68bbbf95a4 BUG: fix for bug 852 20 년 전
FindGTK.cmake 290ffc01b6 ENH: Removing extra 64-bit search paths. They are now constructed automatically from the paths listed. 20 년 전
FindGnuplot.cmake ad4f98f3cf ENH: Cleanup. Use relative path to modules 21 년 전
FindHTMLHelp.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 년 전
FindITK.cmake 7c0844d2f4 BUG#682: Adding environment variable check to FIND_PACKAGE command. 21 년 전
FindImageMagick.cmake 5e366c361d IMPORTANT FIX: be extra-careful here on WIN32, we do NOT want CMake to look in the system's PATH env var to search for ImageMagick's convert.exe, otherwise it is going to pick Microsoft Window's own convert.exe, which is used to convert FAT partitions to NTFS format ! Depending on the options passed to convert.exe, there is a good chance you would kiss your hard-disk good-bye. 23 년 전
FindJNI.cmake 1d031367d9 ENH: java fixes from Mathieu 20 년 전
FindJPEG.cmake af59771b9b ENH: clean up some stuff 20 년 전
FindJava.cmake 1d031367d9 ENH: java fixes from Mathieu 20 년 전
FindKDE.cmake 50c900b85c ENH: add FindKDE from Alex from kde.org 21 년 전
FindLATEX.cmake a92c58bacc BUG#262: Marking DVIPDF_CONVERTER as advanced. 22 년 전
FindMFC.cmake 038cc6fa01 BUG: fix for bug 506 21 년 전
FindMPEG.cmake 290ffc01b6 ENH: Removing extra 64-bit search paths. They are now constructed automatically from the paths listed. 20 년 전
FindMPEG2.cmake 290ffc01b6 ENH: Removing extra 64-bit search paths. They are now constructed automatically from the paths listed. 20 년 전
FindMPI.cmake 4a1412b0cb BUG: fix for bugs 125 - 128, and a fix for the bug introduced by the bug fix for but 92. & was being replaced with &amp, but after double quote was replaced with &quot causing it to be &quot. Also add more search paths for mpi 22 년 전
FindMatlab.cmake db1903df89 ENH: add Matlab support 20 년 전
FindMotif.cmake fcafddb318 ENH: add a find motif 20 년 전
FindOpenAL.cmake 97e43d6481 ENH: add Eric Wings FindSDL updates 20 년 전
FindOpenGL.cmake 290ffc01b6 ENH: Removing extra 64-bit search paths. They are now constructed automatically from the paths listed. 20 년 전
FindPHP4.cmake 290ffc01b6 ENH: Removing extra 64-bit search paths. They are now constructed automatically from the paths listed. 20 년 전
FindPNG.cmake 290ffc01b6 ENH: Removing extra 64-bit search paths. They are now constructed automatically from the paths listed. 20 년 전
FindPerl.cmake ad4f98f3cf ENH: Cleanup. Use relative path to modules 21 년 전
FindPerlLibs.cmake 290ffc01b6 ENH: Removing extra 64-bit search paths. They are now constructed automatically from the paths listed. 20 년 전
FindPhysFS.cmake 403959bc28 ENH: add a bunch of find sdl stuff from eric wing 20 년 전
FindPike.cmake 257daa4635 ENH: Initial import of swig. Start working towards Bug #749 - Add swig support module to cmake 21 년 전
FindPythonInterp.cmake bc088d135b ENH: Add registry for 2.4 20 년 전
FindPythonLibs.cmake 290ffc01b6 ENH: Removing extra 64-bit search paths. They are now constructed automatically from the paths listed. 20 년 전
FindQt.cmake f81412aedf ENH: if qt4 qmake is found then set QT_QMAKE_EXECUTABLE to that value so that the same one will be used in FindQt4.cmake 20 년 전
FindQt3.cmake 3587b472f8 ENH: add more libraries for qt3 20 년 전
FindQt4.cmake eee1a7ec4c ENH: fix typo 20 년 전
FindRuby.cmake 290ffc01b6 ENH: Removing extra 64-bit search paths. They are now constructed automatically from the paths listed. 20 년 전
FindSDL.cmake 97e43d6481 ENH: add Eric Wings FindSDL updates 20 년 전
FindSDL_image.cmake 97e43d6481 ENH: add Eric Wings FindSDL updates 20 년 전
FindSDL_mixer.cmake 97e43d6481 ENH: add Eric Wings FindSDL updates 20 년 전
FindSDL_net.cmake 97e43d6481 ENH: add Eric Wings FindSDL updates 20 년 전
FindSDL_sound.cmake 97e43d6481 ENH: add Eric Wings FindSDL updates 20 년 전
FindSDL_ttf.cmake 97e43d6481 ENH: add Eric Wings FindSDL updates 20 년 전
FindSWIG.cmake 290ffc01b6 ENH: Removing extra 64-bit search paths. They are now constructed automatically from the paths listed. 20 년 전
FindSelfPackers.cmake ad4f98f3cf ENH: Cleanup. Use relative path to modules 21 년 전
FindTCL.cmake 290ffc01b6 ENH: Removing extra 64-bit search paths. They are now constructed automatically from the paths listed. 20 년 전
FindTIFF.cmake 290ffc01b6 ENH: Removing extra 64-bit search paths. They are now constructed automatically from the paths listed. 20 년 전
FindTclsh.cmake 82101f78cf ENH: Added registry check for ActiveState Tcl 8.4.6. 21 년 전
FindThreads.cmake c6b011e35e ENH: put cmake files intoa CMakeFiles subdir to clean up bin tree 20 년 전
FindUnixCommands.cmake ad4f98f3cf ENH: Cleanup. Use relative path to modules 21 년 전
FindVTK.cmake ad4f98f3cf ENH: Cleanup. Use relative path to modules 21 년 전
FindWget.cmake ad4f98f3cf ENH: Cleanup. Use relative path to modules 21 년 전
FindWish.cmake 2480a83deb ENH: Adding registry entries to search path. 22 년 전
FindX11.cmake 290ffc01b6 ENH: Removing extra 64-bit search paths. They are now constructed automatically from the paths listed. 20 년 전
FindZLIB.cmake af59771b9b ENH: clean up some stuff 20 년 전
FindwxWidgets.cmake ad4f98f3cf ENH: Cleanup. Use relative path to modules 21 년 전
FindwxWindows.cmake ad4f98f3cf ENH: Cleanup. Use relative path to modules 21 년 전
MacOSXBundleInfo.plist.in 1dbcfd2a98 ENH: Improve Mac OSX bundle support 21 년 전
TestBigEndian.c fad91fb770 ENH: fix tests for non-ansi c on hp and remove warnings for ansi c 21 년 전
TestBigEndian.cmake c6b011e35e ENH: put cmake files intoa CMakeFiles subdir to clean up bin tree 20 년 전
TestCXXAcceptsFlag.cmake c6b011e35e ENH: put cmake files intoa CMakeFiles subdir to clean up bin tree 20 년 전
TestForANSIForScope.cmake c6b011e35e ENH: put cmake files intoa CMakeFiles subdir to clean up bin tree 20 년 전
TestForANSIStreamHeaders.cmake ad4f98f3cf ENH: Cleanup. Use relative path to modules 21 년 전
TestForANSIStreamHeaders.cxx 32b398e55b new try compile module 23 년 전
TestForAnsiForScope.cxx a696dbc815 ERR: Removed warning for unused variable. 22 년 전
TestForSTDNamespace.cmake c6b011e35e ENH: put cmake files intoa CMakeFiles subdir to clean up bin tree 20 년 전
TestForSTDNamespace.cxx f5d95fb078 Complete rework of makefile generators expect trouble 23 년 전
UseQt4.cmake 4dabf40ce3 ENH: add -D options for qt stuff 20 년 전
UseSWIG.cmake 1c3d7a9662 ENH: add ability to set outdir in swig 20 년 전
UseVTK40.cmake ad4f98f3cf ENH: Cleanup. Use relative path to modules 21 년 전
UseVTKBuildSettings40.cmake 14771cf5f6 ENH: Added support for finding/using VTK 4.0 without using its UseVTK.cmake file that does a LOAD_CACHE. 23 년 전
UseVTKConfig40.cmake 1628b593d3 BUG: Copying _LIB_DEPENDS variables requires double-quoted argument. 23 년 전
Use_wxWindows.cmake ad4f98f3cf ENH: Cleanup. Use relative path to modules 21 년 전
UsewxWidgets.cmake ad4f98f3cf ENH: Cleanup. Use relative path to modules 21 년 전
VTKCompatibility.cmake 51abb73645 ENH: remove message 20 년 전
readme.txt 28117a2e4a Add important missing word to documentation 23 년 전

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.