<div style="font-family: Tahoma; font-size: 13px; ">Apologies, I hit send before I was ready -</div><div style="font-family: Tahoma; font-size: 13px; "><br></div><div style="font-family: Tahoma; font-size: 13px; ">I tried setting various attributes -</div><div style="font-family: Tahoma; font-size: 13px; "><br></div><div style="font-family: Tahoma; font-size: 13px; "><div>set(CMAKE_XCODE_ATTRIBUTE_INSTALL_PATH "test")</div><div>set(LIB_INSTALL_DIR, ${CMAKE_INSTALL_PREFIX})</div><div>set(LIBRARY_OUTPUT_DIRECTORY, ${CMAKE_INSTALL_PREFIX})</div><div><br></div><div>But this doesn't seem to make any difference.</div><div><br></div><div>Is anyone aware of a proper solution to this issue, or a temporary workaround? I'm willing to try anything, as this is the only bottleneck I've found so far, but it's basically a showstopper if I can't get it to work.</div><div><br></div><div>Any suggestions, questions or solutions are highly welcome!</div><div><br></div><div>Many thanks.</div></div>
<div><div><br></div><div style="background-color: rgb(255, 255, 255); ">Kind Regards,</div><div style="background-color: rgb(255, 255, 255); ">Jamie Hales</div><div><br></div></div>
<p style="color: #A0A0A8;">On Friday, 14 December 2012 at 12:20, Jamie Hales wrote:</p>
<blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;">
<span><div><div>
<div>
<font face="Tahoma">Hi,</font>
</div><div><font face="Tahoma"><br></font></div><div><font face="Tahoma">I'm currently trying to change my existing multiple project setup (manually maintaining makefiles, vsproj and xcodeproj) for a single cmake solution. So far it's going well, I have the OSX and iOS targets up and running correctly when running directly on the device, but I'm having issues when archiving.</font></div><div><font face="Tahoma"><br></font></div><div><font face="Tahoma">Basically whenever I try to archive I get linker errors for every separate static library I'm using (also compiled with cmake)</font></div><div><font face="Tahoma"><br></font></div><div><p style="margin: 0px 0px 0px 12px; text-indent: -12px; font-size: 11px; font-family: Menlo; ">clang: error: no such file or directory: '/Users/aeonflame/Dropbox/Development/pixelballoon/astraeus/build/ios/pixelboost/engine/Release-iphoneos/libpixelboost_engine.a'</p>
<p style="margin: 0px 0px 0px 12px; text-indent: -12px; font-size: 11px; font-family: Menlo; ">clang: error: no such file or directory: '/Users/aeonflame/Dropbox/Development/pixelballoon/astraeus/build/ios/pixelboost/libs/box2d/Box2D/Release-iphoneos/libBox2D.a'</p>
<p style="margin: 0px 0px 0px 12px; text-indent: -12px; font-size: 11px; font-family: Menlo; ">clang: error: no such file or directory: '/Users/aeonflame/Dropbox/Development/pixelballoon/astraeus/build/ios/pixelboost/libs/freetype2/Release-iphoneos/libfreetype2.a'</p>
<p style="margin: 0px 0px 0px 12px; text-indent: -12px; font-size: 11px; font-family: Menlo; ">clang: error: no such file or directory: '/Users/aeonflame/Dropbox/Development/pixelballoon/astraeus/build/ios/pixelboost/libs/librocket/Release-iphoneos/liblibrocket.a'</p>
<p style="margin: 0px 0px 0px 12px; text-indent: -12px; font-size: 11px; font-family: Menlo; ">clang: error: no such file or directory: '/Users/aeonflame/Dropbox/Development/pixelballoon/astraeus/build/ios/pixelboost/libs/lua/Release-iphoneos/liblua.a'</p></div>
<div><div><br></div><div><font face="Tahoma">These are included in the main project in the standard way -</font></div><div><font face="Tahoma"><br></font></div><div>target_link_libraries (pixelboost_engine Box2D freetype2 librocket lua)</div><div>target_link_libraries (astraeus pixelboost_engine)</div><div><br></div><div><font face="Tahoma">There's no issue when running directly, it's only when archiving.</font></div><div><font face="Tahoma"><br></font></div><div><font face="Tahoma">I've been searching for about 2 days for a solution to this but can't find a solution yet. I've come across some vague references to setting the library install path, so I have tried setting various attributes -</font></div><div><font face="Tahoma"><br></font></div><div><br></div><div style="background-color: rgb(255, 255, 255); ">Kind Regards,</div><div style="background-color: rgb(255, 255, 255); ">Jamie Hales</div><div style="background-color: rgb(255, 255, 255); "><br></div><div><br></div></div>
</div></div></span>
</blockquote>
<div>
<br>
</div>