From 8fd933905ac3a6cc2f4ebebb732c1b62a6406b71 Mon Sep 17 00:00:00 2001 From: Hayley Date: Wed, 10 Jul 2019 13:01:56 -0500 Subject: [PATCH] Added the Debug configuration This configuration causes a stack smash error; however, this configuration does not build in Eclipse --- DSP_API/CMakeLists.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/DSP_API/CMakeLists.txt b/DSP_API/CMakeLists.txt index 80c2919..7a12ac7 100644 --- a/DSP_API/CMakeLists.txt +++ b/DSP_API/CMakeLists.txt @@ -78,6 +78,23 @@ elseif(CMAKE_BUILD_TYPE MATCHES ThumbDV_Debug) -MP -MF ) +elseif(CMAKE_BUILD_TYPE MATCHES Debug) + target_compile_options(thumbdv PRIVATE + -O0 + -ftree-vectorize + -g3 + -ggdb + -g3 + -fstack-protector-all + -funwind-tables + -Wall + -c + -fmessage-length=0 + -lpthread + -MMD + -MP + -MF + ) endif()