Are you talking about PackageMaker from Xcode 4.3, which you must take
extra care to install yourself (in any location you'd like...)?

Or are you talking about PackageMaker from an earlier Xcode?

And which version of cmake/cpack?

The recent work to add support for Xcode 4.3 searches several
locations for PackageMaker, as seen in this code:

  
http://cmake.org/gitweb?p=cmake.git;a=blob;f=Source/CPack/cmCPackPackageMakerGenerator.cxx;h=3a0e89bbd923871ddfb66b98262687c916c467db;hb=94f17c696c6f996a719f276322b1f141a15d4ffb#l359

With CMake 2.8.8 and later, or with current 'master' or 'next', cpack
should find PackageMaker in any of the following locations:

    "/Applications/Xcode.app/Contents/Applications"
    "/Applications/Utilities"
    "/Applications"
    "/Developer/Applications/Utilities"
    "/Developer/Applications"


HTH,
David


2012/5/1 Nicolas Desprès <nicolas.desp...@gmail.com>:
> Hi,
>
> On MacOXS I used to have the SimpleInstall test failing because it
> could not find the PackageMaker compiler. After looking into the code,
> I realized I had to set CPACK_INSTALLER_PROGRAM. But this variable
> does not get used by the test. So the only solution I had was to move
> PackageMaker to "/Applications/Utilities" (on of the searched paths)
> and no longer keep it in "/Applications/Xcode\ Utils".
>
> So, from my point of view the test suite is broken if PackageMaker is
> not installed in a default location and I don't know anyway to tell
> CMake where the PackageMaker application is.
>
> If someone has a better solution?
>
> Cheers,
>
> --
> Nicolas Desprès
> --
>
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at 
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at: 
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to