mirror of
https://github.com/OpenAMP/open-amp.git
synced 2026-10-02 18:23:21 +08:00
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>
23 lines
569 B
C
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__ */
|