Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[MANTA] r1435 - trunk/SwigInterface


Chronological Thread 
  • From: abe@sci.utah.edu
  • To: manta@sci.utah.edu
  • Subject: [MANTA] r1435 - trunk/SwigInterface
  • Date: Thu, 28 Jun 2007 16:18:16 -0600 (MDT)

Author: abe
Date: Thu Jun 28 16:18:15 2007
New Revision: 1435

Modified:
   trunk/SwigInterface/CMakeLists.txt
Log:

Added code to create a .cshrc script to set the PYTHONPATH variable to
include Manta python libraries. An appropriate version of this script
will be included in Manta-project too. To use the script:

> source bin/pythonpath.csh
> python ../SwigInterface/runwxmanta.py

M    CMakeLists.txt


Modified: trunk/SwigInterface/CMakeLists.txt
==============================================================================
--- trunk/SwigInterface/CMakeLists.txt  (original)
+++ trunk/SwigInterface/CMakeLists.txt  Thu Jun 28 16:18:15 2007
@@ -84,12 +84,9 @@
 SWIG_ADD_MODULE(pycallback python pycallback.i pycallback.cc pycallback.h)
 SWIG_LINK_LIBRARIES(pycallback ${PYTHON_LIBRARIES})
 
-
-
-
-
-
-
+# Output a helper script for setting up path variables.
+FILE(WRITE ${CMAKE_BINARY_DIR}/bin/pythonpath.csh 
+  "setenv PYTHONPATH ${CMAKE_BINARY_DIR}/lib\n\n")
 
 
###############################################################################
 ENDIF (SWIG_FOUND)




  • [MANTA] r1435 - trunk/SwigInterface, abe, 06/28/2007

Archive powered by MHonArc 2.6.16.

Top of page