1 #OPTION(BUILD_bbi_GRAPHICAL "Build bbi in graphical mode (requires wxWidgets)" OFF)
2 #SWITCH_ON_IF_ALL_BUILD(BUILD_bbi_GRAPHICAL)
3 #IF (BUILD_bbi_GRAPHICAL)
4 # SET(USE_WXWIDGETS ON CACHE BOOL "Use WxWidgets" FORCE)
5 #ENDIF (BUILD_bbi_GRAPHICAL)
12 INCLUDE_DIRECTORIES(../../lib/EditorGraphicBBS/bbsWxGUIEditorGraphic)
13 INCLUDE_DIRECTORIES(../../lib/EditorGraphicBBS/bbsKernelEditorGraphic)
14 INCLUDE_DIRECTORIES(../../lib/EditorGraphicBBS/bbsVtkGUIEditorGraphic)
15 INCLUDE_DIRECTORIES(../../data/icons)
17 IF(BBTK_USE_WXWIDGETS AND WIN32)
18 ADD_EXECUTABLE(bbEditor WIN32 ${SOURCES})
19 SET_TARGET_PROPERTIES(bbEditor PROPERTIES LINK_FLAGS /subsystem:console )
20 ELSE(BBTK_USE_WXWIDGETS AND WIN32)
21 ADD_EXECUTABLE(bbEditor MACOSX_BUNDLE ${SOURCES} )
22 ENDIF(BBTK_USE_WXWIDGETS AND WIN32)
26 TARGET_LINK_LIBRARIES(bbEditor
27 ${WXWIDGETS_LIBRARIES}
30 ${creaMaracasVisu_LIBRARIES}
33 bbsKernelEditorGraphic
34 bbsVtkGUIEditorGraphic
36 ${WXWIDGETS_LIBRARIES}
39 INSTALL_TARGETS(/bin/ bbEditor)