Commit 74eaecfc authored by Ken Martin's avatar Ken Martin
Browse files

ENH: cleanups

parent 5966baee
# - Find MFC on Windows
# Find the native MFC - i.e. decide if this is an MS VC box.
# MFC_FOUND - Do not attempt to use MFC if "no" or undefined.
# MFC_FOUND - Was MFC support found
# You don't need to include anything or link anything to use it.
# Assume no MFC support
......
# - Find the native MPEG includes and library
# This module defines
# MPEG_INCLUDE_DIR, where to find MPEG.h, etc.
# MPEG_LIBRARIES, the libraries to link against to use MPEG.
# MPEG_LIBRARIES, the libraries required to use MPEG.
# MPEG_FOUND, If false, do not try to use MPEG.
# also defined, but not for general use are
# MPEG_mpeg2_LIBRARY, where to find the MPEG library.
......
# - Find the native MPEG2 includes and library
# This module defines
# MPEG2_INCLUDE_DIR, where to find mpeg2dec/mpeg2.h, etc.
# MPEG2_LIBRARIES, the libraries to link against to use MPEG2.
# MPEG2_INCLUDE_DIR, path to mpeg2dec/mpeg2.h, etc.
# MPEG2_LIBRARIES, the libraries required to use MPEG2.
# MPEG2_FOUND, If false, do not try to use MPEG2.
# also defined, but not for general use are
# MPEG2_mpeg2_LIBRARY, where to find the MPEG2 library.
......
......@@ -2,7 +2,7 @@
# This module looks for MPI (Message Passing Interface) support
# it will define the following values
# MPI_INCLUDE_PATH = where mpi.h can be found
# MPI_LIBRARY = the library to link against (mpi mpich etc)
# MPI_LIBRARY = the library to link in (mpi mpich etc)
FIND_PATH(MPI_INCLUDE_PATH mpi.h
/usr/local/include
......
# - Try to find Motif (or lesstif)
# Once done this will define:
# MOTIF_FOUND - system has MOTIF
# MOTIF_INCLUDE_DIR - where the Motif include directory can be found
# MOTIF_INCLUDE_DIR - incude paths to use Motif
# MOTIF_LIBRARIES - Link these to use Motif
SET(MOTIF_FOUND 0)
......
# - Try to find OpenGL
# Once done this will define
#
# OPENGL_FOUND - system has OpenGL and it should be used
# OPENGL_XMESA_FOUND - system has XMESA, and it should be used.
# OPENGL_GLU_FOUND - system has GLU and it should be used.
# OPENGL_INCLUDE_DIR - where the GL include directory can be found
# OPENGL_FOUND - system has OpenGL
# OPENGL_XMESA_FOUND - system has XMESA
# OPENGL_GLU_FOUND - system has GLU
# OPENGL_INCLUDE_DIR - the GL include directory
# OPENGL_LIBRARIES - Link these to use OpenGL and GLU
#
# If you want to use just GL you can use these values
......
......@@ -3,7 +3,7 @@
# and libraries are. It also determines what the name of the library is. This
# code sets the following variables:
#
# PHP4_INCLUDE_PATH = path to where object.h can be found
# PHP4_INCLUDE_PATH = path to where php.h can be found
# PHP4_EXECUTABLE = full path to the php4 binary
#
......
# - Find perl
# this module looks for Perl
#
# PERL_EXECUTABLE - the full path to the Perl interpreter
# PERL_EXECUTABLE - the full path to perl
# PERL_FOUND - If false, don't attempt to use perl.
INCLUDE(FindCygwin)
......
......@@ -3,8 +3,8 @@
# and libraries are. It also determines what the name of the library is. This
# code sets the following variables:
#
# PERL_INCLUDE_PATH = path to where object.h can be found
# PERL_EXECUTABLE = full path to the perl binary
# PERL_INCLUDE_PATH = path to where perl.h is found
# PERL_EXECUTABLE = full path to the perl binary
#
SET(PERL_POSSIBLE_INCLUDE_PATHS
......
# - Locate PhysFS library
# This module defines
# PHYSFS_LIBRARY, the name of the library to link against
# PHYSFS_LIBRARY, the name of the library to link with
# PHYSFS_FOUND, if false, do not try to link to PHYSFS
# PHYSFS_INCLUDE_DIR, where to find PHYSFS/PHYSFS.h
#
......
......@@ -3,7 +3,7 @@
# and libraries are. It also determines what the name of the library is. This
# code sets the following variables:
#
# PIKE_INCLUDE_PATH = path to where object.h can be found
# PIKE_INCLUDE_PATH = path to where program.h is found
# PIKE_EXECUTABLE = full path to the pike binary
#
......
......@@ -2,8 +2,8 @@
# This module finds if Python interpreter is installed and determines where the
# executables are. This code sets the following variables:
#
# PYTHONINTERP_FOUND - Set to true when Python executable is found
# PYTHON_EXECUTABLE - The full path to the Python interpreter
# PYTHONINTERP_FOUND - Was the Python executable found
# PYTHON_EXECUTABLE - path to the Python interpreter
#
FIND_PROGRAM(PYTHON_EXECUTABLE
......
......@@ -3,9 +3,9 @@
# include files and libraries are. It also determines what the name of
# the library is. This code sets the following variables:
#
# PYTHON_LIBRARIES = the full path to the library found
# PYTHON_INCLUDE_PATH = the path to where Python.h can be found
# PYTHON_DEBUG_LIBRARIES = the full path to the debug library found
# PYTHON_LIBRARIES = path to the python library
# PYTHON_INCLUDE_PATH = path to where Python.h is found
# PYTHON_DEBUG_LIBRARIES = path to the debug library
#
INCLUDE(CMakeFindFrameworks)
......
......@@ -9,9 +9,10 @@
# Once the user sets DESIRED_QT_VERSION, then the FindQt3 or FindQt4 module
# is included.
#
# QT_REQUIRED if this is set to TRUE then if CMake can not find
# QT4 or QT3 an error is raised and a message is sent
# to the user.
# QT_REQUIRED if this is set to TRUE then if CMake can
# not find QT4 or QT3 an error is raised
# and a message is sent to the user.
#
# DESIRED_QT_VERSION OPTION is created
# QT4_INSTALLED is set to TRUE if qt4 is found.
# QT3_INSTALLED is set to TRUE if qt3 is found.
......
# - Find QT 4
# This module can be used to find Qt4.
# This module defines:
# QT_USE_FILE A CMake file that can be included to compile
# Qt 4 applications and libraries. By default,
# the QtCore and QtGui libraries are loaded.
# This behavior can be changed by setting one
# or more of the following variables to true:
# This module defines a number of key variables and macros. First is
# QT_USE_FILE which is the path to a CMake file that can be included to compile
# Qt 4 applications and libraries. By default, the QtCore and QtGui
# libraries are loaded. This behavior can be changed by setting one or more
# of the following variables to true:
# QT_DONT_USE_QTCORE
# QT_DONT_USE_QTGUI
# QT_USE_QT3SUPPORT
......@@ -17,16 +16,15 @@
# QT_USE_QTOPENGL
# QT_USE_QTSQL
# QT_USE_QTXML
# All the libraries required are stored in a
# variable called QT_LIBRARIES. Add this
# variable to your TARGET_LINK_LIBRARIES.
# All the libraries required are stored in a variable called QT_LIBRARIES.
# Add this variable to your TARGET_LINK_LIBRARIES.
#
# macro QT4_WRAP_CPP(outfiles inputfile ... )
# macro QT4_WRAP_UI(outfiles inputfile ... )
# macro QT4_ADD_RESOURCE(outfiles inputfile ... )
#
# QT_FOUND If false, don't try to use Qt.
# QT4_FOUND If false, don't try to use Qt 4.
# QT_FOUND If false, don't try to use Qt.
# QT4_FOUND If false, don't try to use Qt 4.
#
# QT_QTCORE_FOUND True if QtCore was found.
# QT_QTGUI_FOUND True if QtGui was found.
......@@ -98,14 +96,14 @@
#
# These are around for backwards compatibility
# they will be set
# QT_WRAP_CPP Set true if QT_MOC_EXECUTABLE is found
# QT_WRAP_UI Set true if QT_UIC_EXECUTABLE is found
# QT_WRAP_CPP Set true if QT_MOC_EXECUTABLE is found
# QT_WRAP_UI Set true if QT_UIC_EXECUTABLE is found
#
# These variables do _NOT_ have any effect anymore (compared to FindQt.cmake)
# QT_MT_REQUIRED Qt4 is now always multithreaded
#
# These variables are set to "" Because Qt structure changed
# (They make no sence in Qt4)
# (They make no sense in Qt4)
# QT_QT_LIBRARY Qt-Library is now splitt
# QT_QTMAIN_LIBRARY Qt-Library is now splitt
......
......@@ -3,8 +3,8 @@
# and libraries are. It also determines what the name of the library is. This
# code sets the following variables:
#
# RUBY_INCLUDE_PATH = path to where object.h can be found
# RUBY_EXECUTABLE = full path to the ruby binary
# RUBY_INCLUDE_PATH = path to where ruby.h can be found
# RUBY_EXECUTABLE = full path to the ruby binary
#
SET(RUBY_POSSIBLE_INCLUDE_PATHS
......
# - Locate SDL library
# - Locate the SDL library
# This module defines
# SDL_LIBRARY, the name of the library to link against
# SDL_LIBRARY, the library to link against
# SDL_FOUND, if false, do not try to link to SDL
# SDL_INCLUDE_DIR, where to find SDL.h
#
......
# - Locate SDL_image library
# This module defines
# SDLIMAGE_LIBRARY, the name of the library to link against
# SDLIMAGE_LIBRARY, the library to link against
# SDLIMAGE_FOUND, if false, do not try to link to SDL
# SDLIMAGE_INCLUDE_DIR, where to find SDL/SDL.h
#
......
# - Locate SDL_mixer library
# - Locate the SDL_mixer library
# This module defines
# SDLMIXER_LIBRARY, the name of the library to link against
# SDLMIXER_LIBRARY, library to link against
# SDLMIXER_FOUND, if false, do not try to link to SDL
# SDLMIXER_INCLUDE_DIR, where to find SDL/SDL.h
#
......
# - Locate SDL_net library
# - Locate the SDL_net library
# This module defines
# SDLNET_LIBRARY, the name of the library to link against
# SDLNET_LIBRARY, the library to link against
# SDLNET_FOUND, if false, do not try to link against
# SDLNET_INCLUDE_DIR, where to find the headers
#
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment