I have an xcode project that creates a library from C / C ++ sources for OSX. Is there any way to get xcode to install the library and its header files in / usr / local / lib?
I have the following settings under Target> Build Settings:
- Deployment
- Deployment Location = Yes
- Postprocess Deployment = Yes
- Installing the product assembly Location = / tmp / projname.dst
- Installation Directory = / usr / local / lib
- Skip installation = No
When I do Product> Build, it places the resulting .a and adds the public headers in the include / subfolder in the /tmp/projname.dst/ folder. But I came from the land of Make files, and I would like to have the equivalent of "do the installation" here (I expect him to ask permission when he tries to put things in / usr / local / include / and / usr / local / Library /)
codedread
source share