Andy Cedilnik 17da34e188 COMP: Fix for support of VS 8.0 beta 2 21 anni fa
..
Platform 6adbe6d049 ENH: Be more verbose, handle network paths, and write compiler output to the log files 21 anni fa
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 anni fa
CMakeBackwardCompatibilityC.cmake c6e15f5ddf BUG: Fix try-compile for sys/prctl.h. It needs to include sys/types.h first according to the man page. 21 anni fa
CMakeBackwardCompatibilityCXX.cmake ad4f98f3cf ENH: Cleanup. Use relative path to modules 21 anni fa
CMakeBorlandFindMake.cmake e2d1104881 determine CMAKE_MAKE_PROGRAM in EnableLanguage 23 anni fa
CMakeBuildSettings.cmake.in ee72d5740b ENH: Adding CMAKE_EXPORT_BUILD_SETTINGS and CMAKE_IMPORT_BUILD_SETTINGS macro. 23 anni fa
CMakeCCompiler.cmake.in 36dd18efce ENH: stuff to keep compiler tests from re-running all the time 21 anni fa
CMakeCInformation.cmake 692ba48c4e ENH: major changes to support addition of languages from cmake modules directory. 21 anni fa
CMakeCXXCompiler.cmake.in f3f123fe46 FIX: fix bug 1495 21 anni fa
CMakeCXXInformation.cmake e63ea0a6d2 BUG: LINK_FLAGS are now all LINK_(LANG)_FLAGS 21 anni fa
CMakeCommonLanguageInclude.cmake 692ba48c4e ENH: major changes to support addition of languages from cmake modules directory. 21 anni fa
CMakeDetermineCCompiler.cmake 36dd18efce ENH: stuff to keep compiler tests from re-running all the time 21 anni fa
CMakeDetermineCXXCompiler.cmake 2e4264e0d1 ENH: do not check for gnu for visual studio 21 anni fa
CMakeDetermineFortranCompiler.cmake 7cef36c628 ENH: add the ability to generate custom commands for a language that is not supported by an IDE 21 anni fa
CMakeDetermineJavaCompiler.cmake 290ffc01b6 ENH: Removing extra 64-bit search paths. They are now constructed automatically from the paths listed. 21 anni fa
CMakeDetermineRCCompiler.cmake 692ba48c4e ENH: major changes to support addition of languages from cmake modules directory. 21 anni fa
CMakeDetermineSystem.cmake 476f278c76 fix number of arguments 21 anni fa
CMakeExportBuildSettings.cmake ee72d5740b ENH: Adding CMAKE_EXPORT_BUILD_SETTINGS and CMAKE_IMPORT_BUILD_SETTINGS macro. 23 anni fa
CMakeFindFrameworks.cmake 13e9428d2e BUG#423: Fixed search for frameworks on OSX. 22 anni fa
CMakeFindXCode.cmake 8960a220a9 ENH: add trycompile code for xcode 21 anni fa
CMakeFortranCompiler.cmake.in 36dd18efce ENH: stuff to keep compiler tests from re-running all the time 21 anni fa
CMakeFortranInformation.cmake 7157fa163c ENH: added requires flag 21 anni fa
CMakeGenericSystem.cmake 7c7b173042 ENH: Added better default install location for windows builds. The previous default /usr/local did not make much sense. Now "%SystemDrive%/Program Files/PROJECT_NAME" is used, which is the windows equivalent to /usr/local. 21 anni fa
CMakeImportBuildSettings.cmake e67ffe8527 better error message 22 anni fa
CMakeJavaCompiler.cmake.in 36dd18efce ENH: stuff to keep compiler tests from re-running all the time 21 anni fa
CMakeJavaInformation.cmake 016e0e52cb BUG: make sure java jar files are not libfoo.jar but are just foo.jar 21 anni fa
CMakeLists.txt a6bd324605 ENH: Installing readme.txt in Modules directory to be consistent with windows. 22 anni fa
CMakeNMakeFindMake.cmake e2d1104881 determine CMAKE_MAKE_PROGRAM in EnableLanguage 23 anni fa
CMakePrintSystemInformation.cmake f5d95fb078 Complete rework of makefile generators expect trouble 23 anni fa
CMakeRCCompiler.cmake.in 36dd18efce ENH: stuff to keep compiler tests from re-running all the time 21 anni fa
CMakeRCInformation.cmake 67ac3ea503 ENH: fix problems with .def and RC files 21 anni fa
CMakeSystem.cmake.in 3021918293 ENH: add CMAKE_SYSTEM_PROCESSOR 23 anni fa
CMakeSystemSpecificInformation.cmake e63ea0a6d2 BUG: LINK_FLAGS are now all LINK_(LANG)_FLAGS 21 anni fa
CMakeTestCCompiler.cmake 3ca1081419 BUG: try to address Bug 1673 . 21 anni fa
CMakeTestCXXCompiler.cmake 36dd18efce ENH: stuff to keep compiler tests from re-running all the time 21 anni fa
CMakeTestForFreeVC.cxx 0d4cd0436b ENH better test for free VC tools 21 anni fa
CMakeTestFortranCompiler.cmake 92458a17ad ENH: Added test for Fortran90 support. 21 anni fa
CMakeTestGNU.c 6b31e5c851 BUG: fix problem where cmake thinks the intel compiler is gnu 22 anni fa
CMakeTestJavaCompiler.cmake 692ba48c4e ENH: major changes to support addition of languages from cmake modules directory. 21 anni fa
CMakeTestNMakeCLVersion.c dfcd4f2154 added test for whether pdbtype should be used for nmake 22 anni fa
CMakeTestRCCompiler.cmake 692ba48c4e ENH: major changes to support addition of languages from cmake modules directory. 21 anni fa
CMakeUnixFindMake.cmake 9992fe5103 BUG: Removed stray debugging message. 23 anni fa
CMakeVS6BackwardCompatibility.cmake 6593700f09 added big endian stuff 23 anni fa
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 anni fa
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 anni fa
CMakeVS7BackwardCompatibility.cmake 6593700f09 added big endian stuff 23 anni fa
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 anni fa
CMakeVS8FindMake.cmake 17da34e188 COMP: Fix for support of VS 8.0 beta 2 21 anni fa
CheckForPthreads.c fad91fb770 ENH: fix tests for non-ansi c on hp and remove warnings for ansi c 22 anni fa
CheckFunctionExists.c fad91fb770 ENH: fix tests for non-ansi c on hp and remove warnings for ansi c 22 anni fa
CheckFunctionExists.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 anni fa
CheckIncludeFile.c.in 1d0d685049 Simplify checking for headers 23 anni fa
CheckIncludeFile.cmake f248295d5d ENH: fixes for optional flag arguments to check include macros 22 anni fa
CheckIncludeFile.cxx.in f5d95fb078 Complete rework of makefile generators expect trouble 23 anni fa
CheckIncludeFileCXX.cmake f248295d5d ENH: fixes for optional flag arguments to check include macros 22 anni fa
CheckIncludeFiles.cmake b1a1526e14 ENH: When test fails, write out the output 21 anni fa
CheckLibraryExists.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 anni fa
CheckLibraryExists.lists.in 3697ad6dc7 Initial attempt to check if library exists 23 anni fa
CheckSizeOf.cmake ea1467d056 ENH: Renamed Modules/CheckSizeOf to Modules/CheckTypeSize for consistency with the macro name that is defined by the module. 23 anni fa
CheckSymbolExists.cmake d6ebc123f7 ENH: Extra new line after output 22 anni fa
CheckTypeSize.c.in 518de19f74 ENH: Add option of adding random include files before doing CheckTypeSize 21 anni fa
CheckTypeSize.cmake 518de19f74 ENH: Add option of adding random include files before doing CheckTypeSize 21 anni fa
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. 22 anni fa
CheckVariableExists.cmake c17be8d126 BUG: Message describing variable was using result variable. 22 anni fa
Dart.cmake bcfc71cc03 STYLE: Fixed spelling of "memmory". 21 anni fa
DartConfiguration.tcl.in 1ca05e219a ENH: Reorganize and add subversion support 21 anni fa
Documentation.cmake 0871ddbedd ENH: Replace INCLUDE(Find...) with FIND_PACKAGE(...) 21 anni fa
DummyCXXFile.cxx 9a6c95fcea add checks for ansi flags and not hard code them 23 anni fa
FindAVIFile.cmake 290ffc01b6 ENH: Removing extra 64-bit search paths. They are now constructed automatically from the paths listed. 21 anni fa
FindCABLE.cmake 2ad267cff3 ENH: Updated search paths to newest values from Cable. 23 anni fa
FindCurses.cmake 2fdca2bbaa FIX: fix for bug 1438 21 anni fa
FindCygwin.cmake cb4f04c94e Remove unneeded test and code duplication. Add WIN32 test. Make all ADVANCED. 24 anni fa
FindDCMTK.cmake eae89e0f88 BUG: fix for bug 1652 21 anni fa
FindDart.cmake e2294ae591 ENH: look for Dart in c: 24 anni fa
FindDoxygen.cmake 6037cc8b3b a) new version of tools like Doxygen and Graphviz now set install path info in win32 registery. use it. 21 anni fa
FindFLTK.cmake 290ffc01b6 ENH: Removing extra 64-bit search paths. They are now constructed automatically from the paths listed. 21 anni fa
FindGCCXML.cmake 11d50284ed ENH: Updated for version 0.2 of GCC-XML. 24 anni fa
FindGLU.cmake ad4f98f3cf ENH: Cleanup. Use relative path to modules 21 anni fa
FindGLUT.cmake 290ffc01b6 ENH: Removing extra 64-bit search paths. They are now constructed automatically from the paths listed. 21 anni fa
FindGTK.cmake 290ffc01b6 ENH: Removing extra 64-bit search paths. They are now constructed automatically from the paths listed. 21 anni fa
FindGnuplot.cmake ad4f98f3cf ENH: Cleanup. Use relative path to modules 21 anni fa
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 anni fa
FindITK.cmake 7c0844d2f4 BUG#682: Adding environment variable check to FIND_PACKAGE command. 22 anni fa
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 anni fa
FindJNI.cmake 290ffc01b6 ENH: Removing extra 64-bit search paths. They are now constructed automatically from the paths listed. 21 anni fa
FindJPEG.cmake 290ffc01b6 ENH: Removing extra 64-bit search paths. They are now constructed automatically from the paths listed. 21 anni fa
FindJava.cmake 290ffc01b6 ENH: Removing extra 64-bit search paths. They are now constructed automatically from the paths listed. 21 anni fa
FindKDE.cmake 50c900b85c ENH: add FindKDE from Alex from kde.org 21 anni fa
FindLATEX.cmake a92c58bacc BUG#262: Marking DVIPDF_CONVERTER as advanced. 22 anni fa
FindMFC.cmake 038cc6fa01 BUG: fix for bug 506 22 anni fa
FindMPEG.cmake 290ffc01b6 ENH: Removing extra 64-bit search paths. They are now constructed automatically from the paths listed. 21 anni fa
FindMPEG2.cmake 290ffc01b6 ENH: Removing extra 64-bit search paths. They are now constructed automatically from the paths listed. 21 anni fa
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 anni fa
FindOpenGL.cmake 290ffc01b6 ENH: Removing extra 64-bit search paths. They are now constructed automatically from the paths listed. 21 anni fa
FindPHP4.cmake 290ffc01b6 ENH: Removing extra 64-bit search paths. They are now constructed automatically from the paths listed. 21 anni fa
FindPNG.cmake 290ffc01b6 ENH: Removing extra 64-bit search paths. They are now constructed automatically from the paths listed. 21 anni fa
FindPerl.cmake ad4f98f3cf ENH: Cleanup. Use relative path to modules 21 anni fa
FindPerlLibs.cmake 290ffc01b6 ENH: Removing extra 64-bit search paths. They are now constructed automatically from the paths listed. 21 anni fa
FindPike.cmake 257daa4635 ENH: Initial import of swig. Start working towards Bug #749 - Add swig support module to cmake 22 anni fa
FindPythonLibs.cmake 290ffc01b6 ENH: Removing extra 64-bit search paths. They are now constructed automatically from the paths listed. 21 anni fa
FindQt.cmake 290ffc01b6 ENH: Removing extra 64-bit search paths. They are now constructed automatically from the paths listed. 21 anni fa
FindRuby.cmake 290ffc01b6 ENH: Removing extra 64-bit search paths. They are now constructed automatically from the paths listed. 21 anni fa
FindSDL.cmake 290ffc01b6 ENH: Removing extra 64-bit search paths. They are now constructed automatically from the paths listed. 21 anni fa
FindSWIG.cmake 290ffc01b6 ENH: Removing extra 64-bit search paths. They are now constructed automatically from the paths listed. 21 anni fa
FindSelfPackers.cmake ad4f98f3cf ENH: Cleanup. Use relative path to modules 21 anni fa
FindTCL.cmake 290ffc01b6 ENH: Removing extra 64-bit search paths. They are now constructed automatically from the paths listed. 21 anni fa
FindTIFF.cmake 290ffc01b6 ENH: Removing extra 64-bit search paths. They are now constructed automatically from the paths listed. 21 anni fa
FindTclsh.cmake 82101f78cf ENH: Added registry check for ActiveState Tcl 8.4.6. 22 anni fa
FindThreads.cmake c6e15f5ddf BUG: Fix try-compile for sys/prctl.h. It needs to include sys/types.h first according to the man page. 21 anni fa
FindUnixCommands.cmake ad4f98f3cf ENH: Cleanup. Use relative path to modules 21 anni fa
FindVTK.cmake ad4f98f3cf ENH: Cleanup. Use relative path to modules 21 anni fa
FindWget.cmake ad4f98f3cf ENH: Cleanup. Use relative path to modules 21 anni fa
FindWish.cmake 2480a83deb ENH: Adding registry entries to search path. 22 anni fa
FindX11.cmake 290ffc01b6 ENH: Removing extra 64-bit search paths. They are now constructed automatically from the paths listed. 21 anni fa
FindZLIB.cmake 290ffc01b6 ENH: Removing extra 64-bit search paths. They are now constructed automatically from the paths listed. 21 anni fa
FindwxWidgets.cmake ad4f98f3cf ENH: Cleanup. Use relative path to modules 21 anni fa
FindwxWindows.cmake ad4f98f3cf ENH: Cleanup. Use relative path to modules 21 anni fa
MacOSXBundleInfo.plist.in 1dbcfd2a98 ENH: Improve Mac OSX bundle support 22 anni fa
TestBigEndian.c fad91fb770 ENH: fix tests for non-ansi c on hp and remove warnings for ansi c 22 anni fa
TestBigEndian.cmake b7b501bbe8 ENH: fix for 1450 21 anni fa
TestCXXAcceptsFlag.cmake 235bf2547c BUG: Check for the variable first time 21 anni fa
TestForANSIForScope.cmake ac8bf0d5ac BUG#374: Adding OUTPUT_VARIABLE OUTPUT to TRY_COMPILE commands. 22 anni fa
TestForANSIStreamHeaders.cmake ad4f98f3cf ENH: Cleanup. Use relative path to modules 21 anni fa
TestForANSIStreamHeaders.cxx 32b398e55b new try compile module 23 anni fa
TestForAnsiForScope.cxx a696dbc815 ERR: Removed warning for unused variable. 23 anni fa
TestForSTDNamespace.cmake ac8bf0d5ac BUG#374: Adding OUTPUT_VARIABLE OUTPUT to TRY_COMPILE commands. 22 anni fa
TestForSTDNamespace.cxx f5d95fb078 Complete rework of makefile generators expect trouble 23 anni fa
UseSWIG.cmake 2df5c6033c ENH: make sure source flags don't have to be set 21 anni fa
UseVTK40.cmake ad4f98f3cf ENH: Cleanup. Use relative path to modules 21 anni fa
UseVTKBuildSettings40.cmake 14771cf5f6 ENH: Added support for finding/using VTK 4.0 without using its UseVTK.cmake file that does a LOAD_CACHE. 23 anni fa
UseVTKConfig40.cmake 1628b593d3 BUG: Copying _LIB_DEPENDS variables requires double-quoted argument. 23 anni fa
Use_wxWindows.cmake ad4f98f3cf ENH: Cleanup. Use relative path to modules 21 anni fa
UsewxWidgets.cmake ad4f98f3cf ENH: Cleanup. Use relative path to modules 21 anni fa
readme.txt 28117a2e4a Add important missing word to documentation 23 anni fa

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.