# Sources files
FILE(GLOB SOURCES "." "*.cxx" "*.cpp")
# "ThirdParty/wx/treemultictrl/*.cpp")
-FILE(GLOB SOURCES_H "." "*.h" )
+FILE(GLOB SOURCES_H "." "*.h" "*.txx" )
#-----------------------------------------------------------------------------
IF(BBTK_USE_KWWIDGETS)
#-----------------------------------------------------------------------------
IF(BBTK_USE_QT)
- #---------------------------------------------------------------------------
- # MOC
- SET(QT4_HEADERS_TO_WRAP
- bbtkQtBlackBoxDialog.h
- )
- QT4_WRAP_CPP(MOC_SOURCES ${QT4_HEADERS_TO_WRAP})
- #---------------------------------------------------------------------------
- # UI
- QT4_WRAP_UI(UI_SOURCES
- bbtkQtBlackBoxDialog.ui
- )
- SET(SOURCES ${SOURCES} ${MOC_SOURCES} ${UI_SOURCES})
+ IF(QT_FOUND)
+ #---------------------------------------------------------------------------
+ # MOC
+ SET(QT4_HEADERS_TO_WRAP
+ bbtkQtBlackBoxDialog.h
+ )
+ QT4_WRAP_CPP(MOC_SOURCES ${QT4_HEADERS_TO_WRAP})
+ #---------------------------------------------------------------------------
+ # UI
+ QT4_WRAP_UI(UI_SOURCES
+ bbtkQtBlackBoxDialog.ui
+ )
+ SET(SOURCES ${SOURCES} ${MOC_SOURCES} ${UI_SOURCES})
+ ENDIF(QT_FOUND)
ENDIF(BBTK_USE_QT)
#-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------
-FILE(GLOB BBTK_HEADERS "*.h")
+FILE(GLOB BBTK_HEADERS "*.h" "*.txx")
INSTALL(FILES ${BBTK_HEADERS} DESTINATION include/bbtk)
INSTALL(TARGETS bbtk DESTINATION ${BBTK_LIB_PATH})
#-----------------------------------------------------------------------------