Skip to content
Snippets Groups Projects
Commit 46178b10 authored by Mateusz Gniewkowski's avatar Mateusz Gniewkowski
Browse files

version.h

parent 1c0d14ed
No related branches found
No related tags found
No related merge requests found
Pipeline #1783 passed
...@@ -10,8 +10,6 @@ set(pwrutils_ver_patch "1") ...@@ -10,8 +10,6 @@ set(pwrutils_ver_patch "1")
set(LIBPWRUTILS_VERSION set(LIBPWRUTILS_VERSION
"${pwrutils_ver_major}.${pwrutils_ver_minor}.${pwrutils_ver_patch}") "${pwrutils_ver_major}.${pwrutils_ver_minor}.${pwrutils_ver_patch}")
configure_file(include/libpwrutils/version.h include/libpwrutils/version.h @ONLY)
include_directories(${CMAKE_CURRENT_BINARY_DIR}) include_directories(${CMAKE_CURRENT_BINARY_DIR})
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include) include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include)
add_definitions(-DHAVE_VERSION_H) add_definitions(-DHAVE_VERSION_H)
......
#ifndef LIBPWRUTILS_VERSION_H #ifndef LIBPWRUTILS_VERSION_H
#define LIBPWRUTILS_VERSION_H #define LIBPWRUTILS_VERSION_H
#define LIBPWRUTILS_VERSION_MAJOR @pwrutils_ver_major@ #define LIBPWRUTILS_VERSION_MAJOR 1
#define LIBPWRUTILS_VERSION_MINOR @pwrutils_ver_minor@ #define LIBPWRUTILS_VERSION_MINOR 0
#define LIBPWRUTILS_VERSION_PATCH @pwrutils_ver_patch@ #define LIBPWRUTILS_VERSION_PATCH 1
#define LIBPWRUTILS_VERSION "@LIBPWRUTILS_VERSION@" #define LIBPWRUTILS_VERSION "1.0.1"
#endif #endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment