.
Some checks failed
Dropshell Test / Build_and_Test (push) Has been cancelled

This commit is contained in:
Your Name 2025-05-13 20:56:39 +12:00
parent a9b1758503
commit ae15a1b7c4
3 changed files with 7 additions and 6 deletions

2
.gitignore vendored
View File

@ -57,3 +57,5 @@ Thumbs.db
# Dependencies
deps/
vendor/
src/version.hpp

View File

@ -23,10 +23,9 @@ set(PROJECT_VERSION "${CURRENT_YEAR}.${CURRENT_MONTH}${CURRENT_DAY}.${CURRENT_HO
string(TIMESTAMP RELEASE_DATE "%Y-%m-%d")
# Configure version.hpp file
configure_file(
"${CMAKE_CURRENT_SOURCE_DIR}/src/version.hpp.in"
"${CMAKE_CURRENT_BINARY_DIR}/src/version.hpp"
@ONLY
file(GENERATE
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/src/version.hpp"
INPUT "${CMAKE_CURRENT_SOURCE_DIR}/src/version.hpp.in"
)
# Set CMAKE_MODULE_PATH to include our custom find modules