[vtk-developers] [HEADSUP] New testing macros

Ben Boeckel ben.boeckel at kitware.com
Wed Apr 16 19:02:03 EDT 2014


On Wed, Apr 16, 2014 at 16:22:23 -0600, Bill Lorensen wrote:
> I get this cmake error wneh configuring on my MAC.
> CMake Error at CMake/ExternalData.cmake:176 (add_test):
>   Error evaluating generator expression:
> 
>     $<TARGET_FILE:CxxTests>
> 
>   No target "CxxTests"
> Call Stack (most recent call first):
>   CMake/vtkTestingMacros.cmake:238 (ExternalData_add_test)
>   Examples/Modelling/Cxx/CMakeLists.txt:42 (vtk_add_test_cxx)

Oops; looks like a copy/pasta error. Seems I didn't test with examples
enabled (and it seems that none of the dashboards do either...). I think
replacing vtk-module with vtk-example under Examples/ should do the
trick. Try this branch:

    http://review.source.kitware.com/15214

--Ben



More information about the vtk-developers mailing list