[vtk-developers] Access cmake variables of VTK build from c++?

Francois Bertel francois.bertel at kitware.com
Wed Jan 13 18:03:39 EST 2010


This is defined in vtkToolkits.h, a file generated in the build
directory from VTK/vtkToolkits.h.in

On Wed, Jan 13, 2010 at 5:55 PM, David Doria <daviddoria+vtk at gmail.com> wrote:
> I was looking around in vtkTestUtilities.h and it looks like there are
> functions to get VTK_DATA_ROOT from the environment variable or from
> the -D command line argument, but is there a way to get it from the
> cmake variable the user set when they built VTK?
>
> Thanks,
>
> 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
>
>



-- 
François Bertel, PhD  | Kitware Inc. Suite 204
1 (518) 371 3971 x113 | 28 Corporate Drive
                      | Clifton Park NY 12065, USA



More information about the vtk-developers mailing list