-
Notifications
You must be signed in to change notification settings - Fork 4
Handle versioning and install #14
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
Merged
Merged
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
6d56023
Handle versioning
Hind-M a3b35d4
Add static_assert
Hind-M 208d310
Handle install
Hind-M 8de92d0
Fix install
Hind-M bb55540
Fix again
Hind-M 304af16
Change version
Hind-M f39172f
Add install job
Hind-M df3b076
Add sparrow-ipcConfig.cmake.in in conanfile.py
Hind-M ffe5718
Remove redundancy
Hind-M fbcb7ad
Fix path
Hind-M d9bbc7f
Export flatbuffers explicitly
Hind-M ca8093f
Add condition
Hind-M 52c062d
Export ProjectConfig
Hind-M 7f999f3
Fix unix syntax and add config to win install
Hind-M befc847
Add sudo to install when from source
Hind-M a1fcec3
Add missing config to windows and arg to docs workflow
Hind-M 6a5bfba
Add nlohmann_json in env file
Hind-M File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,21 @@ | ||
| #define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN | ||
|
|
||
| #include <string> | ||
|
|
||
| #include "doctest/doctest.h" | ||
|
|
||
| //TODO check version? | ||
| #include "sparrow_ipc/config/sparrow_ipc_version.hpp" | ||
|
|
||
| TEST_CASE("versions exist and are readable") | ||
| { | ||
| using namespace sparrow_ipc; | ||
| [[maybe_unused]] const std::string printable_version = std::string("sparrow-ipc version: ") | ||
| + std::to_string(SPARROW_IPC_VERSION_MAJOR) + "." | ||
| + std::to_string(SPARROW_IPC_VERSION_MINOR) + "." | ||
| + std::to_string(SPARROW_IPC_VERSION_PATCH); | ||
|
|
||
| [[maybe_unused]] const std::string printable_binary_version = std::string("sparrow-ipc binary version: ") | ||
| + std::to_string(SPARROW_IPC_BINARY_CURRENT) + "." | ||
| + std::to_string(SPARROW_IPC_BINARY_REVISION) + "." | ||
| + std::to_string(SPARROW_IPC_BINARY_AGE); | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Do we need this ?
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.
Well this is mirroring what's on sparrow and seems legit, don't we need it?
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 don't think we need it
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.
Actually I thought you were talking about the exclude pattern but if you were referring to the headers install, yes we need it.