Revision: 40988
          http://brlcad.svn.sourceforge.net/brlcad/?rev=40988&view=rev
Author:   starseeker
Date:     2010-10-14 04:09:55 +0000 (Thu, 14 Oct 2010)

Log Message:
-----------
Looks like BRLCAD_DLL is fairly general, so go ahead and define it in src - 
untested as yet.

Modified Paths:
--------------
    brlcad/branches/cmake/src/CMakeLists.txt
    brlcad/branches/cmake/src/libbu/CMakeLists.txt

Modified: brlcad/branches/cmake/src/CMakeLists.txt
===================================================================
--- brlcad/branches/cmake/src/CMakeLists.txt    2010-10-14 03:46:13 UTC (rev 
40987)
+++ brlcad/branches/cmake/src/CMakeLists.txt    2010-10-14 04:09:55 UTC (rev 
40988)
@@ -49,6 +49,11 @@
        -DBRLCADBUILD=1
        )
 
+IF(MSVC)
+   add_definitions(
+          -DBRLCAD_DLL
+   )
+ENDIF(MSVC)
 
 # We will always need the required directories,
 # so go ahead and add them

Modified: brlcad/branches/cmake/src/libbu/CMakeLists.txt
===================================================================
--- brlcad/branches/cmake/src/libbu/CMakeLists.txt      2010-10-14 03:46:13 UTC 
(rev 40987)
+++ brlcad/branches/cmake/src/libbu/CMakeLists.txt      2010-10-14 04:09:55 UTC 
(rev 40988)
@@ -81,10 +81,9 @@
 
 IF(MSVC)
     SET(WIN32LIBS ws2_32.lib)
-add_definitions(
-       -DBU_EXPORT_DLL
-       -DBRLCAD_DLL
-       )
+    add_definitions(
+           -DBU_EXPORT_DLL
+        )
 ENDIF(MSVC)
 
 BRLCAD_ADDLIB(libbu "${LIBBU_SOURCES}" "${CMAKE_THREAD_LIBS_INIT} 
${PNG_LIBRARY} ${TCL_LIBRARY} ${WIN32LIBS}" STRICT)


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

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to