CMake/Modules
Bill Hoffman c6fbe4a980 ENH: only add optional qt stuff to QT_INCLUDES 2005-09-14 11:16:02 -04:00
..
Platform ENH: add flags for debug release for aix 2005-08-29 17:09:29 -04:00
CMake.cmake ENH: more uniform approach to enable language, one step closer to being able to enable a language without modifing cmake source code 2004-08-26 14:55:55 -04:00
CMakeBackwardCompatibilityC.cmake BUG: Fix try-compile for sys/prctl.h. It needs to include sys/types.h first according to the man page. 2005-04-26 17:11:48 -04:00
CMakeBackwardCompatibilityCXX.cmake ENH: Cleanup. Use relative path to modules 2004-08-26 22:52:53 -04:00
CMakeBorlandFindMake.cmake determine CMAKE_MAKE_PROGRAM in EnableLanguage 2002-12-03 16:19:16 -05:00
CMakeBuildSettings.cmake.in ENH: Adding CMAKE_EXPORT_BUILD_SETTINGS and CMAKE_IMPORT_BUILD_SETTINGS macro. 2002-12-05 09:46:30 -05:00
CMakeCCompiler.cmake.in ENH: make sure flags set in CC or CXX environment variables stay with the compiler 2005-07-20 15:44:55 -04:00
CMakeCInformation.cmake 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 2005-09-07 17:05:01 -04:00
CMakeCXXCompiler.cmake.in ENH: make sure flags set in CC or CXX environment variables stay with the compiler 2005-07-20 15:44:55 -04:00
CMakeCXXInformation.cmake 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 2005-09-07 17:05:01 -04:00
CMakeCommonLanguageInclude.cmake ENH: major changes to support addition of languages from cmake modules directory. 2004-09-22 14:42:05 -04:00
CMakeDetermineCCompiler.cmake ENH: put cmake files intoa CMakeFiles subdir to clean up bin tree 2005-07-29 09:19:25 -04:00
CMakeDetermineCXXCompiler.cmake ENH: put cmake files intoa CMakeFiles subdir to clean up bin tree 2005-07-29 09:19:25 -04:00
CMakeDetermineFortranCompiler.cmake ENH: put cmake files intoa CMakeFiles subdir to clean up bin tree 2005-07-29 09:19:25 -04:00
CMakeDetermineJavaCompiler.cmake ENH: add support for java 1.5 2005-09-08 10:03:51 -04:00
CMakeDetermineRCCompiler.cmake ENH: put cmake files intoa CMakeFiles subdir to clean up bin tree 2005-07-29 09:19:25 -04:00
CMakeDetermineSystem.cmake ENH: put cmake files intoa CMakeFiles subdir to clean up bin tree 2005-07-29 09:19:25 -04:00
CMakeExportBuildSettings.cmake ENH: Adding CMAKE_EXPORT_BUILD_SETTINGS and CMAKE_IMPORT_BUILD_SETTINGS macro. 2002-12-05 09:46:30 -05:00
CMakeFindFrameworks.cmake BUG#423: Fixed search for frameworks on OSX. 2003-12-29 16:18:18 -05:00
CMakeFindXCode.cmake ENH: add trycompile code for xcode 2005-02-01 13:12:19 -05:00
CMakeFortranCompiler.cmake.in ENH: make sure flags set in CC or CXX environment variables stay with the compiler 2005-07-20 15:44:55 -04:00
CMakeFortranInformation.cmake 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 2005-09-07 17:05:01 -04:00
CMakeGenericSystem.cmake 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. 2005-08-29 15:49:51 -04:00
CMakeImportBuildSettings.cmake better error message 2004-05-25 11:20:38 -04:00
CMakeJavaCompiler.cmake.in ENH: make sure flags set in CC or CXX environment variables stay with the compiler 2005-07-20 15:44:55 -04:00
CMakeJavaInformation.cmake BUG: make sure java jar files are not libfoo.jar but are just foo.jar 2004-09-27 11:36:29 -04:00
CMakeLists.txt ENH: Installing readme.txt in Modules directory to be consistent with windows. 2003-08-11 17:34:12 -04:00
CMakeNMakeFindMake.cmake determine CMAKE_MAKE_PROGRAM in EnableLanguage 2002-12-03 16:19:16 -05:00
CMakePrintSystemInformation.cmake Complete rework of makefile generators expect trouble 2002-11-08 15:46:08 -05:00
CMakeRCCompiler.cmake.in ENH: make sure flags set in CC or CXX environment variables stay with the compiler 2005-07-20 15:44:55 -04:00
CMakeRCInformation.cmake ENH: make sure flags set in CC or CXX environment variables stay with the compiler 2005-07-20 15:44:55 -04:00
CMakeSystem.cmake.in ENH: add CMAKE_SYSTEM_PROCESSOR 2003-06-11 10:07:57 -04:00
CMakeSystemSpecificInformation.cmake BUG: LINK_FLAGS are now all LINK_(LANG)_FLAGS 2004-09-24 14:37:58 -04:00
CMakeTestCCompiler.cmake BUG: Need to test void* not "void *" because the Intel compiler icc expands the asterisk. Thanks to Filipe Sousa for the patch. 2005-08-19 09:29:44 -04:00
CMakeTestCXXCompiler.cmake ENH: put cmake files intoa CMakeFiles subdir to clean up bin tree 2005-07-29 09:19:25 -04:00
CMakeTestForFreeVC.cxx ENH better test for free VC tools 2004-09-03 15:19:58 -04:00
CMakeTestFortranCompiler.cmake ENH: put cmake files intoa CMakeFiles subdir to clean up bin tree 2005-07-29 09:19:25 -04:00
CMakeTestGNU.c BUG: fix problem where cmake thinks the intel compiler is gnu 2004-05-18 14:33:12 -04:00
CMakeTestJavaCompiler.cmake ENH: major changes to support addition of languages from cmake modules directory. 2004-09-22 14:42:05 -04:00
CMakeTestNMakeCLVersion.c added test for whether pdbtype should be used for nmake 2003-08-05 09:55:20 -04:00
CMakeTestRCCompiler.cmake ENH: major changes to support addition of languages from cmake modules directory. 2004-09-22 14:42:05 -04:00
CMakeUnixFindMake.cmake BUG: Removed stray debugging message. 2002-12-04 16:59:05 -05:00
CMakeVS6BackwardCompatibility.cmake added big endian stuff 2003-01-09 08:50:00 -05:00
CMakeVS6FindMake.cmake 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 2003-08-08 11:59:07 -04:00
CMakeVS7BackwardCompatibility.cmake added big endian stuff 2003-01-09 08:50:00 -05:00
CMakeVS7FindMake.cmake 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 2003-08-08 11:59:07 -04:00
CMakeVS8FindMake.cmake COMP: Fix for support of VS 8.0 beta 2 2005-05-26 17:30:13 -04:00
CMakeVS71FindMake.cmake 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 2003-08-08 11:59:07 -04:00
CTest.cmake ENH: Initial import 2005-08-03 13:19:36 -04:00
CTestTargets.cmake ENH: Initial import 2005-08-03 13:19:36 -04:00
CheckCSourceCompiles.cmake ENH: Add a test for C source file like AC_TRY_COMPILE 2005-07-31 23:02:22 -04:00
CheckCXXSourceCompiles.cmake ENH: Add C++ test too 2005-07-31 23:05:05 -04:00
CheckForPthreads.c ENH: fix tests for non-ansi c on hp and remove warnings for ansi c 2004-04-15 08:22:19 -04:00
CheckFunctionExists.c ENH: fix tests for non-ansi c on hp and remove warnings for ansi c 2004-04-15 08:22:19 -04:00
CheckFunctionExists.cmake ENH: put cmake files intoa CMakeFiles subdir to clean up bin tree 2005-07-29 09:19:25 -04:00
CheckIncludeFile.c.in Simplify checking for headers 2002-09-20 14:16:43 -04:00
CheckIncludeFile.cmake ENH: put cmake files intoa CMakeFiles subdir to clean up bin tree 2005-07-29 09:19:25 -04:00
CheckIncludeFile.cxx.in Complete rework of makefile generators expect trouble 2002-11-08 15:46:08 -05:00
CheckIncludeFileCXX.cmake ENH: put cmake files intoa CMakeFiles subdir to clean up bin tree 2005-07-29 09:19:25 -04:00
CheckIncludeFiles.cmake ENH: put cmake files intoa CMakeFiles subdir to clean up bin tree 2005-07-29 09:19:25 -04:00
CheckLibraryExists.cmake ENH: put cmake files intoa CMakeFiles subdir to clean up bin tree 2005-07-29 09:19:25 -04:00
CheckLibraryExists.lists.in Initial attempt to check if library exists 2002-09-24 16:36:56 -04:00
CheckSizeOf.cmake ENH: Renamed Modules/CheckSizeOf to Modules/CheckTypeSize for consistency with the macro name that is defined by the module. 2002-12-30 11:02:31 -05:00
CheckSymbolExists.cmake ENH: put cmake files intoa CMakeFiles subdir to clean up bin tree 2005-07-29 09:19:25 -04:00
CheckTypeSize.c.in ENH: Add option of adding random include files before doing CheckTypeSize 2004-10-05 08:33:08 -04:00
CheckTypeSize.cmake ENH: put cmake files intoa CMakeFiles subdir to clean up bin tree 2005-07-29 09:19:25 -04:00
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. 2004-04-26 10:19:44 -04:00
CheckVariableExists.cmake ENH: put cmake files intoa CMakeFiles subdir to clean up bin tree 2005-07-29 09:19:25 -04:00
Dart.cmake STYLE: Fix typo 2005-08-03 13:19:22 -04:00
DartConfiguration.tcl.in ENH: Reorganize and add subversion support 2005-02-16 13:30:17 -05:00
Documentation.cmake ENH: Replace INCLUDE(Find...) with FIND_PACKAGE(...) 2004-09-27 09:49:55 -04:00
DummyCXXFile.cxx add checks for ansi flags and not hard code them 2002-11-21 12:52:54 -05:00
FindAVIFile.cmake ENH: Removing extra 64-bit search paths. They are now constructed automatically from the paths listed. 2005-04-07 14:27:01 -04:00
FindCABLE.cmake ENH: Updated search paths to newest values from Cable. 2003-04-22 16:10:18 -04:00
FindCurses.cmake ENH: clean up some stuff 2005-09-08 11:38:55 -04:00
FindCygwin.cmake Remove unneeded test and code duplication. Add WIN32 test. Make all ADVANCED. 2001-12-04 10:55:17 -05:00
FindDCMTK.cmake ENH: Improvements by Julien 2005-07-05 11:17:58 -04:00
FindDart.cmake ENH: look for Dart in c: 2002-02-25 13:20:48 -05:00
FindDoxygen.cmake ENH: fix for darwin from eric wing 2005-07-13 09:08:47 -04:00
FindFLTK.cmake ENH: Replace with the one from InsightApp 2005-07-06 15:25:21 -04:00
FindGCCXML.cmake ENH: Updated for version 0.2 of GCC-XML. 2002-04-17 14:51:58 -04:00
FindGLU.cmake ENH: Cleanup. Use relative path to modules 2004-08-26 22:52:53 -04:00
FindGLUT.cmake BUG: fix for bug 852 2005-07-15 12:57:53 -04:00
FindGTK.cmake ENH: Removing extra 64-bit search paths. They are now constructed automatically from the paths listed. 2005-04-07 14:27:01 -04:00
FindGnuplot.cmake ENH: Cleanup. Use relative path to modules 2004-08-26 22:52:53 -04:00
FindHTMLHelp.cmake 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 2003-08-08 11:59:07 -04:00
FindITK.cmake BUG#682: Adding environment variable check to FIND_PACKAGE command. 2004-04-26 11:00:41 -04:00
FindImageMagick.cmake 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. 2003-01-21 10:59:48 -05:00
FindJNI.cmake ENH: add support for java 1.5 2005-09-08 10:03:51 -04:00
FindJPEG.cmake ENH: clean up some stuff 2005-09-08 11:38:55 -04:00
FindJava.cmake ENH: add support for java 1.5 2005-09-08 10:03:51 -04:00
FindKDE.cmake ENH: add FindKDE from Alex from kde.org 2004-06-14 10:46:46 -04:00
FindLATEX.cmake BUG#262: Marking DVIPDF_CONVERTER as advanced. 2003-10-30 13:33:51 -05:00
FindMFC.cmake BUG: fix for bug 506 2004-04-15 11:55:29 -04:00
FindMPEG.cmake ENH: Removing extra 64-bit search paths. They are now constructed automatically from the paths listed. 2005-04-07 14:27:01 -04:00
FindMPEG2.cmake ENH: Removing extra 64-bit search paths. They are now constructed automatically from the paths listed. 2005-04-07 14:27:01 -04:00
FindMPI.cmake 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 2003-08-07 09:19:39 -04:00
FindMatlab.cmake ENH: add Matlab support 2005-09-08 10:01:46 -04:00
FindMotif.cmake ENH: add a find motif 2005-09-08 09:59:01 -04:00
FindOpenAL.cmake ENH: add Eric Wings FindSDL updates 2005-08-10 12:01:03 -04:00
FindOpenGL.cmake ENH: Removing extra 64-bit search paths. They are now constructed automatically from the paths listed. 2005-04-07 14:27:01 -04:00
FindPHP4.cmake ENH: Removing extra 64-bit search paths. They are now constructed automatically from the paths listed. 2005-04-07 14:27:01 -04:00
FindPNG.cmake ENH: Removing extra 64-bit search paths. They are now constructed automatically from the paths listed. 2005-04-07 14:27:01 -04:00
FindPerl.cmake ENH: Cleanup. Use relative path to modules 2004-08-26 22:52:53 -04:00
FindPerlLibs.cmake ENH: Removing extra 64-bit search paths. They are now constructed automatically from the paths listed. 2005-04-07 14:27:01 -04:00
FindPhysFS.cmake ENH: add a bunch of find sdl stuff from eric wing 2005-07-13 09:06:26 -04:00
FindPike.cmake ENH: Initial import of swig. Start working towards Bug #749 - Add swig support module to cmake 2004-04-30 12:11:02 -04:00
FindPythonInterp.cmake ENH: Add registry for 2.4 2005-07-15 11:48:04 -04:00
FindPythonLibs.cmake ENH: Removing extra 64-bit search paths. They are now constructed automatically from the paths listed. 2005-04-07 14:27:01 -04:00
FindQt.cmake 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 2005-09-14 09:12:50 -04:00
FindQt3.cmake ENH: add more libraries for qt3 2005-09-12 10:28:48 -04:00
FindQt4.cmake ENH: only add optional qt stuff to QT_INCLUDES 2005-09-14 11:16:02 -04:00
FindRuby.cmake ENH: Removing extra 64-bit search paths. They are now constructed automatically from the paths listed. 2005-04-07 14:27:01 -04:00
FindSDL.cmake ENH: add Eric Wings FindSDL updates 2005-08-10 12:01:03 -04:00
FindSDL_image.cmake ENH: add Eric Wings FindSDL updates 2005-08-10 12:01:03 -04:00
FindSDL_mixer.cmake ENH: add Eric Wings FindSDL updates 2005-08-10 12:01:03 -04:00
FindSDL_net.cmake ENH: add Eric Wings FindSDL updates 2005-08-10 12:01:03 -04:00
FindSDL_sound.cmake ENH: add Eric Wings FindSDL updates 2005-08-10 12:01:03 -04:00
FindSDL_ttf.cmake ENH: add Eric Wings FindSDL updates 2005-08-10 12:01:03 -04:00
FindSWIG.cmake ENH: Removing extra 64-bit search paths. They are now constructed automatically from the paths listed. 2005-04-07 14:27:01 -04:00
FindSelfPackers.cmake ENH: Cleanup. Use relative path to modules 2004-08-26 22:52:53 -04:00
FindTCL.cmake ENH: Removing extra 64-bit search paths. They are now constructed automatically from the paths listed. 2005-04-07 14:27:01 -04:00
FindTIFF.cmake ENH: Removing extra 64-bit search paths. They are now constructed automatically from the paths listed. 2005-04-07 14:27:01 -04:00
FindTclsh.cmake ENH: Added registry check for ActiveState Tcl 8.4.6. 2004-03-31 16:44:43 -05:00
FindThreads.cmake ENH: put cmake files intoa CMakeFiles subdir to clean up bin tree 2005-07-29 09:19:25 -04:00
FindUnixCommands.cmake ENH: Cleanup. Use relative path to modules 2004-08-26 22:52:53 -04:00
FindVTK.cmake ENH: Cleanup. Use relative path to modules 2004-08-26 22:52:53 -04:00
FindWget.cmake ENH: Cleanup. Use relative path to modules 2004-08-26 22:52:53 -04:00
FindWish.cmake ENH: Adding registry entries to search path. 2003-11-04 09:36:33 -05:00
FindX11.cmake ENH: Removing extra 64-bit search paths. They are now constructed automatically from the paths listed. 2005-04-07 14:27:01 -04:00
FindZLIB.cmake ENH: clean up some stuff 2005-09-08 11:38:55 -04:00
FindwxWidgets.cmake ENH: Cleanup. Use relative path to modules 2004-08-26 22:52:53 -04:00
FindwxWindows.cmake ENH: Cleanup. Use relative path to modules 2004-08-26 22:52:53 -04:00
MacOSXBundleInfo.plist.in ENH: Improve Mac OSX bundle support 2004-04-08 17:13:42 -04:00
TestBigEndian.c ENH: fix tests for non-ansi c on hp and remove warnings for ansi c 2004-04-15 08:22:19 -04:00
TestBigEndian.cmake ENH: put cmake files intoa CMakeFiles subdir to clean up bin tree 2005-07-29 09:19:25 -04:00
TestCXXAcceptsFlag.cmake ENH: put cmake files intoa CMakeFiles subdir to clean up bin tree 2005-07-29 09:19:25 -04:00
TestForANSIForScope.cmake ENH: put cmake files intoa CMakeFiles subdir to clean up bin tree 2005-07-29 09:19:25 -04:00
TestForANSIStreamHeaders.cmake ENH: Cleanup. Use relative path to modules 2004-08-26 22:52:53 -04:00
TestForANSIStreamHeaders.cxx new try compile module 2002-09-12 11:14:50 -04:00
TestForAnsiForScope.cxx ERR: Removed warning for unused variable. 2003-05-16 16:33:11 -04:00
TestForSTDNamespace.cmake ENH: put cmake files intoa CMakeFiles subdir to clean up bin tree 2005-07-29 09:19:25 -04:00
TestForSTDNamespace.cxx Complete rework of makefile generators expect trouble 2002-11-08 15:46:08 -05:00
UseQt4.cmake ENH: add -D options for qt stuff 2005-09-12 09:09:47 -04:00
UseSWIG.cmake ENH: add ability to set outdir in swig 2005-09-08 11:38:14 -04:00
UseVTK40.cmake ENH: Cleanup. Use relative path to modules 2004-08-26 22:52:53 -04:00
UseVTKBuildSettings40.cmake ENH: Added support for finding/using VTK 4.0 without using its UseVTK.cmake file that does a LOAD_CACHE. 2002-12-05 10:47:18 -05:00
UseVTKConfig40.cmake BUG: Copying _LIB_DEPENDS variables requires double-quoted argument. 2003-02-07 16:29:13 -05:00
Use_wxWindows.cmake ENH: Cleanup. Use relative path to modules 2004-08-26 22:52:53 -04:00
UsewxWidgets.cmake ENH: Cleanup. Use relative path to modules 2004-08-26 22:52:53 -04:00
VTKCompatibility.cmake 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 2005-09-07 17:05:01 -04:00
readme.txt Add important missing word to documentation 2002-09-06 11:00:51 -04:00

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 <jpeg.h>
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.