#-----------------------------------------------------------------------------
+
IF(USE_QT4)
IF(NOT QT_FOUND)
INCLUDE(${QT_USE_FILE})
CREA_DEFINE( USE_QT )
- # SET(QT_LIBRARIES
- # ${QT_LIBRARIES}
- # )
- # MARK_AS_ADVANCED(Qt4_DIR)
+
ENDIF(QT_FOUND)
ENDIF(NOT QT_FOUND)
ENDIF(USE_QT4)
+
+
+#JFGA Pruebas WT
+
+MESSAGE ( "======================================= SET CMAKE USE_WT JFGA CREAMacro_FindAndUseLibraries.cmake")
+SET(USE_WT ON)
+
+
#-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------
+#-------------------- JFGA ---
+IF(USE_WT)
+ MESSAGE ( "======================================= JFGA ------------USE WT CREAMacro_FindAndUseLibraries.cmake")
+ INCLUDE(${CREA_CMAKE_DIR}/CREAMacro_FindAndUseWt.cmake)
+ CREA_FINDANDUSEWT()
+ENDIF(USE_WT)
+
#-----------------------------------------------------------------------------
IF(USE_WXWIDGETS)
IF(NOT wxWidgets_FOUND)
--- /dev/null
+MACRO(CREA_FINDANDUSEWT)
+ SET (WT_CONNECTOR "wthttp" CACHE STRING "Connector used (wthttp or wtfcgi)")
+ SET(WT_LIBRARIES wt wthttp)
+ INCLUDE_DIRECTORIES(/usr/local/include/Wt)
+ CREA_DEFINE( USE_WT)
+ CREA_DEFINE( _USE_WT_ )
+ENDMACRO(CREA_FINDANDUSEWT)
+
+
wxT("Basic - AtomicBlackBox"),
wxT("Widget - WxBlackBox"),
wxT("VTK ImageAlgorithm - Basic and vtkImageAlgorithm (standard vtk I/O)"),
- wxT("VTK PolyDataAlgorithm - Basic and vtkPolyDataAlgorithm (standard vtk I/O)")
+ wxT("VTK PolyDataAlgorithm - Basic and vtkPolyDataAlgorithm (standard vtk I/O)"),
+//JFGA new type added
+ wxT("Web Widget - WtBlackBox")
+
};
- this->blackBoxType = new wxChoice(this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 4, BBTypes);
+ this->blackBoxType = new wxChoice(this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 5, BBTypes);
wxString BBFormats[] =
{
TARGET_LINK_LIBRARIES(crea
${WXWIDGETS_LIBRARIES}
${VTK_LIBRARIES}
- ${BOOST_LIBRARIES}
+ ${BOOST_LIBRARIES}
+
)
SET_TARGET_PROPERTIES(crea PROPERTIES ${CREA_LIBRARY_PROPERTIES})