diff options
author | Mauro Sardara <msardara+fdio@cisco.com> | 2017-10-17 15:17:50 +0200 |
---|---|---|
committer | Mauro Sardara <msardara+fdio@cisco.com> | 2017-10-17 15:17:50 +0200 |
commit | 49ff69a0c3f33b03b2ebaac9098d6e8c88a5e8b6 (patch) | |
tree | c2456ef04112400ad23d739fce75109685de0378 /libparc | |
parent | 40418e3e4261cad4cb57b7b40e46bf2fdbf8c77b (diff) |
Removing LongBow asserts in release build.
Change-Id: Ia554a5f2bbf6e226652b93dfb6ae2a9f072003cc
Signed-off-by: Mauro Sardara <msardara+fdio@cisco.com>
Diffstat (limited to 'libparc')
-rw-r--r-- | libparc/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libparc/CMakeLists.txt b/libparc/CMakeLists.txt index defa060a..b3ebc2aa 100644 --- a/libparc/CMakeLists.txt +++ b/libparc/CMakeLists.txt @@ -35,7 +35,7 @@ else() endif() set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} ${CMAKE_C_FLAGS}") -set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} ${CMAKE_C_FLAGS} -DPARCLibrary_DISABLE_VALIDATION") +set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} ${CMAKE_C_FLAGS} -DPARCLibrary_DISABLE_VALIDATION -DLongBow_DISABLE_ASSERTIONS") set(CMAKE_C_FLAGS_RELWITHDEBINFO "${CMAKE_C_FLAGS_RELWITHDEBINFO} ${CMAKE_C_FLAGS}") set(CMAKE_C_FLAGS_MINSIZEREL "${CMAKE_C_FLAGS_MINSIZEREL} ${CMAKE_C_FLAGS}") @@ -84,7 +84,7 @@ if (ANDROID_API) message("Android build: Skipping test ${ARGV0}") endmacro(AddTest) elseif(COMPILE_FOR_IOS) - macro(AddTest testFile) + macro(AddTest testFile) message("iOS build: Skipping test ${ARGV0}") endmacro(AddTest) else() |