https://github.com/Kitware/CMake
Revision f7f03347a64c629149803594b92c2b4b40e783fd authored by Brad King on 13 March 2008, 17:48:57 UTC, committed by Brad King on 13 March 2008, 17:48:57 UTC
  - Add cmListFileBacktrace to record stack traces
  - Move main IssueMessage method to the cmake class instance
    (make the backtrace an explicit argument)
  - Change cmMakefile::IssueMessage to construct a backtrace
    and call the cmake instance version
  - Record a backtrace at the point a target is created
    (useful later for messages issued by generators)
1 parent 73df9a5
Raw File
Tip revision: f7f03347a64c629149803594b92c2b4b40e783fd authored by Brad King on 13 March 2008, 17:48:57 UTC
ENH: Improve new error/warning message generation
Tip revision: f7f0334
FindGnuplot.cmake
# - this module looks for gnuplot
#
# Once done this will define
#
#  GNUPLOT_FOUND - system has Gnuplot
#  GNUPLOT_EXECUTABLE - the Gnuplot executable

INCLUDE(FindCygwin)

FIND_PROGRAM(GNUPLOT_EXECUTABLE
  NAMES 
  gnuplot
  pgnuplot
  wgnupl32
  PATHS
  ${CYGWIN_INSTALL_PATH}/bin
)

# for compatibility
SET(GNUPLOT ${GNUPLOT_EXECUTABLE})

# handle the QUIETLY and REQUIRED arguments and set GNUPLOT_FOUND to TRUE if 
# all listed variables are TRUE
INCLUDE(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(Gnuplot DEFAULT_MSG GNUPLOT_EXECUTABLE)

MARK_AS_ADVANCED( GNUPLOT_EXECUTABLE )

back to top