Multiple implementations of the same back-end application. The aim is to provide quick, side-by-side comparisons of different technologies (languages, frameworks, libraries) while preserving consistent business logic across all implementations.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

21 lines
567 B

#ifndef VERSION_H_IN
#define VERSION_H_IN
#include <string>
namespace nxl {
static constexpr int VERSION_MAJOR = ${PROJECT_VERSION_MAJOR};
static constexpr int VERSION_MINOR = ${PROJECT_VERSION_MINOR};
static constexpr int VERSION_PATCH = ${PROJECT_VERSION_PATCH};
static constexpr char VERSION_SUFFIX[] = "${PROJECT_VERSION_SUFFIX}";
inline std::string getVersionString()
{
return std::to_string(VERSION_MAJOR) + "." + std::to_string(VERSION_MINOR)
+ "." + std::to_string(VERSION_PATCH) + VERSION_SUFFIX;
}
} // namespace nxl
#endif // VERSION_H_IN