This commit is contained in:
parent
a9b1758503
commit
ae15a1b7c4
2
.gitignore
vendored
2
.gitignore
vendored
@ -57,3 +57,5 @@ Thumbs.db
|
|||||||
# Dependencies
|
# Dependencies
|
||||||
deps/
|
deps/
|
||||||
vendor/
|
vendor/
|
||||||
|
|
||||||
|
src/version.hpp
|
||||||
|
@ -23,10 +23,9 @@ set(PROJECT_VERSION "${CURRENT_YEAR}.${CURRENT_MONTH}${CURRENT_DAY}.${CURRENT_HO
|
|||||||
string(TIMESTAMP RELEASE_DATE "%Y-%m-%d")
|
string(TIMESTAMP RELEASE_DATE "%Y-%m-%d")
|
||||||
|
|
||||||
# Configure version.hpp file
|
# Configure version.hpp file
|
||||||
configure_file(
|
file(GENERATE
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/src/version.hpp.in"
|
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/src/version.hpp"
|
||||||
"${CMAKE_CURRENT_BINARY_DIR}/src/version.hpp"
|
INPUT "${CMAKE_CURRENT_SOURCE_DIR}/src/version.hpp.in"
|
||||||
@ONLY
|
|
||||||
)
|
)
|
||||||
|
|
||||||
# Set CMAKE_MODULE_PATH to include our custom find modules
|
# Set CMAKE_MODULE_PATH to include our custom find modules
|
||||||
|
Loading…
x
Reference in New Issue
Block a user