diff options
Diffstat (limited to 'gnss-service/src/CMakeLists.txt')
-rw-r--r-- | gnss-service/src/CMakeLists.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gnss-service/src/CMakeLists.txt b/gnss-service/src/CMakeLists.txt index fa6dbbb..f4c66db 100644 --- a/gnss-service/src/CMakeLists.txt +++ b/gnss-service/src/CMakeLists.txt @@ -13,6 +13,9 @@ # Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with # this file, You can obtain one at http://mozilla.org/MPL/2.0/. # +# Update (2014/12/02) : Philippe Colliot <philippe.colliot@mpsa.com>, +# PSA Peugeot Citroen +# - introduce debug flag to disable verbosity # @licence end@ ########################################################################### @@ -21,6 +24,7 @@ message(STATUS "WITH_DLT = ${WITH_DLT}") message(STATUS "WITH_GPSD = ${WITH_GPSD}") message(STATUS "WITH_REPLAYER = ${WITH_REPLAYER}") message(STATUS "WITH_TESTS = ${WITH_TESTS}") +message(STATUS "WITH_DEBUG = ${WITH_DEBUG}") include_directories("${PROJECT_SOURCE_DIR}/api") @@ -36,6 +40,10 @@ if(WITH_DLT) set(LIBRARIES ${LIBRARIES} ${DLT_LIBRARIES}) endif() +if(WITH_DEBUG) + add_definitions("-DDEBUG_ENABLED=1") +endif() + if(WITH_GPSD) pkg_check_modules(GPSD libgps>=2.94) #generate library using gpsd as input |