CMake/Modules
Brad King 61ab3e3667 ERR: Still need to define OPENGL_INCLUDE_PATH in addition to the standard OPENGL_INCLUDE_DIR for backward compatability. 2002-09-04 09:24:50 -04:00
..
CMakeLists.txt ENH: Added support for using backslash-style escaping in CMakeLists.txt file arguments. This allows double quotes to be used in arguments. 2001-07-17 09:54:05 -04:00
Dart.cmake Dart now has a configure option 2002-09-03 09:14:24 -04:00
Documentation.cmake Add module to find gnuplot 2002-02-04 18:41:47 -05:00
FindAVIFile.cmake Fixed mistake in comments 2002-09-03 06:10:06 -04:00
FindCABLE.cmake ENH: clean modules (doc, make stuff advanced, etc.) 2002-06-14 16:49:00 -04:00
FindCurses.cmake ENH: Added /lib to curses search path. 2001-12-12 12:05:20 -05:00
FindCygwin.cmake Remove unneeded test and code duplication. Add WIN32 test. Make all ADVANCED. 2001-12-04 10:55:17 -05:00
FindDart.cmake ENH: look for Dart in c: 2002-02-25 13:20:48 -05:00
FindDoxygen.cmake Remove unneeded test and code duplication. Add WIN32 test. Make all ADVANCED. 2001-12-04 10:55:17 -05:00
FindFLTK.cmake Moved FLTK and GTK to new FindXXX scheme. Imported some functionality from VXL 2002-09-02 17:34:45 -04:00
FindGCCXML.cmake ENH: Updated for version 0.2 of GCC-XML. 2002-04-17 14:51:58 -04:00
FindGLU.cmake Fixed mistake in comments 2002-09-03 06:10:06 -04:00
FindGLUT.cmake Fixed mistake in comments 2002-09-03 06:10:06 -04:00
FindGTK.cmake Moved FLTK and GTK to new FindXXX scheme. Imported some functionality from VXL 2002-09-02 17:34:45 -04:00
FindGnuplot.cmake Add module to find gnuplot 2002-02-04 18:41:47 -05:00
FindHhc.cmake Remove unneeded test and code duplication. Add WIN32 test. Make all ADVANCED. 2001-12-04 10:55:17 -05:00
FindITK.cmake *** empty log message *** 2001-10-26 18:21:53 -04:00
FindJNI.cmake ENH: Added /usr/local/lib/java search paths. 2002-07-15 09:22:17 -04:00
FindJPEG.cmake Fixed mistake in comments 2002-09-03 06:10:06 -04:00
FindJava.cmake Add module that finds java executables. This module should find java, javac, and jar. 2002-07-08 09:30:02 -04:00
FindMFC.cmake A simple FindMFC module for consistency 2002-09-03 12:29:03 -04:00
FindMPEG.cmake Add an MPEG finder in the new format - functionality copied from VXL. 2002-09-03 08:24:48 -04:00
FindMPI.cmake Add mpi search paths for Debian 2002-04-18 15:58:11 -04:00
FindOpenGL.cmake ERR: Still need to define OPENGL_INCLUDE_PATH in addition to the standard OPENGL_INCLUDE_DIR for backward compatability. 2002-09-04 09:24:50 -04:00
FindPNG.cmake I copied a bit too much VXL functionality here. Oops 2002-09-03 09:00:06 -04:00
FindPerl.cmake Added PERL_FOUND 2002-09-03 08:33:56 -04:00
FindPythonLibs.cmake Oops, forgot the library name 2002-06-10 08:53:36 -04:00
FindQt.cmake Fix Bugs 2002-09-02 16:59:47 -04:00
FindSelfPackers.cmake Remove unneeded test and code duplication. Add WIN32 test. Make all ADVANCED. 2001-12-04 10:55:17 -05:00
FindTCL.cmake FIX: fix commit messup (this change was committed to the branch instead of the main tree, thus was wiped-out later) 2002-08-09 10:04:34 -04:00
FindTIFF.cmake Fixed mistake in comments 2002-09-03 06:10:06 -04:00
FindTclsh.cmake ENH: clean modules (doc, make stuff advanced, etc.) 2002-06-14 16:49:00 -04:00
FindUnixCommands.cmake Remove unneeded test and code duplication. Add WIN32 test. Make all ADVANCED. 2001-12-04 10:55:17 -05:00
FindVTK.cmake More finds for VTK 2002-04-01 08:08:55 -05:00
FindWget.cmake Add helpful message for QT Windows users 2002-09-02 12:05:40 -04:00
FindWish.cmake Add better detection of wish 8.2 2002-05-14 08:42:35 -04:00
FindX11.cmake Fixed mistake in comments 2002-09-03 06:10:06 -04:00
FindZLIB.cmake This file should not be empty 2002-09-02 16:24:25 -04:00
FindwxWindows.cmake FIX: 2002-08-09 08:33:04 -04:00
LinkQT.cmake Define a single expected format for the values defined in every FindXXX.cmake file. 2002-09-02 07:03:43 -04:00
readme.txt Define a single expected format for the values defined in every FindXXX.cmake file. 2002-09-02 07:03:43 -04:00

readme.txt

Note to authors of FindXXX.cmake files

We would like all FindXXX.cmake files to produce consistent variable names.

XXX_INCLUDE_DIR, 	Where to find xxx.h, etc.
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.
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 home directory of XXX.
XXX_FOUND, 		Set to false 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_INCLUDE_DIR, XXX_LIBRARIES, and XXX_DEFINITIONS should also be defined.

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 find a lost library (e.g. XXX_ROOT_DIR)

If you need other commands to do special things (e.g. the QT_WRAP_UI setting in FindQt.cmake) then it should still begin with XXX_. This gives a sort of namespace effect.