From 95f1b293278529955c0bc0c29524ab979c4ce847 Mon Sep 17 00:00:00 2001 From: Mauro Sardara Date: Mon, 10 Apr 2017 12:54:43 +0200 Subject: Updating longbow CMakeLists enabling assertions by default Change-Id: Iab8d879d291511a2007e24696d4e3171329a2fe4 Signed-off-by: Mauro Sardara --- longbow/CMakeLists.txt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'longbow/CMakeLists.txt') diff --git a/longbow/CMakeLists.txt b/longbow/CMakeLists.txt index b899dfd5..61572ba7 100644 --- a/longbow/CMakeLists.txt +++ b/longbow/CMakeLists.txt @@ -24,9 +24,6 @@ execute_process(COMMAND date -u +%Y-%m-%dT%H:%M:%SZ MESSAGE( STATUS "Configuring version ${RELEASE_VERSION}" ) add_definitions("-DRELEASE_VERSION=\"${RELEASE_VERSION}\"") -#set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -O3") - -#set(CMAKE_C_FLAGS_NOPANTS "${CMAKE_C_FLAGS_NOPANTS} -O3 -DNDEBUG -DLongBow_DISABLE_ASSERTIONS") find_package( Doxygen ) find_package( Uncrustify ) @@ -62,7 +59,7 @@ if(ANDROID_API) add_subdirectory(src) else() - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O3 -DNDEBUG -DLongBow_DISABLE_ASSERTIONS -D_GNU_SOURCE") + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O3 -D_GNU_SOURCE") macro(AddTest testFile) add_executable(${ARGV0} ${ARGV0}.c) target_link_libraries(${ARGV0} ${PARC_BIN_LIBRARIES}) -- cgit 1.2.3-korg