Revision: 69018
          http://sourceforge.net/p/brlcad/code/69018
Author:   starseeker
Date:     2016-10-11 16:29:26 +0000 (Tue, 11 Oct 2016)
Log Message:
-----------
need to start transitioning from macros to functions where we can.  This is an 
easy one.

Modified Paths:
--------------
    brlcad/trunk/misc/CMake/BRLCAD_Util.cmake

Modified: brlcad/trunk/misc/CMake/BRLCAD_Util.cmake
===================================================================
--- brlcad/trunk/misc/CMake/BRLCAD_Util.cmake   2016-10-11 15:28:35 UTC (rev 
69017)
+++ brlcad/trunk/misc/CMake/BRLCAD_Util.cmake   2016-10-11 16:29:26 UTC (rev 
69018)
@@ -36,7 +36,7 @@
 #-----------------------------------------------------------------------------
 # Pretty-printing macro that generates a box around a string and prints the
 # resulting message.
-macro(BOX_PRINT input_string border_string)
+function(BOX_PRINT input_string border_string)
   string(LENGTH ${input_string} MESSAGE_LENGTH)
   string(LENGTH ${border_string} SEPARATOR_STRING_LENGTH)
   while(${MESSAGE_LENGTH} GREATER ${SEPARATOR_STRING_LENGTH})
@@ -46,7 +46,7 @@
   message("${SEPARATOR_STRING}")
   message("${input_string}")
   message("${SEPARATOR_STRING}")
-endmacro()
+endfunction()
 
 #-----------------------------------------------------------------------------
 # For situations like file copying, where we sometimes need to autogenerate

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


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to