Skip to content
Snippets Groups Projects
Commit 6e4ed25d authored by Tomáš Oberhuber's avatar Tomáš Oberhuber
Browse files

Fixed unclosed comment in Assert.h

Added examples to CMakeList.txt.
parent 255c9185
No related branches found
No related tags found
1 merge request!15Nina
...@@ -24,5 +24,11 @@ target_link_libraries( FileExample tnl ) ...@@ -24,5 +24,11 @@ target_link_libraries( FileExample tnl )
ADD_EXECUTABLE( StringExample StringExample.cpp ) ADD_EXECUTABLE( StringExample StringExample.cpp )
target_link_libraries( StringExample tnl ) 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 ) ADD_EXECUTABLE( TimerExample TimerExample.cpp )
target_link_libraries( TimerExample tnl ) target_link_libraries( TimerExample tnl )
\ No newline at end of file
...@@ -103,6 +103,7 @@ ...@@ -103,6 +103,7 @@
* The assertion succeeds if, and only if, ___tnl__assert_condition is valid. * The assertion succeeds if, and only if, ___tnl__assert_condition is valid.
* On success the test continues without any side effects. * On success the test continues without any side effects.
* On failure the test is terminated with the error message \e ___tnl__assert_command. * On failure the test is terminated with the error message \e ___tnl__assert_command.
*/
#define TNL_ASSERT( ___tnl__assert_condition, ___tnl__assert_command ) #define TNL_ASSERT( ___tnl__assert_condition, ___tnl__assert_command )
#else /* #ifdef NDEBUG */ #else /* #ifdef NDEBUG */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment