[vtk-developers] DASH1 and DASH11 dashboards
Dave Partyka
dave.partyka at kitware.com
Tue Sep 7 15:06:37 EDT 2010
That executable is in the bin tree. Actually I looked into this a little bit
a week ago or so when I noticed it but was side tracked.
In the top level CMakeLists.txt file of VTK I don't think
GET_TARGET_PROPERTY(.. LOCATION) is returning a path VS71 likes
(.\<executabe>).
IF(CMAKE_CROSSCOMPILING)
SET(VTK_WRAP_TCL_EXE vtkWrapTcl)
SET(VTK_WRAP_TCL_INIT_EXE vtkWrapTclInit)
ELSE(CMAKE_CROSSCOMPILING)
GET_TARGET_PROPERTY(VTK_WRAP_TCL_EXE vtkWrapTcl LOCATION)
GET_TARGET_PROPERTY(VTK_WRAP_TCL_INIT_EXE vtkWrapTclInit LOCATION)
ENDIF(CMAKE_CROSSCOMPILING)
That said, the ADD_CUSTOM_COMMAND in vtkWrapTcl.cmake and
vtkWrapPython.cmake could probably just use the target name (vtkWrapTcl,
vtkWrapPython) and let CMake figure out the path on it's own instead of
using whatever VTK_WRAP_{TCL/PYTHON}_EXE gets set to.
# add custom command to output
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${TMP_FILENAME}Tcl.cxx
DEPENDS ${VTK_WRAP_TCL_EXE} ${VTK_WRAP_HINTS}
${KIT_HIERARCHY_FILE}
MAIN_DEPENDENCY "${TMP_INPUT}"
COMMAND ${VTK_WRAP_TCL_EXE}
ARGS
${TMP_CONCRETE}
${TMP_HINTS}
${TMP_HIERARCHY}
${TMP_DEFINITIONS}
${TMP_INCLUDE}
"${quote}${TMP_INPUT}${quote}"
"${quote}${CMAKE_CURRENT_BINARY_DIR}/${TMP_FILENAME}Tcl.cxx${quote}"
COMMENT "Tcl Wrapping - generating ${TMP_FILENAME}Tcl.cxx"
${verbatim}
)
I'll let you take it from there :-P
On Tue, Sep 7, 2010 at 2:47 PM, Dave Partyka <dave.partyka at kitware.com>wrote:
> Sure thing.
>
>
> On Tue, Sep 7, 2010 at 2:38 PM, David Gobbi <david.gobbi at gmail.com> wrote:
>
>> Does anyone know anything about DASH1 and DASH11? These machines have
>> been complaining that "vtkWrapTcl.exe is not found" for several days
>> now. I have a vague feeling that they might be failing because of
>> something that I've done. Is there someone who can check to see if
>> vtkWrapTcl.exe is being built on these machines?
>>
>> Thanks in advance,
>>
>> David
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.vtk.org/mailman/listinfo/vtk-developers
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20100907/4ac41e59/attachment.html>
More information about the vtk-developers
mailing list