[vtkusers] CMake use either VTK 5.x or 6.0

David Doria daviddoria at gmail.com
Tue Jun 25 11:26:30 EDT 2013


On Tue, Jun 25, 2013 at 11:19 AM, Marcus D. Hanwell
<marcus.hanwell at kitware.com> wrote:
> On Tue, Jun 25, 2013 at 10:39 AM, Shawn Waldon <swaldon at cs.unc.edu> wrote:
>> Hi all,
>>
>> I was reading over the build system migration guide
>> http://www.vtk.org/Wiki/VTK/Build_System_Migration
>> and I had a question.
>>
>> What if you have an application that you would like to support compilation
>> against either VTK 5 or 6?  How should you handle that in CMake?

Here are a couple of workarounds/techniques that I've used:

http://www.vtk.org/Wiki/VTK/Examples/Cxx#CMake_Techniques

David



More information about the vtkusers mailing list