-
-
Notifications
You must be signed in to change notification settings - Fork 209
245 switch to cavl2 #250
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
245 switch to cavl2 #250
Conversation
65af23f to
8625b28
Compare
aa59dda to
098a550
Compare
4e2a001 to
ac4f382
Compare
0a28819 to
41ec76d
Compare
95b8d92 to
26f8f86
Compare
9e82af1 to
ecfd769
Compare
ecfd769 to
482c9b0
Compare
pavel-kirienko
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What #245 was trying to say is that cavl2 should no longer be vendored as part of libcanard itself, but rather it has to be provided by the user. One practical implication is that we need to remove it from the libcanard directory, and place it instead somewhere under lib/cavl2/cavl2.h (should it be a git submodule? probably not), which will then be added as a system include directory. Using a blanket -system for the entire libcanard directory is harmful because it will squelch bona fide warnings from the compiler concerning libcanard's own header.
Direct compiler invocations in the CI script will need to be updated accordingly.
|
Also, see if you can use |
pavel-kirienko
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1234c96 to
801b2d8
Compare
801b2d8 to
e7154c7
Compare
pavel-kirienko
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please address the remaining minor issues and then merge.
tests/CMakeLists.txt
Outdated
| include_directories(${library_dir}) | ||
| include_directories(SYSTEM catch) | ||
| include_directories(SYSTEM ${CMAKE_SOURCE_DIR}/../lib/cavl2) | ||
| include_directories(${CMAKE_SOURCE_DIR}/../libcanard) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Redundant; we already have include_directories(${library_dir}) on line 71
|




closes #245