Tags: sccn/liblsl
Tags
Derive project version from git tag The project version was hardcoded in project(VERSION ...) and in LSL_LIBRARY_VERSION, so release assets carried a stale version unless both were bumped by hand. - cmake/ProjectVersion.cmake: derive MAJOR.MINOR.PATCH (plus the full tag incl. pre-release suffix) from the nearest v[0-9]* git tag, with the literal as a fallback for git/tag-less builds and a LSL_VERSION_OVERRIDE escape hatch. - CMakeLists.txt: feed PROJECT_VERSION from the tag; use the full tag for CPACK_PACKAGE_VERSION so pre-release suffixes survive. - src/lsl_version.h.in + TargetObjLib.cmake: generate the version header so lsl_library_version() tracks the release. - CI: fetch-depth: 0 on the build-job checkouts so the tag is visible to git describe (default shallow clone fetches no tags).
PreviousNext