[CMake] Strip not working ? (Mac + makefiles)

Robert Bielik robert.bielik at dirac.se
Tue Mar 24 07:35:34 EDT 2015


Ok, I went with the Xcode generator instead. Then stripping works.

/R

Robert Bielik skrev den 2015-03-24 10:17:
> Indeed, seems like a bug in CMake. Looking at cmake_install.cmake for 
> my project, there is no option for stripping. cmake_install.cmake is 
> invoked as:
>
> /Applications/CMake.app/Contents/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 
> -P cmake_install.cmake
>
> I use CMake 3.0.1.
>
> /R
>
> Robert Bielik skrev den 2015-03-24 10:04:
>> Hi,
>>
>> I've a project (.app) where I use makefiles when building from cmd 
>> line, and I get a make target called "install/strip", however there's 
>> no stripping done.
>>
>> However, doing this manually by invoking strip on 
>> MyApp.app/Contents/MacOS/MyApp works just fine. Is strip by chance 
>> invoked on MyApp.app/ folder ?
>>
>> Regards
>> /R
>>
>



More information about the CMake mailing list