projects
/
oweals
/
minetest.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote branch 'origin/master'
[oweals/minetest.git]
/
cmake
/
Modules
/
misc.cmake
diff --git
a/cmake/Modules/misc.cmake
b/cmake/Modules/misc.cmake
index 61a7d140780a2b1a167959c265b50e90aa63a21b..0bd2e3fcebe6e0e0bfcd70b759285b45b05d67d8 100644
(file)
--- a/
cmake/Modules/misc.cmake
+++ b/
cmake/Modules/misc.cmake
@@
-1,3
+1,9
@@
+#
+# Random macros
+#
+
+# Not used ATM
+
MACRO (GETDATETIME RESULT)
IF (WIN32)
EXECUTE_PROCESS(COMMAND "cmd" /C echo %date% %time% OUTPUT_VARIABLE ${RESULT})
MACRO (GETDATETIME RESULT)
IF (WIN32)
EXECUTE_PROCESS(COMMAND "cmd" /C echo %date% %time% OUTPUT_VARIABLE ${RESULT})
@@
-11,6
+17,5
@@
MACRO (GETDATETIME RESULT)
ENDIF (WIN32)
string(REGEX REPLACE " " "_" ${RESULT} "${${RESULT}}")
ENDIF (WIN32)
string(REGEX REPLACE " " "_" ${RESULT} "${${RESULT}}")
-
ENDMACRO (GETDATETIME)
ENDMACRO (GETDATETIME)