[vtkusers] Include files

Gib Bogle g.bogle at auckland.ac.nz
Sun Aug 29 21:40:36 EDT 2010


Hi John and David,

I'm not using Cmake.  Possibly I could be, but by default the IDE Qt supplies, 
Qt Creator, uses .pro files, from which qmake creates the makefiles.  The .pro 
project files are very simple (Qt Creator takes care of a lot of the ugly 
details), and I'm quite keen to use Qt Creator for my Qt stuff.  I've looked at 
a couple of CMakeLists.txt files, and the complexity is a bit daunting.  Do you 
advocate using Cmake?

Cheers
Gib


John Drescher wrote:
> On Sun, Aug 29, 2010 at 9:19 PM, Gib Bogle <g.bogle at auckland.ac.nz> wrote:
>> This is a question or a suggestion.  VTK include files are scattered across
>> the directory tree.  Is there a simple way to gather them all together in
>> the same directory?  I'm building a Qt app (with Qt Creator and MinGW on
>> Windows), and I resorted to manually copying all the "missing" VTK include
>> files to one place so the compiler tools could locate them.  This seems a
>> bit clumsy.  If I'm not just displaying my ignorance, perhaps an include
>> directory containing copies of all the include files would be a useful
>> addition to the VTK distribution.
> 
> With Cmake you should never need to copy any include files. Just have
> your CMakeLists.txt file for your project properly add to the list of
> includes with include_directories
> 
> John



More information about the vtkusers mailing list