Loading src/Examples/CMakeLists.txt +6 −0 Original line number Diff line number Diff line Loading @@ -24,5 +24,11 @@ target_link_libraries( FileExample tnl ) ADD_EXECUTABLE( StringExample StringExample.cpp ) target_link_libraries( StringExample tnl ) ADD_EXECUTABLE( StringExampleGetSize StringExampleGetSize.cpp ) target_link_libraries( StringExampleGetSize tnl ) ADD_EXECUTABLE( StringExampleGetAllocatedSize StringExampleGetAllocatedSize.cpp ) target_link_libraries( StringExampleGetAllocatedSize tnl ) ADD_EXECUTABLE( TimerExample TimerExample.cpp ) target_link_libraries( TimerExample tnl ) No newline at end of file src/TNL/Assert.h +1 −0 Original line number Diff line number Diff line Loading @@ -103,6 +103,7 @@ * The assertion succeeds if, and only if, ___tnl__assert_condition is valid. * On success the test continues without any side effects. * On failure the test is terminated with the error message \e ___tnl__assert_command. */ #define TNL_ASSERT( ___tnl__assert_condition, ___tnl__assert_command ) #else /* #ifdef NDEBUG */ Loading Loading
src/Examples/CMakeLists.txt +6 −0 Original line number Diff line number Diff line Loading @@ -24,5 +24,11 @@ target_link_libraries( FileExample tnl ) ADD_EXECUTABLE( StringExample StringExample.cpp ) target_link_libraries( StringExample tnl ) ADD_EXECUTABLE( StringExampleGetSize StringExampleGetSize.cpp ) target_link_libraries( StringExampleGetSize tnl ) ADD_EXECUTABLE( StringExampleGetAllocatedSize StringExampleGetAllocatedSize.cpp ) target_link_libraries( StringExampleGetAllocatedSize tnl ) ADD_EXECUTABLE( TimerExample TimerExample.cpp ) target_link_libraries( TimerExample tnl ) No newline at end of file
src/TNL/Assert.h +1 −0 Original line number Diff line number Diff line Loading @@ -103,6 +103,7 @@ * The assertion succeeds if, and only if, ___tnl__assert_condition is valid. * On success the test continues without any side effects. * On failure the test is terminated with the error message \e ___tnl__assert_command. */ #define TNL_ASSERT( ___tnl__assert_condition, ___tnl__assert_command ) #else /* #ifdef NDEBUG */ Loading