diff options
author | Mauro Sardara <msardara+fdio@cisco.com> | 2017-04-10 12:54:43 +0200 |
---|---|---|
committer | Mauro Sardara <msardara+fdio@cisco.com> | 2017-04-10 12:54:43 +0200 |
commit | 95f1b293278529955c0bc0c29524ab979c4ce847 (patch) | |
tree | b7492991f6044864de7208462b529f153be55dde /longbow/CMakeLists.txt | |
parent | 3567e965b790d36ee9faa8a2423886afa0060421 (diff) |
Updating longbow CMakeLists enabling assertions by defaultLongbow-v1.0Libparc-v1.0
Change-Id: Iab8d879d291511a2007e24696d4e3171329a2fe4
Signed-off-by: Mauro Sardara <msardara+fdio@cisco.com>
Diffstat (limited to 'longbow/CMakeLists.txt')
-rw-r--r-- | longbow/CMakeLists.txt | 5 |
1 files changed, 1 insertions, 4 deletions
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}) |