>>> Those cases do special handling for the post-installation tweaks.
>>
>> i wonder: which tweaks are they?
> 
> It's things like running "strip" on the executable file.
> 
> The line
> 
>       filesTo.push_back(to1);
> 
> needs to add the path to the executable file, not the directory.
> The filesTo vector is used only for tweaks and not for generating
> the main install rules.  IIUC we should use
> 
>       std::string to1 = toDir + targetName;
> 
> for CFBundles to get the location of the installed binary file.

ah, i see ... double-checked and this works for me!

shall i update the patch?

cheers,
tim

-- 

Powered by www.kitware.com

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

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

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

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

Reply via email to