1 # Find the bbtk package wx
2 # The package is called 'bbwx'
3 # It itself finds bbtk and automatically exports its dependency on it
5 # Set 'FIND_PACKAGE_VERBOSE' to have information on the packages found
6 SET(FIND_PACKAGE_VERBOSE 1)
11 INCLUDE(${bbwx_USE_FILE})
14 SET(SAMPLE bbtkSampleOutputObserver)
17 CREA_FIND_AND_USE_LIBRARIES()
20 ADD_EXECUTABLE(${SAMPLE} WIN32 ${SAMPLE})
22 SET_TARGET_PROPERTIES(${SAMPLE} PROPERTIES LINK_FLAGS /subsystem:console )
25 TARGET_LINK_LIBRARIES(${SAMPLE} ${bbwx_LIBRARIES} ${BBTK_LIBRARIES} ${WXWIDGETS_LIBRARIES})