Merged
Conversation
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This pull request introduces versioning support to the GhostMem library, updates the project version to 0.8.0, and surfaces version information both in the build system and at runtime. It also adds corresponding tests to ensure version information is correctly reported.
Versioning support and visibility:
src/ghostmem/Version.hthat defines version constants, version string, and provides helper functions to query the GhostMem version at runtime.src/main.cppto display the GhostMem version string at program startup using the new version helper functions.Build system and packaging updates:
CMakeLists.txtfrom 1.0 to 0.8.0, includedVersion.has a header, and set up CMake to define version macros for both static and shared libraries. Also, set shared library version properties for proper packaging. [1] [2]tests/test_version.cppto verify version constants, string, and integer encoding. Registered this test in the build system. [1] [2]Documentation:
README.mdto prominently display the new version number at the top.