From: <ai...@us...> - 2007-12-12 18:52:14
|
Revision: 8090 http://plplot.svn.sourceforge.net/plplot/?rev=8090&view=rev Author: airwin Date: 2007-12-12 10:52:15 -0800 (Wed, 12 Dec 2007) Log Message: ----------- Remove redundant -python from CMAKE_SWIG_FLAGS. Take advantage of patched UseSWIG.cmake to fix unnecessary rebuilds. Modified Paths: -------------- trunk/bindings/python/CMakeLists.txt Modified: trunk/bindings/python/CMakeLists.txt =================================================================== --- trunk/bindings/python/CMakeLists.txt 2007-12-12 18:46:35 UTC (rev 8089) +++ trunk/bindings/python/CMakeLists.txt 2007-12-12 18:52:15 UTC (rev 8090) @@ -40,13 +40,17 @@ ) include_directories(${python_interface_INCLUDE_PATHS}) -set(CMAKE_SWIG_FLAGS -DPL_DOUBLE -DSWIG_PYTHON -python) +set(CMAKE_SWIG_FLAGS -DPL_DOUBLE -DSWIG_PYTHON) set(CMAKE_SWIG_OUTDIR ${CMAKE_CURRENT_BINARY_DIR}) set(SWIG_MODULE_plplotcmodule_EXTRA_DEPS ${CMAKE_SOURCE_DIR}/bindings/swig-support/plplotcapi.i) +set_source_files_properties(plplotcmodule.i +PROPERTIES SWIG_MODULE_NAME plplotc +) + # Set up swig + c wrapper. # N.B. the python target has an underscore prepended automatically. swig_add_module(plplotcmodule python plplotcmodule.i) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |