From 1118b5fca25e6f3dcdf05f3355e59d66b526deee Mon Sep 17 00:00:00 2001 From: TekuConcept Date: Wed, 15 Mar 2017 19:23:38 -0600 Subject: [PATCH] Option to Enable Debug Mode Allows verbosity of internal messages, and disables Arduino serial communication. --- BoneCentral/Peripherals/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/BoneCentral/Peripherals/CMakeLists.txt b/BoneCentral/Peripherals/CMakeLists.txt index e84e968..4852bfd 100644 --- a/BoneCentral/Peripherals/CMakeLists.txt +++ b/BoneCentral/Peripherals/CMakeLists.txt @@ -3,6 +3,8 @@ project(Peripherals) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=gnu++11 -Wall -Werror -Wextra -pedantic -pthread") +#add_definitions(-DDEBUG) + link_directories(../../Libraries/Drivers/Build) link_directories(../../Libraries/Sockets/Build) include_directories(../../Libraries/Json)