[vtkusers] OS X Application Bundle How-to

Sean McBride sean at rogue-research.com
Mon Aug 18 19:00:06 EDT 2008


On 8/18/08 3:26 PM, Robbie Jaeger said:

>I'm trying to compile a vtk program on OS X 10.5 as an application bundle so
>that I can fully interact with the graphics window.  According to the FAQ, I
>need to add the following lines to my CMakeLists.txt:
>
>IF(APPLE)
>  SET(EXECUTABLE_FLAG MACOSX_BUNDLE)
>ENDIF(APPLE)
>
>Unfortunately, no application bundle is made so I'm sure I have not done
>something correctly.  Is anyone here familiar with this process?  Does it
>matter where I have this section of code within my CMakeLists.txt file?

Some of the VTK example do this correctly.  Try searching all of VTK for
MACOSX_BUNDLE.

-- 
____________________________________________________________
Sean McBride, B. Eng                 sean at rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada





More information about the vtkusers mailing list