Files
open-amp/lib/version.h.in
T
Arnaud Pouliquen 7088ba5dd7 version: add generated define for version
For memory footprint reason it can be useful for applications
to use defines during the build pre-processing step.

Add a generated version_def.h file that will be accessible in the
the install directory ./build/bin/usr/local/include/openamp/.

Application will be able to use the version.h or the version_def.h
depending on its need.

Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>
2021-04-26 16:06:20 +02:00

23 lines
569 B
C

/*
* Copyright (c) 2021, STMicroelectronics.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
/*
* @file version_def.h
* @brief generated version definition for OpenAMP library.
*/
#ifndef __OPENAMP_VERSION_DEF__H__
#define __OPENAMP_VERSION_DEF__H__
/* @templates@ values come from cmake/option.cmake */
#define OPENAMP_VERSION_MAJOR @PROJECT_VERSION_MAJOR@
#define OPENAMP_VERSION_MINOR @PROJECT_VERSION_MINOR@
#define OPENAMP_VERSION_PATCH @PROJECT_VERSION_PATCH@
#define OPENAMP_VERSION "@PROJECT_VERSION@"
#endif /* __OPENAMP_VERSION_DEF__H__ */