Commit 6a67208d by Maarten L. Hekkelman

date in revision file

parent 139f32c3
...@@ -117,6 +117,7 @@ endif() ...@@ -117,6 +117,7 @@ endif()
# generate version.h # generate version.h
include_directories(${CMAKE_BINARY_DIR}) include_directories(${CMAKE_BINARY_DIR})
string(TIMESTAMP BUILD_DATE_TIME "%Y-%m-%dT%H:%M:%SZ" UTC)
configure_file("${CMAKE_SOURCE_DIR}/src/revision.hpp.in" "${CMAKE_BINARY_DIR}/revision.hpp" @ONLY) configure_file("${CMAKE_SOURCE_DIR}/src/revision.hpp.in" "${CMAKE_BINARY_DIR}/revision.hpp" @ONLY)
# Sources # Sources
......
const char kRevision[] = R"( const char kRevision[] = R"(
libzeep-version: @PROJECT_VERSION@ libzeep-version: @PROJECT_VERSION@
@BUILD_VERSION_STRING@ @BUILD_VERSION_STRING@
Date: @BUILD_DATE_TIME@
)"; )";
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment