MACRO(CREA_FIND_AND_USE_LIBRARIES)
-
+OPTION(DEBUG "Use debug libraries" ON)
#-----------------------------------------------------------------------------
# If one can invoke this macro then crea has already been found !!
# However if one whishes to link against crea and crea was built
#boost_date_time-vc71-mt-1_37
#message("creamacro find and use lib = ${Boost_SIGNALS_LIBRARY}")
- SET(BOOST_LIBRARIES
+ IF(DEBUG)
+ SET(BOOST_LIBRARIES
+ boost_signals-vc90-mt-gd-1_40
+ boost_filesystem-vc90-mt-gd-1_40
+ boost_date_time-vc90-mt-gd-1_40
+ #what about boost_thread? JPR
+ )
+ ELSE(NOT DEBUG)
+ SET(BOOST_LIBRARIES
boost_signals-vc90-mt-1_40
- boost_filesystem-vc90-mt-1_40
- boost_date_time-vc90-mt-1_40
-
- #what about boost_thread? JPR
- )
+ boost_filesystem-vc90-mt-1_40
+ boost_date_time-vc90-mt-1_40
+ )
+ ENDIF(DEBUG)
ENDIF(WIN32)
IF(NOT WIN32)
IF(APPLE)
#wxWidgets build related stuff
# DO NOT FORCE DEBUG LIBS !!
- SET(WXW_USE_DEBUG OFF)
+ IF(DEBUG)
+ SET(WXW_USE_DEBUG ON)
+ ELSE (NOT DEBUG)
+ SET(WXW_USE_DEBUG OFF)
+ ENDIF(DEBUG)
SET(WXW_USE_UNICODE OFF)
SET(WXW_USE_SHARED ON)
SET(WXW_USE_UNIV OFF)
SET(CPACK_SOURCE_STRIP_FILES "")
ENDIF(WIN32 AND NOT UNIX)
SET(CPACK_PACKAGE_EXECUTABLES "creaNewProject" "New project")
+
INCLUDE(CPack)
Program: Visualization Toolkit
Module: $RCSfile: creawxVTKRenderWindowInteractor.h,v $
Language: C++
- Date: $Date: 2008/12/11 14:27:00 $
- Version: $Revision: 1.2 $
+ Date: $Date: 2010/01/22 19:16:54 $
+ Version: $Revision: 1.3 $
Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
#if defined(__WXGTK__) && defined(USE_WXGLCANVAS)
class CREA_EXPORT creawxVTKRenderWindowInteractor : public wxGLCanvas, virtual public vtkRenderWindowInteractor
#else
-class CREA_EXPORT creawxVTKRenderWindowInteractor : public wxWindow, virtual public vtkRenderWindowInteractor
+class CREA_EXPORT creawxVTKRenderWindowInteractor : virtual public vtkRenderWindowInteractor, public wxWindow
#endif //__WXGTK__
{
DECLARE_DYNAMIC_CLASS(creawxVTKRenderWindowInteractor)