ENH: cleanups
This commit is contained in:
parent
5966baeec3
commit
74eaecfc3e
|
@ -1,6 +1,6 @@
|
||||||
# - Find MFC on Windows
|
# - Find MFC on Windows
|
||||||
# Find the native MFC - i.e. decide if this is an MS VC box.
|
# 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.
|
# You don't need to include anything or link anything to use it.
|
||||||
|
|
||||||
# Assume no MFC support
|
# Assume no MFC support
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# - Find the native MPEG includes and library
|
# - Find the native MPEG includes and library
|
||||||
# This module defines
|
# This module defines
|
||||||
# MPEG_INCLUDE_DIR, where to find MPEG.h, etc.
|
# 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.
|
# MPEG_FOUND, If false, do not try to use MPEG.
|
||||||
# also defined, but not for general use are
|
# also defined, but not for general use are
|
||||||
# MPEG_mpeg2_LIBRARY, where to find the MPEG library.
|
# MPEG_mpeg2_LIBRARY, where to find the MPEG library.
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# - Find the native MPEG2 includes and library
|
# - Find the native MPEG2 includes and library
|
||||||
# This module defines
|
# This module defines
|
||||||
# MPEG2_INCLUDE_DIR, where to find mpeg2dec/mpeg2.h, etc.
|
# MPEG2_INCLUDE_DIR, path to mpeg2dec/mpeg2.h, etc.
|
||||||
# MPEG2_LIBRARIES, the libraries to link against to use MPEG2.
|
# MPEG2_LIBRARIES, the libraries required to use MPEG2.
|
||||||
# MPEG2_FOUND, If false, do not try to use MPEG2.
|
# MPEG2_FOUND, If false, do not try to use MPEG2.
|
||||||
# also defined, but not for general use are
|
# also defined, but not for general use are
|
||||||
# MPEG2_mpeg2_LIBRARY, where to find the MPEG2 library.
|
# MPEG2_mpeg2_LIBRARY, where to find the MPEG2 library.
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
# This module looks for MPI (Message Passing Interface) support
|
# This module looks for MPI (Message Passing Interface) support
|
||||||
# it will define the following values
|
# it will define the following values
|
||||||
# MPI_INCLUDE_PATH = where mpi.h can be found
|
# 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
|
FIND_PATH(MPI_INCLUDE_PATH mpi.h
|
||||||
/usr/local/include
|
/usr/local/include
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# - Try to find Motif (or lesstif)
|
# - Try to find Motif (or lesstif)
|
||||||
# Once done this will define:
|
# Once done this will define:
|
||||||
# MOTIF_FOUND - system has MOTIF
|
# 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
|
# MOTIF_LIBRARIES - Link these to use Motif
|
||||||
|
|
||||||
SET(MOTIF_FOUND 0)
|
SET(MOTIF_FOUND 0)
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
# - Try to find OpenGL
|
# - Try to find OpenGL
|
||||||
# Once done this will define
|
# Once done this will define
|
||||||
#
|
#
|
||||||
# OPENGL_FOUND - system has OpenGL and it should be used
|
# OPENGL_FOUND - system has OpenGL
|
||||||
# OPENGL_XMESA_FOUND - system has XMESA, and it should be used.
|
# OPENGL_XMESA_FOUND - system has XMESA
|
||||||
# OPENGL_GLU_FOUND - system has GLU and it should be used.
|
# OPENGL_GLU_FOUND - system has GLU
|
||||||
# OPENGL_INCLUDE_DIR - where the GL include directory can be found
|
# OPENGL_INCLUDE_DIR - the GL include directory
|
||||||
# OPENGL_LIBRARIES - Link these to use OpenGL and GLU
|
# OPENGL_LIBRARIES - Link these to use OpenGL and GLU
|
||||||
#
|
#
|
||||||
# If you want to use just GL you can use these values
|
# 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
|
# and libraries are. It also determines what the name of the library is. This
|
||||||
# code sets the following variables:
|
# 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
|
# PHP4_EXECUTABLE = full path to the php4 binary
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# - Find perl
|
# - Find perl
|
||||||
# this module looks for 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.
|
# PERL_FOUND - If false, don't attempt to use perl.
|
||||||
|
|
||||||
INCLUDE(FindCygwin)
|
INCLUDE(FindCygwin)
|
||||||
|
|
|
@ -3,8 +3,8 @@
|
||||||
# and libraries are. It also determines what the name of the library is. This
|
# and libraries are. It also determines what the name of the library is. This
|
||||||
# code sets the following variables:
|
# code sets the following variables:
|
||||||
#
|
#
|
||||||
# PERL_INCLUDE_PATH = path to where object.h can be found
|
# PERL_INCLUDE_PATH = path to where perl.h is found
|
||||||
# PERL_EXECUTABLE = full path to the perl binary
|
# PERL_EXECUTABLE = full path to the perl binary
|
||||||
#
|
#
|
||||||
|
|
||||||
SET(PERL_POSSIBLE_INCLUDE_PATHS
|
SET(PERL_POSSIBLE_INCLUDE_PATHS
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# - Locate PhysFS library
|
# - Locate PhysFS library
|
||||||
# This module defines
|
# 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_FOUND, if false, do not try to link to PHYSFS
|
||||||
# PHYSFS_INCLUDE_DIR, where to find PHYSFS/PHYSFS.h
|
# 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
|
# and libraries are. It also determines what the name of the library is. This
|
||||||
# code sets the following variables:
|
# 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
|
# PIKE_EXECUTABLE = full path to the pike binary
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
# This module finds if Python interpreter is installed and determines where the
|
# This module finds if Python interpreter is installed and determines where the
|
||||||
# executables are. This code sets the following variables:
|
# executables are. This code sets the following variables:
|
||||||
#
|
#
|
||||||
# PYTHONINTERP_FOUND - Set to true when Python executable is found
|
# PYTHONINTERP_FOUND - Was the Python executable found
|
||||||
# PYTHON_EXECUTABLE - The full path to the Python interpreter
|
# PYTHON_EXECUTABLE - path to the Python interpreter
|
||||||
#
|
#
|
||||||
|
|
||||||
FIND_PROGRAM(PYTHON_EXECUTABLE
|
FIND_PROGRAM(PYTHON_EXECUTABLE
|
||||||
|
|
|
@ -3,9 +3,9 @@
|
||||||
# include files and libraries are. It also determines what the name of
|
# include files and libraries are. It also determines what the name of
|
||||||
# the library is. This code sets the following variables:
|
# the library is. This code sets the following variables:
|
||||||
#
|
#
|
||||||
# PYTHON_LIBRARIES = the full path to the library found
|
# PYTHON_LIBRARIES = path to the python library
|
||||||
# PYTHON_INCLUDE_PATH = the path to where Python.h can be found
|
# PYTHON_INCLUDE_PATH = path to where Python.h is found
|
||||||
# PYTHON_DEBUG_LIBRARIES = the full path to the debug library found
|
# PYTHON_DEBUG_LIBRARIES = path to the debug library
|
||||||
#
|
#
|
||||||
|
|
||||||
INCLUDE(CMakeFindFrameworks)
|
INCLUDE(CMakeFindFrameworks)
|
||||||
|
|
|
@ -9,9 +9,10 @@
|
||||||
# Once the user sets DESIRED_QT_VERSION, then the FindQt3 or FindQt4 module
|
# Once the user sets DESIRED_QT_VERSION, then the FindQt3 or FindQt4 module
|
||||||
# is included.
|
# is included.
|
||||||
#
|
#
|
||||||
# QT_REQUIRED if this is set to TRUE then if CMake can not find
|
# QT_REQUIRED if this is set to TRUE then if CMake can
|
||||||
# QT4 or QT3 an error is raised and a message is sent
|
# not find QT4 or QT3 an error is raised
|
||||||
# to the user.
|
# and a message is sent to the user.
|
||||||
|
#
|
||||||
# DESIRED_QT_VERSION OPTION is created
|
# DESIRED_QT_VERSION OPTION is created
|
||||||
# QT4_INSTALLED is set to TRUE if qt4 is found.
|
# QT4_INSTALLED is set to TRUE if qt4 is found.
|
||||||
# QT3_INSTALLED is set to TRUE if qt3 is found.
|
# QT3_INSTALLED is set to TRUE if qt3 is found.
|
||||||
|
|
|
@ -1,11 +1,10 @@
|
||||||
# - Find QT 4
|
# - Find QT 4
|
||||||
# This module can be used to find Qt4.
|
# This module can be used to find Qt4.
|
||||||
# This module defines:
|
# This module defines a number of key variables and macros. First is
|
||||||
# QT_USE_FILE A CMake file that can be included to compile
|
# QT_USE_FILE which is the path to a CMake file that can be included to compile
|
||||||
# Qt 4 applications and libraries. By default,
|
# Qt 4 applications and libraries. By default, the QtCore and QtGui
|
||||||
# the QtCore and QtGui libraries are loaded.
|
# libraries are loaded. This behavior can be changed by setting one or more
|
||||||
# This behavior can be changed by setting one
|
# of the following variables to true:
|
||||||
# or more of the following variables to true:
|
|
||||||
# QT_DONT_USE_QTCORE
|
# QT_DONT_USE_QTCORE
|
||||||
# QT_DONT_USE_QTGUI
|
# QT_DONT_USE_QTGUI
|
||||||
# QT_USE_QT3SUPPORT
|
# QT_USE_QT3SUPPORT
|
||||||
|
@ -17,16 +16,15 @@
|
||||||
# QT_USE_QTOPENGL
|
# QT_USE_QTOPENGL
|
||||||
# QT_USE_QTSQL
|
# QT_USE_QTSQL
|
||||||
# QT_USE_QTXML
|
# QT_USE_QTXML
|
||||||
# All the libraries required are stored in a
|
# All the libraries required are stored in a variable called QT_LIBRARIES.
|
||||||
# variable called QT_LIBRARIES. Add this
|
# Add this variable to your TARGET_LINK_LIBRARIES.
|
||||||
# variable to your TARGET_LINK_LIBRARIES.
|
|
||||||
#
|
#
|
||||||
# macro QT4_WRAP_CPP(outfiles inputfile ... )
|
# macro QT4_WRAP_CPP(outfiles inputfile ... )
|
||||||
# macro QT4_WRAP_UI(outfiles inputfile ... )
|
# macro QT4_WRAP_UI(outfiles inputfile ... )
|
||||||
# macro QT4_ADD_RESOURCE(outfiles inputfile ... )
|
# macro QT4_ADD_RESOURCE(outfiles inputfile ... )
|
||||||
#
|
#
|
||||||
# QT_FOUND If false, don't try to use Qt.
|
# QT_FOUND If false, don't try to use Qt.
|
||||||
# QT4_FOUND If false, don't try to use Qt 4.
|
# QT4_FOUND If false, don't try to use Qt 4.
|
||||||
#
|
#
|
||||||
# QT_QTCORE_FOUND True if QtCore was found.
|
# QT_QTCORE_FOUND True if QtCore was found.
|
||||||
# QT_QTGUI_FOUND True if QtGui was found.
|
# QT_QTGUI_FOUND True if QtGui was found.
|
||||||
|
@ -98,14 +96,14 @@
|
||||||
#
|
#
|
||||||
# These are around for backwards compatibility
|
# These are around for backwards compatibility
|
||||||
# they will be set
|
# they will be set
|
||||||
# QT_WRAP_CPP Set true if QT_MOC_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
|
# QT_WRAP_UI Set true if QT_UIC_EXECUTABLE is found
|
||||||
#
|
#
|
||||||
# These variables do _NOT_ have any effect anymore (compared to FindQt.cmake)
|
# These variables do _NOT_ have any effect anymore (compared to FindQt.cmake)
|
||||||
# QT_MT_REQUIRED Qt4 is now always multithreaded
|
# QT_MT_REQUIRED Qt4 is now always multithreaded
|
||||||
#
|
#
|
||||||
# These variables are set to "" Because Qt structure changed
|
# 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_QT_LIBRARY Qt-Library is now splitt
|
||||||
# QT_QTMAIN_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
|
# and libraries are. It also determines what the name of the library is. This
|
||||||
# code sets the following variables:
|
# code sets the following variables:
|
||||||
#
|
#
|
||||||
# RUBY_INCLUDE_PATH = path to where object.h can be found
|
# RUBY_INCLUDE_PATH = path to where ruby.h can be found
|
||||||
# RUBY_EXECUTABLE = full path to the ruby binary
|
# RUBY_EXECUTABLE = full path to the ruby binary
|
||||||
#
|
#
|
||||||
|
|
||||||
SET(RUBY_POSSIBLE_INCLUDE_PATHS
|
SET(RUBY_POSSIBLE_INCLUDE_PATHS
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# - Locate SDL library
|
# - Locate the SDL library
|
||||||
# This module defines
|
# 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_FOUND, if false, do not try to link to SDL
|
||||||
# SDL_INCLUDE_DIR, where to find SDL.h
|
# SDL_INCLUDE_DIR, where to find SDL.h
|
||||||
#
|
#
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# - Locate SDL_image library
|
# - Locate SDL_image library
|
||||||
# This module defines
|
# 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_FOUND, if false, do not try to link to SDL
|
||||||
# SDLIMAGE_INCLUDE_DIR, where to find SDL/SDL.h
|
# SDLIMAGE_INCLUDE_DIR, where to find SDL/SDL.h
|
||||||
#
|
#
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# - Locate SDL_mixer library
|
# - Locate the SDL_mixer library
|
||||||
# This module defines
|
# 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_FOUND, if false, do not try to link to SDL
|
||||||
# SDLMIXER_INCLUDE_DIR, where to find SDL/SDL.h
|
# SDLMIXER_INCLUDE_DIR, where to find SDL/SDL.h
|
||||||
#
|
#
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# - Locate SDL_net library
|
# - Locate the SDL_net library
|
||||||
# This module defines
|
# 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_FOUND, if false, do not try to link against
|
||||||
# SDLNET_INCLUDE_DIR, where to find the headers
|
# SDLNET_INCLUDE_DIR, where to find the headers
|
||||||
#
|
#
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# - Locates the SDL_sound library
|
# - Locates the SDL_sound library
|
||||||
# This module depends on SDL being found and
|
# This module depends on SDL being found and
|
||||||
# must be called AFTER FindSDL.cmake is called.
|
# must be called AFTER FindSDL.cmake is called.
|
||||||
|
#
|
||||||
# This module defines
|
# This module defines
|
||||||
# SDL_SOUND_INCLUDE_DIR, where to find SDL_sound.h
|
# SDL_SOUND_INCLUDE_DIR, where to find SDL_sound.h
|
||||||
# SDL_SOUND_FOUND, if false, do not try to link to SDL
|
# SDL_SOUND_FOUND, if false, do not try to link to SDL
|
||||||
|
@ -24,29 +24,31 @@
|
||||||
# FLAC_LIBRARY
|
# FLAC_LIBRARY
|
||||||
# SPEEX_LIBRARY
|
# SPEEX_LIBRARY
|
||||||
#
|
#
|
||||||
# Typically, you should not use these variables directly, and you should use
|
# Typically, you should not use these variables directly, and you should use
|
||||||
# SDL_SOUND_LIBRARIES which contains SDL_SOUND_LIBRARY and the other audio libraries
|
# SDL_SOUND_LIBRARIES which contains SDL_SOUND_LIBRARY and the other audio
|
||||||
# (if needed) to successfully compile on your system .
|
# libraries (if needed) to successfully compile on your system .
|
||||||
#
|
#
|
||||||
# Created by Eric Wing.
|
# Created by Eric Wing.
|
||||||
# This module is a bit more complicated than the other FindSDL* family modules.
|
|
||||||
# The reason is that SDL_sound can be compiled in a large variety of different ways
|
|
||||||
# which are independent of platform. SDL_sound may dynamically link against other 3rd
|
|
||||||
# party libraries to get additional codec support, such as Ogg Vorbis, SMPEG, ModPlug,
|
|
||||||
# MikMod, FLAC, Speex, and potentially others.
|
|
||||||
# Under some circumstances which I don't fully understand,
|
|
||||||
# there seems to be a requirement
|
|
||||||
# that dependent libraries of libraries you use must also be explicitly
|
|
||||||
# linked against in order to successfully compile. SDL_sound does not currently
|
|
||||||
# have any system in place to know how it was compiled.
|
|
||||||
# So this CMake module does the hard work in trying to discover which 3rd party
|
|
||||||
# libraries are required for building (if any).
|
|
||||||
# This module uses a brute force approach to create a test program that uses SDL_sound,
|
|
||||||
# and then tries to build it. If the build fails, it parses the error output for
|
|
||||||
# known symbol names to figure out which libraries are needed.
|
|
||||||
#
|
#
|
||||||
# Responds to the $SDLDIR and $SDLSOUNDDIR environmental variable that would
|
# This module is a bit more complicated than the other FindSDL* family
|
||||||
# correspond to the ./configure --prefix=$SDLDIR used in building SDL.
|
# modules. The reason is that SDL_sound can be compiled in a large variety
|
||||||
|
# of different ways which are independent of platform. SDL_sound may
|
||||||
|
# dynamically link against other 3rd party libraries to get additional codec
|
||||||
|
# support, such as Ogg Vorbis, SMPEG, ModPlug, MikMod, FLAC, Speex, and
|
||||||
|
# potentially others. Under some circumstances which I don't fully
|
||||||
|
# understand, there seems to be a requirement that dependent libraries of
|
||||||
|
# libraries you use must also be explicitly linked against in order to
|
||||||
|
# successfully compile. SDL_sound does not currently have any system in place
|
||||||
|
# to know how it was compiled. So this CMake module does the hard work in
|
||||||
|
# trying to discover which 3rd party libraries are required for building (if
|
||||||
|
# any).
|
||||||
|
#
|
||||||
|
# This module uses a brute force approach to create a test program that uses
|
||||||
|
# SDL_sound, and then tries to build it. If the build fails, it parses the
|
||||||
|
# error output for known symbol names to figure out which libraries are
|
||||||
|
# needed. Responds to the $SDLDIR and $SDLSOUNDDIR environmental variable
|
||||||
|
# that would correspond to the ./configure --prefix=$SDLDIR used in building
|
||||||
|
# SDL.
|
||||||
#
|
#
|
||||||
# On OSX, this will prefer the Framework version (if found) over others.
|
# On OSX, this will prefer the Framework version (if found) over others.
|
||||||
# People will have to manually change the cache values of
|
# People will have to manually change the cache values of
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# - Locate SDL_ttf library
|
# - Locate SDL_ttf library
|
||||||
# This module defines
|
# This module defines
|
||||||
# SDLTTF_LIBRARY, the name of the library to link against
|
# SDLTTF_LIBRARY, the library to link against
|
||||||
# SDLTTF_FOUND, if false, do not try to link to SDL
|
# SDLTTF_FOUND, if false, do not try to link to SDL
|
||||||
# SDLTTF_INCLUDE_DIR, where to find SDL/SDL.h
|
# SDLTTF_INCLUDE_DIR, where to find SDL/SDL.h
|
||||||
#
|
#
|
||||||
|
|
|
@ -2,19 +2,19 @@
|
||||||
# This module finds if TCL is installed and determines where the
|
# This module finds if TCL is installed and determines where the
|
||||||
# include files and libraries are. It also determines what the name of
|
# include files and libraries are. It also determines what the name of
|
||||||
# the library is. This code sets the following variables:
|
# the library is. This code sets the following variables:
|
||||||
# TCL_LIBRARY = path to Tcl library (tcl tcl80)
|
# TCL_LIBRARY = path to Tcl library (tcl tcl80)
|
||||||
# TCL_LIBRARY_DEBUG = path to Tcl library (debug)
|
# TCL_LIBRARY_DEBUG = path to Tcl library (debug)
|
||||||
# TCL_STUB_LIBRARY = path to Tcl stub library
|
# TCL_STUB_LIBRARY = path to Tcl stub library
|
||||||
# TCL_STUB_LIBRARY_DEBUG = path to Tcl stub library (debug)
|
# TCL_STUB_LIBRARY_DEBUG = path to debug stub library
|
||||||
# TCL_INCLUDE_PATH = path to where tcl.h can be found
|
# TCL_INCLUDE_PATH = path to where tcl.h can be found
|
||||||
# TCL_TCLSH = path to tclsh binary (tcl tcl80)
|
# TCL_TCLSH = path to tclsh binary (tcl tcl80)
|
||||||
# TK_LIBRARY = path to Tk library (tk tk80 etc)
|
# TK_LIBRARY = path to Tk library (tk tk80 etc)
|
||||||
# TK_LIBRARY_DEBUG = path to Tk library (debug)
|
# TK_LIBRARY_DEBUG = path to Tk library (debug)
|
||||||
# TK_STUB_LIBRARY = path to Tk stub library
|
# TK_STUB_LIBRARY = path to Tk stub library
|
||||||
# TK_STUB_LIBRARY_DEBUG = path to Tk stub library (debug)
|
# TK_STUB_LIBRARY_DEBUG = path to debug Tk stub library
|
||||||
# TK_INCLUDE_PATH = path to where tk.h can be found
|
# TK_INCLUDE_PATH = path to where tk.h can be found
|
||||||
# TK_INTERNAL_PATH = path to where tkWinInt.h can be found
|
# TK_INTERNAL_PATH = path to where tkWinInt.h is found
|
||||||
# TK_WISH = full path to the wish (wish wish80)
|
# TK_WISH = full path to the wish executable
|
||||||
|
|
||||||
INCLUDE(CMakeFindFrameworks)
|
INCLUDE(CMakeFindFrameworks)
|
||||||
INCLUDE(FindTclsh)
|
INCLUDE(FindTclsh)
|
||||||
|
|
|
@ -1,9 +1,8 @@
|
||||||
# - Find TIFF library
|
# - Find TIFF library
|
||||||
# Find the native TIFF includes and library
|
# Find the native TIFF includes and library
|
||||||
#
|
|
||||||
# This module defines
|
# This module defines
|
||||||
# TIFF_INCLUDE_DIR, where to find tiff.h, etc.
|
# TIFF_INCLUDE_DIR, where to find tiff.h, etc.
|
||||||
# TIFF_LIBRARIES, the libraries to link against to use TIFF.
|
# TIFF_LIBRARIES, libraries to link against to use TIFF.
|
||||||
# TIFF_FOUND, If false, do not try to use TIFF.
|
# TIFF_FOUND, If false, do not try to use TIFF.
|
||||||
# also defined, but not for general use are
|
# also defined, but not for general use are
|
||||||
# TIFF_LIBRARY, where to find the TIFF library.
|
# TIFF_LIBRARY, where to find the TIFF library.
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
# This module finds if TCL is installed and determines where the
|
# This module finds if TCL is installed and determines where the
|
||||||
# include files and libraries are. It also determines what the name of
|
# include files and libraries are. It also determines what the name of
|
||||||
# the library is. This code sets the following variables:
|
# the library is. This code sets the following variables:
|
||||||
# TCL_TCLSH = the full path to the tclsh binary (tcl tcl80 etc)
|
# TCL_TCLSH = the path to the tclsh executable
|
||||||
# In cygwin, look for the cygwin version first. Don't look for it later to
|
# In cygwin, look for the cygwin version first. Don't look for it later to
|
||||||
# avoid finding the cygwin version on a Win32 build.
|
# avoid finding the cygwin version on a Win32 build.
|
||||||
IF(WIN32)
|
IF(WIN32)
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
# - This module determines the thread library of the system.
|
# - This module determines the thread library of the system.
|
||||||
# The following variables are set
|
# The following variables are set
|
||||||
# CMAKE_THREAD_LIBS_INIT - the thread library (-lpthread )
|
# CMAKE_THREAD_LIBS_INIT - the thread library
|
||||||
# CMAKE_USE_SPROC_INIT - are we using sproc?
|
# CMAKE_USE_SPROC_INIT - are we using sproc?
|
||||||
# CMAKE_USE_WIN32_THREADS_INIT - are we using WIN32 threads
|
# CMAKE_USE_WIN32_THREADS_INIT - using WIN32 threads?
|
||||||
# CMAKE_USE_PTHREADS_INIT - are we using pthreads
|
# CMAKE_USE_PTHREADS_INIT - are we using pthreads
|
||||||
# CMAKE_HP_PTHREADS_INIT - are we using hp pthreads
|
# CMAKE_HP_PTHREADS_INIT - are we using hp pthreads
|
||||||
|
|
||||||
INCLUDE (CheckIncludeFile)
|
INCLUDE (CheckIncludeFile)
|
||||||
INCLUDE (CheckIncludeFiles)
|
INCLUDE (CheckIncludeFiles)
|
||||||
|
|
|
@ -1,26 +1,30 @@
|
||||||
# - Find a VTK installation or build tree.
|
# - Find a VTK installation or build tree.
|
||||||
# The following variables are set if VTK is found. If VTK is not
|
# The following variables are set if VTK is found. If VTK is not
|
||||||
# found, VTK_FOUND is set to false.
|
# found, VTK_FOUND is set to false.
|
||||||
# VTK_FOUND - Set to true when VTK is found.
|
# VTK_FOUND - Set to true when VTK is found.
|
||||||
# VTK_USE_FILE - CMake file to setup a project to use VTK.
|
# VTK_USE_FILE - CMake file to use VTK.
|
||||||
# VTK_MAJOR_VERSION - The VTK major version number.
|
# VTK_MAJOR_VERSION - The VTK major version number.
|
||||||
# VTK_MINOR_VERSION - The VTK minor version number
|
# VTK_MINOR_VERSION - The VTK minor version number
|
||||||
# (odd non-release).
|
# (odd non-release).
|
||||||
# VTK_BUILD_VERSION - The VTK patch level
|
# VTK_BUILD_VERSION - The VTK patch level
|
||||||
# (meaningless for odd minor).
|
# (meaningless for odd minor).
|
||||||
# VTK_INCLUDE_DIRS - Include directories for VTK headers.
|
# VTK_INCLUDE_DIRS - Include directories for VTK
|
||||||
# VTK_LIBRARY_DIRS - Link directories for VTK libraries.
|
# VTK_LIBRARY_DIRS - Link directories for VTK libraries
|
||||||
# VTK_KITS - List of VTK kits, in CAPS (COMMON,IO,).
|
# VTK_KITS - List of VTK kits, in CAPS
|
||||||
# VTK_LANGUAGES - List of wrapped languages, in CAPS (TCL,)
|
# (COMMON,IO,) etc.
|
||||||
|
# VTK_LANGUAGES - List of wrapped languages, in CAPS
|
||||||
|
# (TCL, PYHTON,) etc.
|
||||||
# The following cache entries must be set by the user to locate VTK:
|
# The following cache entries must be set by the user to locate VTK:
|
||||||
# VTK_DIR - The directory containing VTKConfig.cmake. This
|
# VTK_DIR - The directory containing VTKConfig.cmake.
|
||||||
# is either the root of the build tree, or the
|
# This is either the root of the build tree,
|
||||||
# lib/vtk directory. This is the only cache entry.
|
# or the lib/vtk directory. This is the
|
||||||
|
# only cache entry.
|
||||||
# The following variables are set for backward compatibility and
|
# The following variables are set for backward compatibility and
|
||||||
# should not be used in new code:
|
# should not be used in new code:
|
||||||
# USE_VTK_FILE - The full path to the UseVTK.cmake file. This
|
# USE_VTK_FILE - The full path to the UseVTK.cmake file.
|
||||||
# is provided for backward compatability. Use
|
# This is provided for backward
|
||||||
# VTK_USE_FILE instead.
|
# compatibility. Use VTK_USE_FILE
|
||||||
|
# instead.
|
||||||
#
|
#
|
||||||
|
|
||||||
# Construct consitent error messages for use below.
|
# Construct consitent error messages for use below.
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
# - Find wget
|
# - Find wget
|
||||||
# This module looks for wget.
|
# This module looks for wget. This module defines the
|
||||||
#
|
# following values:
|
||||||
# This module defines the following values:
|
# WGET_EXECUTABLE: the full path to the wget tool.
|
||||||
# WGET_EXECUTABLE: This variable defines the full path to the wget tool.
|
|
||||||
# WGET_FOUND: True if wget has been found.
|
# WGET_FOUND: True if wget has been found.
|
||||||
|
|
||||||
INCLUDE(FindCygwin)
|
INCLUDE(FindCygwin)
|
||||||
|
|
|
@ -3,9 +3,9 @@
|
||||||
# include files and libraries are. It also determines what the name of
|
# include files and libraries are. It also determines what the name of
|
||||||
# the library is. This code sets the following variables:
|
# the library is. This code sets the following variables:
|
||||||
#
|
#
|
||||||
# TK_WISH = the full path to the wish binary (wish wish80 etc)
|
# TK_WISH = the path to the wish executable
|
||||||
#
|
#
|
||||||
# if UNIX is defined, then look for the cygwin version first
|
# if UNIX is defined, then it will look for the cygwin version first
|
||||||
IF(UNIX)
|
IF(UNIX)
|
||||||
FIND_PROGRAM(TK_WISH cygwish80 )
|
FIND_PROGRAM(TK_WISH cygwish80 )
|
||||||
ENDIF(UNIX)
|
ENDIF(UNIX)
|
||||||
|
|
|
@ -1,10 +1,8 @@
|
||||||
# - Find X11 installation
|
# - Find X11 installation
|
||||||
# Try to find X11 on UNIX systems.
|
# Try to find X11 on UNIX systems. The following values are defined
|
||||||
#
|
# X11_FOUND - True if X11 is available
|
||||||
# The following values are defined
|
|
||||||
# X11_FOUND - True if X11 is available
|
|
||||||
# X11_INCLUDE_DIR - include directories to use X11
|
# X11_INCLUDE_DIR - include directories to use X11
|
||||||
# X11_LIBRARIES - link against these to use X11
|
# X11_LIBRARIES - link against these to use X11
|
||||||
|
|
||||||
IF (UNIX)
|
IF (UNIX)
|
||||||
SET(X11_FOUND 0)
|
SET(X11_FOUND 0)
|
||||||
|
|
|
@ -3,15 +3,15 @@
|
||||||
# include files and libraries are. It also determines what the name of
|
# include files and libraries are. It also determines what the name of
|
||||||
# the library is. This code sets the following variables:
|
# the library is. This code sets the following variables:
|
||||||
#
|
#
|
||||||
# WXWINDOWS_FOUND = system has WxWindows
|
# WXWINDOWS_FOUND = system has WxWindows
|
||||||
# WXWINDOWS_LIBRARIES = full path to the wxWindows libraries
|
# WXWINDOWS_LIBRARIES = path to the wxWindows libraries
|
||||||
# on Unix/Linux with additional linker
|
# on Unix/Linux with additional
|
||||||
# flags from "wx-config --libs"
|
# linker flags from
|
||||||
# CMAKE_WXWINDOWS_CXX_FLAGS = Compiler flags for wxWindows,
|
# "wx-config --libs"
|
||||||
# essentially
|
# CMAKE_WXWINDOWS_CXX_FLAGS = Compiler flags for
|
||||||
|
# wxWindows, essentially
|
||||||
# "`wx-config --cxxflags`"
|
# "`wx-config --cxxflags`"
|
||||||
# WXWINDOWS_INCLUDE_DIR = where to find "wx/wx.h"
|
# WXWINDOWS_INCLUDE_DIR = where to find "wx/wx.h" etc
|
||||||
# "wx/setup.h"
|
|
||||||
# WXWINDOWS_LINK_DIRECTORIES = link directories
|
# WXWINDOWS_LINK_DIRECTORIES = link directories
|
||||||
# WXWINDOWS_DEFINITIONS = extra defines
|
# WXWINDOWS_DEFINITIONS = extra defines
|
||||||
# deprecated:
|
# deprecated:
|
||||||
|
@ -20,18 +20,10 @@
|
||||||
# * CMAKE_WX_CXX_FLAGS
|
# * CMAKE_WX_CXX_FLAGS
|
||||||
# * WXWINDOWS_INCLUDE_PATH
|
# * WXWINDOWS_INCLUDE_PATH
|
||||||
#
|
#
|
||||||
# USAGE:
|
# For convenience include Use_wxWindows.cmake in your project's
|
||||||
# for convenience include Use_wxWindows.cmake in your projects
|
# CMakeLists.txt using INCLUDE(Use_wxWindows). If you need OpenGL support
|
||||||
# CMakeLists.txt:
|
# please SET(WXWINDOWS_USE_GL 1) in your CMakeLists.txt *before* you include
|
||||||
#
|
# this file.
|
||||||
# if you need OpenGL support please
|
|
||||||
# SET(WXWINDOWS_USE_GL 1)
|
|
||||||
# # in your CMakeLists.txt *before* you include this file.
|
|
||||||
#
|
|
||||||
# # just include Use_wxWindows.cmake
|
|
||||||
# # in your projects CMakeLists.txt
|
|
||||||
# INCLUDE(Use_wxWindows)
|
|
||||||
#
|
|
||||||
|
|
||||||
|
|
||||||
# ------------------------------------------------------------------
|
# ------------------------------------------------------------------
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# - Test for compiler support of ANSI stream headers iostream, etc.
|
# - Test for compiler support of ANSI stream headers iostream, etc.
|
||||||
# check if we they have the standard ansi stream files (without the .h)
|
# check if we they have the standard ansi stream files (without the .h)
|
||||||
# CMAKE_NO_ANSI_STREAM_HEADERS - defined according to the results
|
# CMAKE_NO_ANSI_STREAM_HEADERS - defined by the results
|
||||||
#
|
#
|
||||||
INCLUDE(CheckIncludeFileCXX)
|
INCLUDE(CheckIncludeFileCXX)
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# - Test for std:: namespace support
|
# - Test for std:: namespace support
|
||||||
# check if the compiler supports std:: on stl classes
|
# check if the compiler supports std:: on stl classes
|
||||||
# CMAKE_NO_STD_NAMESPACE - defined according to the results
|
# CMAKE_NO_STD_NAMESPACE - defined by the results
|
||||||
#
|
#
|
||||||
IF("CMAKE_STD_NAMESPACE" MATCHES "^CMAKE_STD_NAMESPACE$")
|
IF("CMAKE_STD_NAMESPACE" MATCHES "^CMAKE_STD_NAMESPACE$")
|
||||||
MESSAGE(STATUS "Check for STD namespace")
|
MESSAGE(STATUS "Check for STD namespace")
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
# All other macros are for internal use only.
|
# All other macros are for internal use only.
|
||||||
# To get the actual name of the swig module,
|
# To get the actual name of the swig module,
|
||||||
# use: ${SWIG_MODULE_name_REAL_NAME}.
|
# use: ${SWIG_MODULE_name_REAL_NAME}.
|
||||||
# Set Source files propertis such as CPLUSPLUS and SWIG_FLAGS to specify
|
# Set Source files properties such as CPLUSPLUS and SWIG_FLAGS to specify
|
||||||
# special behavior of SWIG. Also global CMAKE_SWIG_FLAGS can be used to add
|
# special behavior of SWIG. Also global CMAKE_SWIG_FLAGS can be used to add
|
||||||
# special flags to all swig calls.
|
# special flags to all swig calls.
|
||||||
# Another special variable is CMAKE_SWIG_OUTDIR, it allows one to specify
|
# Another special variable is CMAKE_SWIG_OUTDIR, it allows one to specify
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
# and set the appropriate libs, incdirs, flags etc.
|
# and set the appropriate libs, incdirs, flags etc.
|
||||||
# INCLUDE_DIRECTORIES, LINK_DIRECTORIES and ADD_DEFINITIONS
|
# INCLUDE_DIRECTORIES, LINK_DIRECTORIES and ADD_DEFINITIONS
|
||||||
# are called.
|
# are called.
|
||||||
#
|
|
||||||
# author Jan Woetzel <jw -at- mip.informatik.uni-kiel.de> (07/2003)
|
# author Jan Woetzel <jw -at- mip.informatik.uni-kiel.de> (07/2003)
|
||||||
#
|
#
|
||||||
# if you are sure you need GL then
|
# if you are sure you need GL then
|
||||||
|
|
Loading…
Reference in New Issue