+FILE(GLOB SOURCES "." "*.cxx" "*.cpp")
+# "ThirdParty/wx/treemultictrl/*.cpp")
+FILE(GLOB SOURCES_H "." "*.h" "*.txx" )
+
+#-----------------------------------------------------------------------------
+IF(BBTK_USE_KWWIDGETS)
+ IF(KWWidgets_FOUND)
+ include("${KWWidgets_CMAKE_DIR}/KWWidgetsWrappingMacros.cmake")
+ kwwidgets_wrap_tcl(bbtk LIB_TCL_SRCS "vtkKWBlackBoxDialog.cxx" "")
+ SET(SOURCES ${SOURCES} ${LIB_TCL_SRCS})
+ ENDIF(KWWidgets_FOUND)
+ENDIF(BBTK_USE_KWWIDGETS)
+#-----------------------------------------------------------------------------
+
+#-----------------------------------------------------------------------------
+IF(BBTK_USE_QT)
+ IF(QT_FOUND)
+ #---------------------------------------------------------------------------
+ # MOC
+ SET(QT4_HEADERS_TO_WRAP
+ bbtkQtBlackBoxDialog.h
+ )
+ QT4_WRAP_CPP(MOC_SOURCES ${QT4_HEADERS_TO_WRAP} OPTIONS -DBOOST_TT_HAS_OPERATOR_HPP_INCLUDED)
+ #---------------------------------------------------------------------------
+ # UI
+ QT4_WRAP_UI(UI_SOURCES
+ bbtkQtBlackBoxDialog.ui
+ )
+ SET(SOURCES ${SOURCES} ${MOC_SOURCES} ${UI_SOURCES})
+ ENDIF(QT_FOUND)
+
+# JFGA 03/12/2014 -- Temporal configuration of WT
+# *********Missing if conditional Wt********
+ #find_package(Boost COMPONENTS system thread signals)
+ #find_library(wt wt)
+ #find_library(wtext wtext)
+ #find_library(wthttp wthttp)
+ INCLUDE_DIRECTORIES(/usr/local/lib/)
+
+
+ENDIF(BBTK_USE_QT)
+#-----------------------------------------------------------------------------
+
+