fix *.in files being mistakenly ignored by git, fixed missing cmake.hpp.in

This commit is contained in:
Nicole O'Connor 2023-06-30 17:18:19 -07:00
parent aec4d311b6
commit d7c50a1941
2 changed files with 5 additions and 1 deletions

1
.gitignore vendored
View File

@ -1,4 +1,3 @@
*.in
*.o *.o
*.so *.so
*/.deps */.deps

5
include/cmake.hpp.in Executable file
View File

@ -0,0 +1,5 @@
#pragma once
#cmakedefine IS_GIT_REPO "@IS_GIT_REPO@"
#cmakedefine GIT_COMMIT_HASH "@GIT_COMMIT_HASH@"
#cmakedefine GIT_BRANCH "@GIT_BRANCH@"