Skip to content

[build] Requesting readable raylib version file in source releases #2868

@orcmid

Description

@orcmid

This Feature request is inspired by Pull Request #2856.

It would be very hand for the raylib\ source-code folder to carry an identification of the release that is installed. This is different than preprocessor definition. It would be something visible in a file browser and also usable in scripts.

My one thought is a text file or even a file name that reflects the version. I am also thinking that scripts for setting one [or more] environment variable. A *.bat and a *.sh should cover the bases. I'm uncertain what would be helpful in CMake or plain make variations, so have no proposal about that.

The main branch on GitHub could carry a *-dev version identifier.

I have run across this situation while initiating a VCrayVerify sub-project to run through raylib\ examples and realizing that there are breaking changes to be worked around among raylib releases and work-in-progress. There can be breakage in the examples as well, of course, and I want a way to show what raylib version is being used in the output of VCrayVerify operations.

I could handle this manually of course, but I think a solution in the releases and main would be more helpful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions