This commit is contained in:
parent
a9b1758503
commit
ae15a1b7c4
4
.gitignore
vendored
4
.gitignore
vendored
@ -56,4 +56,6 @@ Thumbs.db
|
||||
|
||||
# Dependencies
|
||||
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")
|
||||
|
||||
# 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
|
||||
|
@ -12,4 +12,4 @@ const std::string RELEASE_DATE = "NEVER";
|
||||
const std::string AUTHOR = "j842";
|
||||
const std::string LICENSE = "MIT";
|
||||
|
||||
} // namespace dropshell
|
||||
} // namespace dropshell
|
||||
|
Loading…
x
Reference in New Issue
Block a user