|
@@ -43,6 +43,7 @@ set(SRC_TESTS
|
|
"test/modules/ReadLineTests.c"
|
|
"test/modules/ReadLineTests.c"
|
|
"test/modules/RingBufferTests.c"
|
|
"test/modules/RingBufferTests.c"
|
|
"test/modules/SpinLockTests.c"
|
|
"test/modules/SpinLockTests.c"
|
|
|
|
+ "test/modules/TestTests.c"
|
|
"test/modules/UtilityTests.c"
|
|
"test/modules/UtilityTests.c"
|
|
"test/modules/VectorTests.c"
|
|
"test/modules/VectorTests.c"
|
|
"test/modules/ViewTests.c"
|
|
"test/modules/ViewTests.c"
|
|
@@ -56,7 +57,7 @@ if("${CMAKE_BUILD_TYPE}" STREQUAL "Release")
|
|
set(COMPILE_OPTIONS "")
|
|
set(COMPILE_OPTIONS "")
|
|
set(LINK_OPTIONS "")
|
|
set(LINK_OPTIONS "")
|
|
set(LOG_LEVEL 2)
|
|
set(LOG_LEVEL 2)
|
|
- set(DEFINITIONS "")
|
|
|
|
|
|
+ set(DEFINITIONS CORE_CHECK_MEMORY)
|
|
else()
|
|
else()
|
|
set(DEFINITIONS ERROR_SIMULATOR CORE_CHECK_MEMORY)
|
|
set(DEFINITIONS ERROR_SIMULATOR CORE_CHECK_MEMORY)
|
|
if(CMAKE_C_COMPILER_ID STREQUAL "GNU")
|
|
if(CMAKE_C_COMPILER_ID STREQUAL "GNU")
|