Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tnl-dev
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
TNL
tnl-dev
Commits
6e4ed25d
There was an error fetching the commit references. Please try again later.
Commit
6e4ed25d
authored
6 years ago
by
Tomáš Oberhuber
Browse files
Options
Downloads
Patches
Plain Diff
Fixed unclosed comment in Assert.h
Added examples to CMakeList.txt.
parent
255c9185
No related branches found
No related tags found
1 merge request
!15
Nina
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/Examples/CMakeLists.txt
+6
-0
6 additions, 0 deletions
src/Examples/CMakeLists.txt
src/TNL/Assert.h
+1
-0
1 addition, 0 deletions
src/TNL/Assert.h
with
7 additions
and
0 deletions
src/Examples/CMakeLists.txt
+
6
−
0
View file @
6e4ed25d
...
@@ -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
This diff is collapsed.
Click to expand it.
src/TNL/Assert.h
+
1
−
0
View file @
6e4ed25d
...
@@ -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 */
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment