IF(WIN32)
FIND_PATH(DOT_DIR dot.exe PATHS $ENV{PATH} )
+ IF(NOT DOT_DIR)
+ MESSAGE(FATAL_ERROR "DOT NOT FOUND")
+ ENDIF(NOT DOT_DIR)
# %DOT_DIR%
set(command00 Path=%WXWIN%/lib/vc_dll/__RR__%VTK_DIR%__RR__%ITK_DIR%/../../bin/__RR__${DOT_DIR}__RR__%PATH% )
STRING(REPLACE "__RR__" "\;" command0 ${command00} )
IF(USE_DOXYGEN)
FIND_PACKAGE(Doxygen REQUIRED)
# MESSAGE(STATUS "Looking for doxygen... - found ${DOXYGEN}")
- # IF(DOXYGEN)
-#
-# ELSE(DOXYGEN)
-# MESSAGE(FATAL_ERROR "Doxygen not found. Required to build the doxygen documentation")
-# ENDIF(DOXYGEN)
+ IF(DOXYGEN)
+
+ ELSE(DOXYGEN)
+ MESSAGE(FATAL_ERROR "Doxygen not found. Required to build the doxygen documentation")
+ ENDIF(DOXYGEN)
ENDIF(USE_DOXYGEN)
#-----------------------------------------------------------------------------
Program: bbtk
Module: $RCSfile: bbtkWxGUIScriptingInterface.cxx,v $
Language: C++
- Date: $Date: 2008/09/15 09:27:56 $
- Version: $Revision: 1.19 $
+ Date: $Date: 2008/10/02 13:21:11 $
+ Version: $Revision: 1.20 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
} \
catch (InterpreterError e) \
{ \
- std::cerr << "* IERROR : "<<e.GetMessage()<<std::endl; \
+ std::cerr << "* IERROR : "<<e.GetErrorMessage()<<std::endl; \
if (e.IsInScriptFile()) \
std::cerr << "* FILE : '"<<e.GetScriptFile()<<"'"<<std::endl; \
std::cerr << "* LINE : "<<e.GetScriptLine()<<std::endl; \