X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=CMakeLists.txt;h=61daa1885b61d5bfd0035e6e876a051a373b9eab;hb=f46e495ef1db0a4e522462ac18260f2151fa2b89;hp=1b9c7d1a2b50fb3106a61c11e81c90df49ff87a7;hpb=03e8c9914eeadadd6f54aa32f55f5c08bd27c426;p=pulseview.git diff --git a/CMakeLists.txt b/CMakeLists.txt index 1b9c7d1a..61daa188 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -33,7 +33,7 @@ project(pulseview) option(DISABLE_WERROR "Build without -Werror" FALSE) option(ENABLE_SIGNALS "Build with UNIX signals" TRUE) -option(ENABLE_DECODE "Build with libsigrokdecode" FALSE) +option(ENABLE_DECODE "Build with libsigrokdecode" TRUE) option(ENABLE_COTIRE "Enable cotire" FALSE) option(ENABLE_TESTS "Enable unit tests" FALSE) option(STATIC_PKGDEPS_LIBS "Statically link to (pkg-config) libraries" FALSE) @@ -61,10 +61,10 @@ endif() #= Dependencies #------------------------------------------------------------------------------- -list(APPEND PKGDEPS libsigrok>=0.2.0) +list(APPEND PKGDEPS libsigrok>=0.3.0) if(ENABLE_DECODE) - list(APPEND PKGDEPS libsigrokdecode>=0.2.0) + list(APPEND PKGDEPS libsigrokdecode>=0.3.0) endif() find_package(PkgConfig) @@ -100,7 +100,7 @@ set(PV_TITLE PulseView) set(PV_DESCRIPTION "A GUI for sigrok") set(PV_VERSION_MAJOR 0) -set(PV_VERSION_MINOR 1) +set(PV_VERSION_MINOR 2) set(PV_VERSION_MICRO 0) set(PV_VERSION_STRING ${PV_VERSION_MAJOR}.${PV_VERSION_MINOR}.${PV_VERSION_MICRO} @@ -121,6 +121,7 @@ set(pulseview_SOURCES pv/mainwindow.cpp pv/sigsession.cpp pv/storesession.cpp + pv/util.cpp pv/data/analog.cpp pv/data/analogsnapshot.cpp pv/data/logic.cpp @@ -259,6 +260,7 @@ include(${QT_USE_FILE}) add_definitions(${QT_DEFINITIONS}) add_definitions(-D__STDC_LIMIT_MACROS) add_definitions(-Wall -Wextra) +add_definitions(-std=c++11) if(ENABLE_DECODE) add_definitions(-DENABLE_DECODE)