Illustrated C/C++ source sheets, symbol index, API relationship graph, compiler console and debug trace

LIVE AI / FLEXIBLE SENSING / FLIGHT CONTEXT

Sensoraia API

Live AI and sensing, connected to the flight.
See, listen, inspect and return supported results while airborne.

Loading...
Searching...
No Matches
version.h
Go to the documentation of this file.
1/*
2 * Copyright 2026 OpenUAS
3 * SPDX-License-Identifier: Apache-2.0
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 */
17
18/**
19 * @file version.h
20 * @brief Build-version string exported by the standalone LWIR application.
21 * @details The build may inject LWIRCAM_GIT_SHA and LWIRCAM_APP_VERSION with -D;
22 * the fallbacks keep standalone or out-of-repository compiles working. */
23#ifndef LWIRCAM_BUILD_VERSION_H
24#define LWIRCAM_BUILD_VERSION_H
25#ifndef LWIRCAM_GIT_SHA
26/** @brief Source revision; "unknown" when the build did not provide one. */
27#define LWIRCAM_GIT_SHA "unknown"
28#endif
29#ifndef LWIRCAM_APP_VERSION
30/** @brief Application version used when the build did not provide one. */
31#define LWIRCAM_APP_VERSION "1.0.0"
32#endif
33/** @brief Human-readable identity, e.g. "LWIRcam 1.0.0 (Git unknown)", built by literal concatenation. */
34#define LWIRCAM_BUILD_VERSION "LWIRcam " LWIRCAM_APP_VERSION " (Git " LWIRCAM_GIT_SHA ")"
35#endif