Revision: 38945
          http://brlcad.svn.sourceforge.net/brlcad/?rev=38945&view=rev
Author:   d_rossberg
Date:     2010-05-04 08:30:11 +0000 (Tue, 04 May 2010)

Log Message:
-----------
avoid the min and max macros via the windows.h header file (it is a plague even 
on MS Windows) for the C++ core interface
they interfere with the std::min and std::max templates from the algorithms 
header file

Modified Paths:
--------------
    brlcad/trunk/misc/win32-msvc/Dll/CMakeLists.txt

Modified: brlcad/trunk/misc/win32-msvc/Dll/CMakeLists.txt
===================================================================
--- brlcad/trunk/misc/win32-msvc/Dll/CMakeLists.txt     2010-05-03 21:56:29 UTC 
(rev 38944)
+++ brlcad/trunk/misc/win32-msvc/Dll/CMakeLists.txt     2010-05-04 08:30:11 UTC 
(rev 38945)
@@ -24,7 +24,13 @@
     ../../../src/other/tcl/generic
 )
 
+if(MSVC)
+    add_definitions(
+        -DNOMINMAX
+    )
+endif(MSVC)
 
+
 # build the BrlcadCore.dll
 set(BRLCADCORE_SOURCES
     BrlcadCore.def


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