Text archives Help
- From: bigler@sci.utah.edu
- To: manta@sci.utah.edu
- Subject: [MANTA] r1211 - in trunk: . Model/Textures
- Date: Fri, 6 Oct 2006 16:29:12 -0600 (MDT)
Author: bigler
Date: Fri Oct 6 16:29:10 2006
New Revision: 1211
Modified:
trunk/CMakeLists.txt
trunk/Model/Textures/Constant.h
Log:
CMakeLists.txt
Make the build shared library option accesible for configuring.
Model/Textures/Constant.h
These template specializations should not be in #ifdef MANTA_SSE
block as they are always defined in the .cc file.
Modified: trunk/CMakeLists.txt
==============================================================================
--- trunk/CMakeLists.txt (original)
+++ trunk/CMakeLists.txt Fri Oct 6 16:29:10 2006
@@ -12,13 +12,14 @@
PROJECT (Manta)
-SET(BUILD_SHARED_LIBS ON)
+SET(DEFAULT_BUILD_SHARED_LIBS ON)
IF (CYGWIN)
# I can't get Manta to run with shared libraries. This, at least,
# let's me run for now. I'm not sure how this will work for the
# wxPython version.
- SET(BUILD_SHARED_LIBS OFF)
+ SET(DEFAULT_BUILD_SHARED_LIBS OFF)
ENDIF (CYGWIN)
+SET(BUILD_SHARED_LIBS ${DEFAULT_BUILD_SHARED_LIBS} CACHE BOOL "Building
shared or static libraries")
SET(CMAKE_VERBOSE_MAKEFILE ON)
Modified: trunk/Model/Textures/Constant.h
==============================================================================
--- trunk/Model/Textures/Constant.h (original)
+++ trunk/Model/Textures/Constant.h Fri Oct 6 16:29:10 2006
@@ -48,7 +48,6 @@
results.set(i, value);
}
-#ifdef MANTA_SSE
template<>
void Constant<Color>::mapValues(Packet<Color>& results,
const RenderContext& context,
@@ -57,7 +56,6 @@
void Constant<float>::mapValues(Packet<float>& results,
const RenderContext& context,
RayPacket& rays) const;
-#endif
}
#endif
- [MANTA] r1211 - in trunk: . Model/Textures, bigler, 10/06/2006
Archive powered by MHonArc 2.6.16.