2012/5/1 Nicolas Desprès <nicolas.desp...@gmail.com>:
> Sorry for the lake of information.
>
> On Tue, May 1, 2012 at 4:51 PM, David Cole <david.c...@kitware.com> wrote:
>> Are you talking about PackageMaker from Xcode 4.3, which you must take
>> extra care to install yourself (in any location you'd like...)?
>
> Yes Xcode 4.3 and I have installed PackageMaker myself in
> "/Applications/Xcode tools"
>
>>
>> Or are you talking about PackageMaker from an earlier Xcode?
>
> No.
>
>>
>> And which version of cmake/cpack?
>
> master: v2.8.8-89-g94f17c6
>
>>
>> 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"
>>
>
> That's what I saw actually, but mine was not in the list. Setting
> CPACK_INSTALLER_PROGRAM as in line 390 does not help because the it is
> not "transfered" to the test project.
>
> Is there a robust way to tell cmake where is installed PackageMaker if
> it is not installed in one of the searched paths?
>

Not yet, but we can definitely fix that moving forward.


> Thanks,
> Nico
>
>>
>> 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
>
>
>
> --
> 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

Reply via email to