From: Alan W. I. <ai...@us...> - 2006-09-12 19:46:05
|
Update of /cvsroot/plplot/plplot/bindings/tcl In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16678/bindings/tcl Modified Files: CMakeLists.txt Log Message: Move FindTclsh logic to cmake/modules/tcl-related.cmake where it belongs. DEPENDS changed from pltclgen to the correct pltclgen.tcl. Cleanup. Index: CMakeLists.txt =================================================================== RCS file: /cvsroot/plplot/plplot/bindings/tcl/CMakeLists.txt,v retrieving revision 1.12 retrieving revision 1.13 diff -u -d -r1.12 -r1.13 --- CMakeLists.txt 5 Sep 2006 19:21:06 -0000 1.12 +++ CMakeLists.txt 12 Sep 2006 19:46:03 -0000 1.13 @@ -87,25 +87,12 @@ ${CMAKE_CURRENT_BINARY_DIR}/tclgen.c ) -#add_custom_command( -#OUTPUT ${tclgenfiles} -#COMMAND ${PERL_EXECUTABLE} -#${CMAKE_CURRENT_SOURCE_DIR}/pltclgen ${CMAKE_CURRENT_SOURCE_DIR} -#DEPENDS -#${CMAKE_CURRENT_SOURCE_DIR}/pltclgen -#${CMAKE_CURRENT_SOURCE_DIR}/plapi.tpl -#${CMAKE_CURRENT_SOURCE_DIR}/tclcmd.tpl -#) - -INCLUDE(FindTclsh) -#set(TCL_TCLSH "tclsh") - add_custom_command( OUTPUT ${tclgenfiles} COMMAND ${TCL_TCLSH} ${CMAKE_CURRENT_SOURCE_DIR}/pltclgen.tcl ${CMAKE_CURRENT_SOURCE_DIR} DEPENDS -${CMAKE_CURRENT_SOURCE_DIR}/pltclgen +${CMAKE_CURRENT_SOURCE_DIR}/pltclgen.tcl ${CMAKE_CURRENT_SOURCE_DIR}/plapi.tpl ${CMAKE_CURRENT_SOURCE_DIR}/tclcmd.tpl ) @@ -233,7 +220,6 @@ ${CMAKE_SOURCE_DIR}/bindings/tk/plplot.tcl ) -set(TCL_TCLSH "tclsh") add_custom_target(tclIndex_tcl ALL COMMAND ${TCL_TCLSH} ${MKTCLINDEX} ${MKTCLINDEX_ARGS} WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} |