Revision: 54980
http://brlcad.svn.sourceforge.net/brlcad/?rev=54980&view=rev
Author: r_weiss
Date: 2013-03-29 20:50:28 +0000 (Fri, 29 Mar 2013)
Log Message:
-----------
Change to cmake build logic for md5 express. This change appears to work for
both the linux and windows build. More testing is needed.
Modified Paths:
--------------
brlcad/trunk/src/other/step/cmake/Generated_Source_Utils.cmake
Modified: brlcad/trunk/src/other/step/cmake/Generated_Source_Utils.cmake
===================================================================
--- brlcad/trunk/src/other/step/cmake/Generated_Source_Utils.cmake
2013-03-29 17:47:19 UTC (rev 54979)
+++ brlcad/trunk/src/other/step/cmake/Generated_Source_Utils.cmake
2013-03-29 20:50:28 UTC (rev 54980)
@@ -2,7 +2,7 @@
macro(MD5 filename md5sum)
file(READ "${filename}" RAW_MD5_FILE)
- string(REGEX REPLACE "\r?\n" "\n" STRIPPED_MD5_FILE "${RAW_MD5_FILE}")
+ string(REGEX REPLACE "\\\\r" "" STRIPPED_MD5_FILE "${RAW_MD5_FILE}")
file(WRITE ${CMAKE_BINARY_DIR}/CMakeTmp/md5_file "${STRIPPED_MD5_FILE}")
execute_process(COMMAND ${CMAKE_COMMAND} -E md5sum
${CMAKE_BINARY_DIR}/CMakeTmp/md5_file OUTPUT_VARIABLE md5string)
file(REMOVE ${CMAKE_BINARY_DIR}/CMakeTmp/md5_file)
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Own the Future-Intel(R) Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest. Compete
for recognition, cash, and the chance to get your game on Steam.
$5K grand prize plus 10 genre and skill prizes. Submit your demo
by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits