[vtk-developers] Carbon and Cocoa

Andy Cedilnik andy.cedilnik at kitware.com
Tue Sep 10 08:01:13 EDT 2002


Hello,

In the top level CMakeLists.txt, there is the following construct:

  IF (VTK_USE_COCOA)
    ADD_DEFINITIONS(-DVTK_USE_COCOA)
  ENDIF (VTK_USE_COCOA)
  IF (VTK_USE_CARBON)
    ADD_DEFINITIONS(-DMAC_OSX_TK)
    ADD_DEFINITIONS(-DVTK_USE_CARBON)
  ENDIF (VTK_USE_CARBON)

Is there any special reason for this to be done through ADD_DEFINITION
and not configured into vtkConfigure.h or vtkToolkits.h?

Would anybody have any problem with me changing that?

				Andy




More information about the vtk-developers mailing list