1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-25 01:18:38 -05:00

Use C++11 everywhere

This commit is contained in:
f4exb 2018-11-24 21:21:04 +01:00
parent 6dbc07d1c8
commit bc7ad10f9d
21 changed files with 41 additions and 0 deletions

View File

@ -1,5 +1,7 @@
project(devices)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
find_package(LibUSB)
if (BUILD_DEBIAN)

View File

@ -1,5 +1,7 @@
project(httpserver)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
set(httpserver_SOURCES
httpglobal.cpp
httplistener.cpp

View File

@ -1,5 +1,7 @@
project(airspy)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
find_package(LibUSB)
remove_definitions(-DUSE_SSE2)

View File

@ -1,5 +1,7 @@
project(airspyhf)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
find_package(LibUSB)
set(airspyhf_SOURCES

View File

@ -1,5 +1,7 @@
project(bladerf)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
find_package(LibUSB)
add_definitions(-DBLADERF_OS_LINUX)

View File

@ -1,5 +1,7 @@
project(hackrf)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
find_package(LibUSB)
set(hackrf_SOURCES

View File

@ -1,6 +1,8 @@
cmake_minimum_required(VERSION 2.8.7)
project(iio)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
set(LIBIIO_VERSION_MAJOR 0)
set(LIBIIO_VERSION_MINOR 10)
set(VERSION "${LIBIIO_VERSION_MAJOR}.${LIBIIO_VERSION_MINOR}")

View File

@ -1,5 +1,7 @@
project(limesuite)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
find_package(LibUSB)
set(limesuite_SOURCES

View File

@ -1,5 +1,7 @@
project(mirisdr)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
add_definitions(-DDETACH_KERNEL_DRIVER=ON)
find_package(LibUSB)

View File

@ -1,5 +1,7 @@
project(perseus)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
find_package(LibUSB)
add_definitions(-DHAVE_CONFIG_H)

View File

@ -1,5 +1,7 @@
project(rtlsdr)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
add_definitions(-DDETACH_KERNEL_DRIVER=ON)
find_package(LibUSB)

View File

@ -1,5 +1,7 @@
project(soapysdr)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
########################################################################
# gather version information
# packagers may specify -DSOAPY_SDR_EXTVER="foo" to replace the git hash

View File

@ -1,5 +1,7 @@
project(logging)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
set(logging_SOURCES
dualfilelogger.cpp
loggerwithfile.cpp

View File

@ -1,5 +1,7 @@
project(mbelib)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
set(mbelib_SOURCES
${LIBMBELIBSRC}/ambe3600x2400.c
${LIBMBELIBSRC}/ambe3600x2450.c

View File

@ -1,5 +1,7 @@
project(chanalyzer)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
set(chanalyzer_SOURCES
chanalyzer.cpp
chanalyzergui.cpp

View File

@ -1,5 +1,7 @@
project(atv)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
set(atv_SOURCES
atvdemod.cpp
atvdemodsettings.cpp

View File

@ -1,5 +1,7 @@
project(datv)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
set(datv_SOURCES
datvdemod.cpp
datvdemodgui.cpp

View File

@ -1,5 +1,7 @@
project(lora)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
set(lora_SOURCES
lorademod.cpp
lorademodgui.cpp

View File

@ -1,5 +1,7 @@
project(qrtplib)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
set (qrtplib_HEADERS
rtcpapppacket.h
rtcpbyepacket.h

View File

@ -1,5 +1,6 @@
project (sdrbase)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
#set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsanitize=undefined")
set(sdrbase_SOURCES

View File

@ -1,5 +1,7 @@
project (sdrgui)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
set(sdrgui_SOURCES
mainwindow.cpp
gui/aboutdialog.cpp