<div dir="ltr">Thank you Sean.<br><br>I found an example like you said and here is how it works:<br>Simple add MACOSX_BUNDLE into the ADD_EXECUTABLE() function<br>e.g. ADD_EXECUTABLE(${PROJECT_NAME} MACOSX_BUNDLE main.cpp)<br>
<br>RJ<br><br><div class="gmail_quote">On Mon, Aug 18, 2008 at 4:00 PM, Sean McBride <span dir="ltr"><<a href="mailto:sean@rogue-research.com">sean@rogue-research.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="Wj3C7c">On 8/18/08 3:26 PM, Robbie Jaeger said:<br>
<br>
>I'm trying to compile a vtk program on OS X 10.5 as an application bundle so<br>
>that I can fully interact with the graphics window. According to the FAQ, I<br>
>need to add the following lines to my CMakeLists.txt:<br>
><br>
>IF(APPLE)<br>
> SET(EXECUTABLE_FLAG MACOSX_BUNDLE)<br>
>ENDIF(APPLE)<br>
><br>
>Unfortunately, no application bundle is made so I'm sure I have not done<br>
>something correctly. Is anyone here familiar with this process? Does it<br>
>matter where I have this section of code within my CMakeLists.txt file?<br>
<br>
</div></div>Some of the VTK example do this correctly. Try searching all of VTK for<br>
MACOSX_BUNDLE.<br>
<font color="#888888"><br>
--<br>
____________________________________________________________<br>
Sean McBride, B. Eng <a href="mailto:sean@rogue-research.com">sean@rogue-research.com</a><br>
Rogue Research <a href="http://www.rogue-research.com" target="_blank">www.rogue-research.com</a><br>
Mac Software Developer Montréal, Québec, Canada<br>
<br>
<br>
</font></blockquote></div><br></div>