xcode: 修改生成的静态库名称

> I'm using Xcode 3.2.5 to build a static library of C functions for OSX. This works, but Xcode names the resulting library "liblibCFuncs.a" so I have to rename it after each build.  Is there some way to get Xcode to drop the extra "lib" on the name? I don't see where I can rename it -- the "Name:" field in the Inspector is pre-filled with "liblibCFuncs.a" but it's conveniently grayed out so I can't change it! The Target is correct as "libCFuncs" and my source is libCFuncs.c.

Change the “Product Name” setting in the “Packaging” section to “CFuncs”.

Kind regards,

原文地址:http://lists.apple.com/archives/Xcode-users/2011/Jan/msg00147.html

 

posted on 2016-10-28 16:16  ZhYQ_note  阅读(924)  评论(0)    收藏  举报

导航