mirror of
https://github.com/eclipse/upm.git
synced 2025-07-02 01:41:12 +03:00
upm_version: Added get version functionality for UPM as provided by MRAA
* Renamed version.c to version.hpp * Updated CMakelist file * Updated upm.i file to support version * Updated/modified src Cmakelists to support base upm and wrapper dependency Signed-off-by: sisinty sasmita patra <sisinty.s.patra@intel.com>
This commit is contained in:
@ -1,4 +0,0 @@
|
||||
#include "version.h"
|
||||
|
||||
const char* gVERSION = "@VERSION@";
|
||||
const char* gVERSION_SHORT = "@VERSION_SHORT@";
|
6
cmake/modules/version.hpp.in
Normal file
6
cmake/modules/version.hpp.in
Normal file
@ -0,0 +1,6 @@
|
||||
#include <string>
|
||||
|
||||
inline std::string getVersion()
|
||||
{
|
||||
return "@upm_VERSION_STRING@";
|
||||
}
|
Reference in New Issue
Block a user