Revision: 40986
http://brlcad.svn.sourceforge.net/brlcad/?rev=40986&view=rev
Author: starseeker
Date: 2010-10-14 03:21:43 +0000 (Thu, 14 Oct 2010)
Log Message:
-----------
Sigh. OK, this is obvious in hindsight - just as openNURBS needs DLL defines
passed in, so too will the BRL-CAD libraries. These are from the project file
- not clear how many of them are actually needed and how many (if any) can be
safely left to parent add_definition calls - that'll take some reading and
maybe testing.
Modified Paths:
--------------
brlcad/branches/cmake/src/libbu/CMakeLists.txt
Modified: brlcad/branches/cmake/src/libbu/CMakeLists.txt
===================================================================
--- brlcad/branches/cmake/src/libbu/CMakeLists.txt 2010-10-14 02:03:40 UTC
(rev 40985)
+++ brlcad/branches/cmake/src/libbu/CMakeLists.txt 2010-10-14 03:21:43 UTC
(rev 40986)
@@ -81,6 +81,18 @@
IF(MSVC)
SET(WIN32LIBS ws2_32.lib)
+add_definitions(
+ -DWIN32
+ -D_WINDOWS
+ -D__win32
+ -DBU_EXPORT_DLL
+ -DNDEBUG
+ -D_USRDLL
+ -DBRLCAD_DLL
+ -DHAVE_CONFIG_H
+ -DBRLCADBUILD
+ -D_CRT_SECURE_NO_WARNINGS
+ )
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