gitversion icon indicating copy to clipboard operation
gitversion copied to clipboard

Automatically create C++ headers containing version information like the current git tag

Results 11 gitversion issues
Sort by recently updated
recently updated
newest added

I propose this change as this is annoying. When _CREATE_GIT_VERSION_FILE is triggered it creates a new version.h that is newer then previous version.h and that causes recompilation of every executable...

Ubuntu does not have python but python3 by default.

On windows 10 had issue with parsing on [line](https://github.com/smessmer/gitversion/blob/85c2cbb339a207fe61da9f062e2f0e38056e7711/src/gitversionbuilder/versioninforeader.py#L94) for string "before_fw_simulator_major_refactoring-361-gafb3df8" After fixing to below regex, script ran ok Please consider to update matched = re.match("^([a-zA-Z0-9\.\-\/_]+)-([0-9]+)-g([0-9a-f]+)$", git_version_string)

In versioninforeader.py change line 42 from ` with open('/dev/null', 'w') as devnull: ` ` with open(os.devnull, 'w') as devnull: `

The headers generated for the git version information got inserted into every cmake step. The only place where they are required is the BUILD_INTERFACE. This interferes with the idea of...

- find python interpreter with find_package() - added windows compatibility

…tion run. Therefore running CMake is not required to be run again to get the current version information.

What is the purpose of the auto generated file DummyVersion,py? I am trying to integrate this code into my project, but am trying to avoid using unneeded files. Is it...