From af68d9e74400cee250d7ad47f0e20a46a59cd275 Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Mon, 24 Dec 2012 11:42:23 +0000 Subject: [PATCH] Added some notes on what to do for optional drivers git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@294 64b25241-fba3-4117-9849-534c7e92360d --- CMakeLists.txt | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 39d393ffe..8c07176f8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -187,11 +187,21 @@ if(NOT ARMADILLO_FOUND) endif() +################################################################################ # Setup of optional drivers +################################################################################ if( $ENV{GN3S_DRIVER} ) message( "GN3S_DRIVER variable found" ) + # copy firmware to install folder + # Build project gr-gn3s endif($ENV{GN3S_DRIVER} ) +if( $ENV{RTLSDR_DRIVER} ) + message( "RTLSDR_DRIVER variable found" ) + # find libosmosdr + # find gr-osmosdr +endif($ENV{RTLSDR_DRIVER} ) + ######################################################################## # Setup the include and linker paths @@ -235,7 +245,7 @@ endif(CMAKE_COMPILER_IS_GNUCXX AND NOT WIN32) # Add warning flags # For "-Wall" see http://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html -set(MY_CXX_FLAGS "${MY_CXX_FLAGS} -Wall -std=c++0x ") +set(MY_CXX_FLAGS "${MY_CXX_FLAGS} -Wall") # Set GPerftools related flags if it is available # See http://gperftools.googlecode.com/svn/trunk/README