Debian Codegraph @

src/Include/flightgearBuildId.h.cmake-in

raw
1 // SPDX-FileCopyrightText: (C) 2018 James Turner <[email protected]>
2 // SPDX-License-Identifier: GPL-2.0-or-later
3
4 // template file to produce flightgearBuildId.h header
5 // this is produced at build time (not Cmake time) via the special
6 // target defined by GenerateBuildInfo.Cmake
7 // this ensures the info is always up to date, which does not happen
8 // with a simple configure_file command
9 // for more info, see:
10 // https://stackoverflow.com/questions/31057208/force-cmake-to-generate-configure-file-target-every-build
11
12 #define JENKINS_BUILD_NUMBER @JENKINS_BUILD_NUMBER@
13 #define JENKINS_BUILD_ID "@JENKINS_BUILD_ID@"
14 #define REVISION "@REVISION@"
15 #define BUILD_MONTH "@CURRENT_YEAR_MONTH@"