[wxVTK] wxVTK CMakeLists.txt,1.29,1.30
Brought to you by:
malat
From: Mathieu M. <ma...@us...> - 2008-08-26 16:32:28
|
Update of /cvsroot/wxvtk/wxVTK In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv22496 Modified Files: CMakeLists.txt Log Message: ENH: Compile wxVTKNotebook now. Also add a note with issue with debian and glcanvas.h Index: CMakeLists.txt =================================================================== RCS file: /cvsroot/wxvtk/wxVTK/CMakeLists.txt,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -d -r1.29 -r1.30 *** CMakeLists.txt 10 Aug 2008 22:19:11 -0000 1.29 --- CMakeLists.txt 26 Aug 2008 16:32:21 -0000 1.30 *************** *** 58,61 **** --- 58,65 ---- FIND_PACKAGE(wxWidgets COMPONENTS base core adv ${WXGLCANVASLIBS}) + # wx is a pain... + # if you include glcanvas.h it include GL/glu.h ... sigh I have to install glu on my linux box: + # sudo apt-get install libglu1-mesa-dev + # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=493713 IF(wxWidgets_FOUND) INCLUDE( ${wxWidgets_USE_FILE} ) *************** *** 93,96 **** --- 97,105 ---- ) + SET(SRCS_VTKNotebook + Sample/wxVTKNotebook.cxx + src/wxVTKRenderWindowInteractor.cxx + ) + IF(NOT VTK_USE_RENDERING) MESSAGE(FATAL_ERROR "Cannot build wxVTK without vtkRendering (vtkWidgets)") *************** *** 111,114 **** --- 120,124 ---- ADD_EXECUTABLE(wxImageViewer ${GUI_EXECUTABLE} ${SRCS_ImageViewer}) ADD_EXECUTABLE(wxMedical3 ${GUI_EXECUTABLE} ${SRCS_Medical3}) + ADD_EXECUTABLE(wxVTKNotebook ${GUI_EXECUTABLE} ${SRCS_VTKNotebook}) INSTALL(TARGETS |