1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
/*############################################################################
# Copyright (C) 2005 Intel Corporation
#
# SPDX-License-Identifier: MIT
############################################################################*/
#pragma once
#include "sample_defs.h"
#ifndef TOOLS_VERSION_MAJOR
#define TOOLS_VERSION_MAJOR 0
#endif
#ifndef TOOLS_VERSION_MINOR
#define TOOLS_VERSION_MINOR 0
#endif
#ifndef TOOLS_VERSION_PATCH
#define TOOLS_VERSION_PATCH 0
#endif
static std::string GetToolVersion() {
std::stringstream ss;
ss << TOOLS_VERSION_MAJOR << "." << TOOLS_VERSION_MINOR << "." << TOOLS_VERSION_PATCH;
return ss.str();
}
|