Text archives Help
- From: bigler@sci.utah.edu
- To: manta@sci.utah.edu
- Subject: [MANTA] r963 - in trunk: . SCIRun/Core SwigInterface
- Date: Wed, 1 Mar 2006 13:05:29 -0700 (MST)
Author: bigler
Date: Wed Mar 1 13:05:28 2006
New Revision: 963
Modified:
trunk/CMakeLists.txt
trunk/SCIRun/Core/CMakeLists.txt
trunk/SwigInterface/CMakeLists.txt
Log:
CMakeLists.txt
Set the CMAKE_SWIG_OUTDIR to the libray path.
SCIRun/Core/CMakeLists.txt
Added ArrayIndexOutOfBounds that was being used somewhere.
SwigInterface/CMakeLists.txt
Removed custom command that moved manta.py to the library path.
This is now handled vis the CMAKE_SWIG_OUTDIR variable.
Modified: trunk/CMakeLists.txt
==============================================================================
--- trunk/CMakeLists.txt (original)
+++ trunk/CMakeLists.txt Wed Mar 1 13:05:28 2006
@@ -226,6 +226,9 @@
SET(BUILD_SWIG_INTERFACE 0 CACHE BOOL "Check for swig/python")
IF(BUILD_SWIG_INTERFACE)
IF("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" GREATER 1.9)
+ # This will dump all the interface files in the library path. Note
+ # that this needs to be set before you try to find swig.
+ SET(CMAKE_SWIG_OUTDIR ${LIBRARY_OUTPUT_PATH})
# Only process the swig directory if we have swig stuff
FIND_PACKAGE(SWIG)
IF (SWIG_FOUND)
Modified: trunk/SCIRun/Core/CMakeLists.txt
==============================================================================
--- trunk/SCIRun/Core/CMakeLists.txt (original)
+++ trunk/SCIRun/Core/CMakeLists.txt Wed Mar 1 13:05:28 2006
@@ -7,6 +7,7 @@
)
SET (SCIRUN_SOURCES ${SCIRUN_SOURCES}
+ Exceptions/ArrayIndexOutOfBounds.cc
Exceptions/AssertionFailed.cc
Exceptions/ErrnoException.cc
Exceptions/Exception.cc
Modified: trunk/SwigInterface/CMakeLists.txt
==============================================================================
--- trunk/SwigInterface/CMakeLists.txt (original)
+++ trunk/SwigInterface/CMakeLists.txt Wed Mar 1 13:05:28 2006
@@ -36,16 +36,6 @@
${X11_LIBRARIES}
-lm)
-# Copy the manta.py swig compiled object to the lib directory.
-ADD_CUSTOM_COMMAND(
- TARGET _manta
- POST_BUILD
- COMMAND ${CMAKE_COMMAND}
- ARGS -E copy ${CMAKE_CURRENT_BINARY_DIR}/manta.py
- ${PROJECT_BINARY_DIR}/lib/manta.py
- COMMENT "Copying manta.py to ${PROJECT_BINARY_DIR}/lib/manta.py"
- )
-
############################################################
# Load a scene from a python script.
SET(SCENE_PYTHON 0 CACHE BOOL "Load a scene from a python script..")
- [MANTA] r963 - in trunk: . SCIRun/Core SwigInterface, bigler, 03/01/2006
Archive powered by MHonArc 2.6.16.