Skip to content
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

Add versioning #74

Closed
MCWertGaming opened this issue Feb 12, 2021 · 2 comments
Closed

Add versioning #74

MCWertGaming opened this issue Feb 12, 2021 · 2 comments

Comments

@MCWertGaming
Copy link
Collaborator

Adding versioning to cpp-terminal would allow developers depending on cpp-terminal to depend on a specific version of cpp-terminal and don't have to fear their applications to be broken by breaking changes for example.
This would include using the VERSION variable in cmake and providing a dedicated header cmake will generate and the creation of git tags (like on every pull-request merge).

@MCWertGaming
Copy link
Collaborator Author

Would it be better to provide the version inside something like cpp-terminal/info.h or rather a info.h inside of the root folder to store the project version number. CMake will create a simple macro you can use to something like print the version inside of your application, if you want to do that.

@certik
Copy link
Collaborator

certik commented Feb 12, 2021

You can create cpp-terminal/version.h and fill it with CMake.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants