Skip to content

Comments

Feature/version info#112

Closed
adragnevVW wants to merge 5 commits intomasterfrom
Feature/Version-Info
Closed

Feature/version info#112
adragnevVW wants to merge 5 commits intomasterfrom
Feature/Version-Info

Conversation

@adragnevVW
Copy link
Collaborator

Implementing #110

@adragnevVW adragnevVW self-assigned this Jul 30, 2025
@adragnevVW adragnevVW added the Waiting for Review PULLREQUEST is waiting for review label Jul 30, 2025
@adragnevVW adragnevVW linked an issue Jul 30, 2025 that may be closed by this pull request
#pragma warning( disable : 4800)
#endif // _WINDOWS

#ifndef LIB_VERSION_MAJOR
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you sure about it? From my point of view, this version should be defined in library source code and not over build system. We sharing source code and for example at MA we use our own scripts for building library.

In the end of the day source code of library should define a version and not a build system, otherwise you can have different implementation with same version,

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @AndriiVoitenko,
I think you are right also, but I think building the lib using the Github action is much more easier and cleaner. Something that we can to is to add a documentation how to build the lib easy manual. This is something that we can discuss more.

Copy link
Collaborator

@AndriiVoitenko AndriiVoitenko Aug 13, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @adragnevVW,

you understand, that currently you defined same information in 3 different places. With this changes, if you need to change version, you need to change 3 yaml files. And semantic version rules are applied to the source code and are independent from build system.

You are right, building library with a yml file is pretty simple, if you build only library, but if you need to integrate it into a product and build this library over the product tool chain, then it will be not so easy.

By the way, check your ubuntu yml file:
image

and xerces is not needed at least for linux implementation.

@adragnevVW adragnevVW mentioned this pull request Aug 11, 2025
@ILane-VW ILane-VW closed this Oct 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Waiting for Review PULLREQUEST is waiting for review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Lib should return which version is

3 participants