mirror of
https://github.com/eclipse/upm.git
synced 2025-07-03 02:11:15 +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:
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