Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[Manta] r2091 - trunk/scenes/csafe/swig


Chronological Thread 
  • From: "James Bigler" <bigler@cs.utah.edu>
  • To: manta@sci.utah.edu
  • Subject: [Manta] r2091 - trunk/scenes/csafe/swig
  • Date: Tue, 19 Feb 2008 13:45:06 -0700 (MST)

Author: bigler
Date: Tue Feb 19 13:45:06 2008
New Revision: 2091

Modified:
   trunk/scenes/csafe/swig/CMakeLists.txt
Log:
scenes/csafe/swig/CMakeLists.txt

  Add the no nested class warning suppression.  You need to specify this from
  the command line, because the same machinery that ignores nested classes 
also
  prevents the application of warning suppression of it via targeted warning
  (%warnfilter(312) Manta::Scene;).


Modified: trunk/scenes/csafe/swig/CMakeLists.txt
==============================================================================
--- trunk/scenes/csafe/swig/CMakeLists.txt      (original)
+++ trunk/scenes/csafe/swig/CMakeLists.txt      Tue Feb 19 13:45:06 2008
@@ -29,7 +29,6 @@
 
 # Initialize Python/SWIG.
 SET(CMAKE_SWIG_OUTDIR ${LIBRARY_OUTPUT_PATH})
-FIND_PATH(SWIG_DIR swig)
 FIND_PACKAGE(SWIG REQUIRED)
 
 EXECUTE_PROCESS(COMMAND ${SWIG_EXECUTABLE} -version
@@ -51,7 +50,7 @@
 # CHANGE NAME OF SWIG INCLUDE FILE HERE.
 SET_SOURCE_FILES_PROPERTIES(csafe.i PROPERTIES CPLUSPLUS ON)
 SET_SOURCE_FILES_PROPERTIES(csafe.i 
-  PROPERTIES SWIG_FLAGS 
"-I${CMAKE_SOURCE_DIR}/SwigInterface;${warning_extra};-w512")
+  PROPERTIES SWIG_FLAGS 
"-I${CMAKE_SOURCE_DIR}/SwigInterface;${warning_extra};-w512;-w312")
 
 # Add the python module "csafe" corresponding to shared lib _csafe.so
 # CHANGE NAME OF PYTHON MODULE HERE.




  • [Manta] r2091 - trunk/scenes/csafe/swig, James Bigler, 02/19/2008

Archive powered by MHonArc 2.6.16.

Top of page