include_directories(${QT_INCLUDES} ${CMAKE_CURRENT_BINARY_DIR})

set(QOscilloscope_SRCS QOscilloscope.cpp main.cpp qoscope.cpp)
qt4_automoc(${QOscilloscope_SRCS})
add_executable(qoscilloscope ${QOscilloscope_SRCS})
target_link_libraries(qoscilloscope ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY} -lusb)

install(TARGETS qoscilloscope DESTINATION "/usr/local/bin")
