OpenFPGA/libs/libvtrutil/src/vtr_version.cpp.in

21 lines
800 B
C++

#include "vtr_version.h"
//This file is automatically processed by CMAKE and replaces
//the values between ampersand's with the releveant CMAKE variable
//before being compiled.
namespace vtr {
const char* VERSION = "@VTR_VERSION@";
const char* VERSION_SHORT = "@VTR_VERSION_SHORT@";
const size_t VERSION_MAJOR = @VTR_VERSION_MAJOR@;
const size_t VERSION_MINOR = @VTR_VERSION_MINOR@;
const size_t VERSION_PATCH = @VTR_VERSION_PATCH@;
const char* VERSION_PRERELEASE = "@VTR_VERSION_PRERELEASE@";
const char* VCS_REVISION = "@VTR_VCS_REVISION@";
const char* VCS_REVISION_SHORT = "@VTR_VCS_REVISION_SHORT@";
const char* COMPILER = "@VTR_COMPILER_INFO@";
const char* BUILD_TIMESTAMP = "@VTR_BUILD_TIMESTAMP@";
const char* BUILD_INFO = "@VTR_BUILD_INFO@";
}