[vtkusers] " " vs < > for includes

David Doria daviddoria+vtk at gmail.com
Thu Nov 19 10:22:47 EST 2009


I noticed that most of the includes are done like this:
#include "vtkPolyData.h"

Don't the quotes mean "look in the current directory", where
#include <vtkPolyData.h>

means "look on the PATH"?

If this is correct, shouldn't they all use <> since we want to find
headers in all of the subdirectories (VTK/Graphics, VTK/Filtering,
etc), which I assume have been put on a header_path type variable by
cmake?

It clearly works the way it is and I'm sure it is "correct" since the
whole project does it like this, I was just curious.

David



More information about the vtkusers mailing list