forked from OSchip/llvm-project
Remove gitconfig.h.cmake
It is just one line which can be better generated in the CMakeLists.txt itself, just as ISL's configure does. Reviewers: grosser llvm-svn: 242771
This commit is contained in:
parent
bf5a711e96
commit
d2bb9a3a31
|
@ -140,7 +140,12 @@ if (NOT HAVE_DECL_SNPRINTF AND NOT HAVE_DECL__SNPRINTF)
|
|||
endif ()
|
||||
|
||||
# Write configure result
|
||||
configure_file("External/gitversion.h.cmake" "${ISL_BINARY_DIR}/gitversion.h")
|
||||
# configure_file(... COPYONLY) avoids that the time stamp changes if the file is identical
|
||||
file(WRITE "${ISL_BINARY_DIR}/gitversion.h.tmp"
|
||||
"#define GIT_HEAD_ID \"${GIT_HEAD_ID}\"")
|
||||
configure_file("${ISL_BINARY_DIR}/gitversion.h.tmp"
|
||||
"${ISL_BINARY_DIR}/gitversion.h" COPYONLY)
|
||||
|
||||
configure_file("External/isl_config.h.cmake" "${ISL_BINARY_DIR}/isl_config.h")
|
||||
|
||||
# ISL files to compile
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
#define GIT_HEAD_ID "@GIT_HEAD_ID@"
|
Loading…
Reference in New Issue