diff options
Diffstat (limited to 'gnss-service/test/CMakeLists.txt')
-rwxr-xr-x | gnss-service/test/CMakeLists.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gnss-service/test/CMakeLists.txt b/gnss-service/test/CMakeLists.txt index c40ef32..78f87bc 100755 --- a/gnss-service/test/CMakeLists.txt +++ b/gnss-service/test/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@ ########################################################################### @@ -20,6 +23,7 @@ message(STATUS "GNSS-SERVICE-CLIENT") message( STATUS "WITH_DLT = ${WITH_DLT}") message( STATUS "WITH_GPSD = ${WITH_GPSD}") message( STATUS "WITH_REPLAYER = ${WITH_REPLAYER}") +message(STATUS "WITH_DEBUG = ${WITH_DEBUG}") include_directories("${PROJECT_SOURCE_DIR}/api") include_directories("${PROJECT_SOURCE_DIR}/src") @@ -46,5 +50,9 @@ if(WITH_DLT) set(LIBRARIES ${LIBRARIES} ${DLT_LIBRARIES}) endif() +if(WITH_DEBUG) + add_definitions("-DDEBUG_ENABLED=1") +endif() + target_link_libraries(gnss-service-client ${LIBRARIES}) |