From bc3c7c7190c5acaeb03ef82dc41cc716aaff76c6 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Thu, 2 Mar 2023 22:56:06 +0100 Subject: add runtime version information --- project/ci/cmake.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'project/ci/cmake.py') diff --git a/project/ci/cmake.py b/project/ci/cmake.py index 1f49f78..13929f7 100644 --- a/project/ci/cmake.py +++ b/project/ci/cmake.py @@ -10,6 +10,7 @@ import sys from project.ci.dirs import Dirs from project.cmake.build import BuildParameters, build from project.utils import setup_logging +import project.version def _parse_args(argv=None): @@ -20,6 +21,8 @@ def _parse_args(argv=None): description=Dirs.get_cmake_help(), formatter_class=argparse.RawDescriptionHelpFormatter) + project.version.add_to_arg_parser(parser) + # The hint parameter is basically a workaround for when this is run on a # CI, _but_ testing another CI is desired. This shouldn't be used in a # real CI workflow. -- cgit v1.2.3