-
Notifications
You must be signed in to change notification settings - Fork 97
ESD-2176 windows dll update #1069
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
Changes from all commits
fd1cac5
c7340d2
3c738db
e402c3f
6d8f119
0693f87
4df1147
499176a
582dc9f
4544b60
d190d4e
83e14ed
960587f
1f127be
20a6284
6f0ac79
66eba57
6dc6404
c2e9ac6
642d3bc
7b5d442
62c7424
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| cmake_minimum_required(VERSION 3.2) | ||
| cmake_minimum_required(VERSION 3.12) | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Needed to up this number because here you can see that this feature only worked for C++ until until 3.12 when C was also introduce. |
||
| project(libsbp C CXX) | ||
|
|
||
| set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/cmake" "${CMAKE_CURRENT_LIST_DIR}/cmake/common") | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -13,11 +13,12 @@ | |
| #ifndef SBP_CPP_MESSAGE_HANDLER_H_ | ||
| #define SBP_CPP_MESSAGE_HANDLER_H_ | ||
|
|
||
| #include <cassert> | ||
| #include <array> | ||
| #include <cassert> | ||
| #include <cstddef> | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. added this in since down below we used |
||
|
|
||
| #include <libsbp/cpp/state.h> | ||
| #include <libsbp/cpp/message_traits.h> | ||
| #include <libsbp/cpp/state.h> | ||
|
|
||
| namespace sbp { | ||
|
|
||
|
|
@@ -145,7 +146,7 @@ class CallbackInterface<MsgType> { | |
| * @tparam MsgTypes List of SBP message types to register callbacks for | ||
| */ | ||
| template<typename... MsgTypes> | ||
| class MessageHandler : public details::CallbackInterface<MsgTypes...> { | ||
| class MessageHandler : public details::CallbackInterface<MsgTypes...> { | ||
| static constexpr size_t kMsgCount = sizeof...(MsgTypes); | ||
|
|
||
| State &state_; | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.
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.
I've applied the DRY principle here and removed the
gcc6-releaseandclang6-*jobs and replaced them with "strategy matrix". This matrix will create 7 jobs (would have been 8 but I've excluded 1 since its already being build by theCode Coveragejobs above). I've also applied the same idea with Mingw and VS 2019.I also made sure that the updated build now follow the Configure/Build/Test/Install workflow.
Also as part of this change, I've also fixed up the fact that
gcc6-releasejob wasn't actually building for GCC 6, it was actually using the system version which was GCC 7.