Skip to content
Snippets Groups Projects
Commit dfaee35f authored by Stéphane Del Pino's avatar Stéphane Del Pino
Browse files

Clean-up

parent c85375c3
No related branches found
No related tags found
No related merge requests found
......@@ -36,13 +36,8 @@ include(GetGitRevisionDescription)
get_git_head_revision(GITREV GITHASH)
git_local_changes(GITHASLOCALCHANGES)
message("git rev ${GITREV} : ${GITHASH} (${GITHASLOCALCHANGES})")
#file(WRITE "${CMAKE_BINARY_DIR}/git_revision.hpp.in" "#define GITREV \"${GITREV}\"\n")
#file(APPEND "${CMAKE_BINARY_DIR}/git_revision.hpp.in" "#define GITHASH \"${GITHASH}\"\n")
#file(APPEND "${CMAKE_BINARY_DIR}/git_revision.hpp.in" "#define GITHASLOCALCHANGES \"${GITHASLOCALCHANGES}\"\n")
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/git_revision.hpp.in" "${CMAKE_CURRENT_BINARY_DIR}/git_revision.hpp")
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/git_revision.hpp.in" "${CMAKE_CURRENT_BINARY_DIR}/git_revision.hpp" @ONLY)
list(APPEND SOURCES git_revision.hpp)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment