|
From: <ai...@us...> - 2009-08-26 00:42:20
|
Revision: 10341
http://plplot.svn.sourceforge.net/plplot/?rev=10341&view=rev
Author: airwin
Date: 2009-08-26 00:42:08 +0000 (Wed, 26 Aug 2009)
Log Message:
-----------
Eliminate code that was never executed.
install(EXPORT export_plplot ... only needs to be executed once in whole
build tree. Do that in src/CMakeLists.txt.
Modified Paths:
--------------
trunk/bindings/octave/CMakeLists.txt
Modified: trunk/bindings/octave/CMakeLists.txt
===================================================================
--- trunk/bindings/octave/CMakeLists.txt 2009-08-25 22:29:52 UTC (rev 10340)
+++ trunk/bindings/octave/CMakeLists.txt 2009-08-26 00:42:08 UTC (rev 10341)
@@ -195,8 +195,6 @@
PERMISSIONS ${PERM_MODULES}
)
- install(EXPORT export_plplot DESTINATION ${DATA_DIR}/examples/cmake/modules)
-
# Build and install plplot_stub.m
add_executable(massage massage.c)
get_target_property(
@@ -243,24 +241,4 @@
${CMAKE_CURRENT_BINARY_DIR}/plplot_stub.m
DESTINATION ${PLPLOT_OCTAVE_DIR}
)
-
- if(never)
- add_custom_command(
- OUTPUT
- ${CMAKE_CURRENT_BINARY_DIR}/plplot_octave.oct
- ${CMAKE_CURRENT_BINARY_DIR}/plplot_octave.o
- COMMAND
- touch
- ${CMAKE_CURRENT_BINARY_DIR}/plplot_octave.oct
- ${CMAKE_CURRENT_BINARY_DIR}/plplot_octave.o
- DEPENDS
- ${CMAKE_CURRENT_BINARY_DIR}/plplot_octave.cc
- )
-
- # Link octave interface.
- add_custom_target(
- plplot_octave-libdir.oct ALL
- DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/plplot_octave.o
- )
- endif(never)
endif(ENABLE_octave)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|