mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-23 01:59:43 +01:00
c64fd89325
YOLO. This is a repeat of #642. As before, I just did rg -l '\t' | xargs -n 1 sed -i -e 's/\t/ /g' inside the desktop_version/ folder.
19 lines
574 B
CMake
19 lines
574 B
CMake
# Expects INPUT_FILE and OUTPUT_FILE to be defined
|
|
|
|
# Get interim commit and date of commit
|
|
EXECUTE_PROCESS(
|
|
COMMAND "${GIT_EXECUTABLE}" log -1 --format=%h
|
|
OUTPUT_VARIABLE INTERIM_COMMIT
|
|
OUTPUT_STRIP_TRAILING_WHITESPACE
|
|
)
|
|
|
|
EXECUTE_PROCESS(
|
|
COMMAND "${GIT_EXECUTABLE}" log -1 --format=%cs
|
|
OUTPUT_VARIABLE COMMIT_DATE
|
|
OUTPUT_STRIP_TRAILING_WHITESPACE
|
|
)
|
|
|
|
MESSAGE(STATUS "This is interim commit ${INTERIM_COMMIT} (committed ${COMMIT_DATE})")
|
|
|
|
# Take the template file and replace the macros with what we have
|
|
CONFIGURE_FILE(${INPUT_FILE} ${OUTPUT_FILE})
|