X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=CMakeLists.txt;h=7e13714514242d8c5eecf9b7249e6366718a5783;hp=fd932a2926de718d2b06bc3a4220e942fb3719ec;hb=652010ea57ca43952d626f33ebf84fb01a663ed4;hpb=df9443999c6b365c37cd254320d7dfa1aa4a815b diff --git a/CMakeLists.txt b/CMakeLists.txt index fd932a29..7e137145 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,19 +10,30 @@ pkg_check_modules(PKGDEPS REQUIRED ) find_package(Qt4 REQUIRED) +find_package(Boost 1.46 REQUIRED) set(VERSION 0.1.0) set(sigrok-qt2_SOURCES about.cpp + datasnapshot.cpp + logicdata.cpp + logicdatasnapshot.cpp + logicsignal.cpp main.cpp mainwindow.cpp + samplingbar.cpp + signaldata.cpp + sigsession.cpp + signal.cpp sigview.cpp ) set(sigrok-qt2_HEADERS about.h mainwindow.h + samplingbar.h + sigsession.h sigview.h ) @@ -48,10 +59,12 @@ add_definitions(-DAPP_VERSION="${VERSION}") include_directories( ${include_directories} + ${Boost_INCLUDE_DIRS} ${PKGDEPS_INCLUDE_DIRS} ) link_directories( + ${Boost_LIBRARY_DIRS} ${PKGDEPS_LIBRARY_DIRS} ) @@ -63,6 +76,7 @@ add_executable(sigrok-qt2 ) target_link_libraries(sigrok-qt2 + ${Boost_LIBRARIES} ${PKGDEPS_LIBRARIES} ${QT_LIBRARIES} )