Revision: 77348
          http://sourceforge.net/p/brlcad/code/77348
Author:   starseeker
Date:     2020-10-06 20:00:18 +0000 (Tue, 06 Oct 2020)
Log Message:
-----------
use the printtime.cmake script

Modified Paths:
--------------
    brlcad/branches/thirdparty_rework/CMakeLists.txt
    brlcad/branches/thirdparty_rework/misc/CMake/scripts/printtime.cmake

Modified: brlcad/branches/thirdparty_rework/CMakeLists.txt
===================================================================
--- brlcad/branches/thirdparty_rework/CMakeLists.txt    2020-10-06 19:51:26 UTC 
(rev 77347)
+++ brlcad/branches/thirdparty_rework/CMakeLists.txt    2020-10-06 20:00:18 UTC 
(rev 77348)
@@ -88,7 +88,7 @@
 # Mark the time at which the configuration process began.
 
 set(CONFIG_DELTA_START "${CMAKE_BINARY_DIR}/CMakeTmp/CONFIG_DELTA_START")
-execute_process(COMMAND "${CMAKE_COMMAND}" 
-DSTAMP_FILE="${CONFIG_DELTA_START}" -P 
"${BRLCAD_CMAKE_DIR}/scripts/timestamp.cmake")
+execute_process(COMMAND "${CMAKE_COMMAND}" -DSTAMP_FILE=${CONFIG_DELTA_START} 
-P "${BRLCAD_CMAKE_DIR}/scripts/timestamp.cmake")
 
 #---------------------------------------------------------------------
 #  Options controlling user level features.  These may impact which
@@ -2243,11 +2243,11 @@
 
   add_custom_command(
     OUTPUT ${BUILD_DELTA_START}
-    COMMAND "${CMAKE_COMMAND}" -DSTAMP_FILE="${BUILD_DELTA_START}" -P 
"${BRLCAD_CMAKE_DIR}/scripts/timestamp.cmake"
+    COMMAND "${CMAKE_COMMAND}" -DSTAMP_FILE=${BUILD_DELTA_START} -P 
"${BRLCAD_CMAKE_DIR}/scripts/timestamp.cmake"
     COMMENT ""
     )
   add_custom_target(timestamp ALL
-    COMMAND ${CMAKE_BINARY_DIR}/CMakeTmp/pts${EXE_EXT} \"Build Time:  \"
+    COMMAND "${CMAKE_COMMAND}" -DMSG=\"Build Time:\" -P 
"${BRLCAD_CMAKE_DIR}/scripts/printtime.cmake"
     DEPENDS ${BUILD_DELTA_START}
     )
   set_target_properties(timestamp PROPERTIES FOLDER "Compilation Utilities")

Modified: brlcad/branches/thirdparty_rework/misc/CMake/scripts/printtime.cmake
===================================================================
--- brlcad/branches/thirdparty_rework/misc/CMake/scripts/printtime.cmake        
2020-10-06 19:51:26 UTC (rev 77347)
+++ brlcad/branches/thirdparty_rework/misc/CMake/scripts/printtime.cmake        
2020-10-06 20:00:18 UTC (rev 77348)
@@ -1,3 +1,3 @@
 string(TIMESTAMP CTIME "%a %b %d %H:%M:%S %Y")
-message("\n${MSG} ${CTIME}")
+message("\n${MSG}  ${CTIME}\n")
 

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to