<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 9, 2014 at 4:58 PM, Eric Wing <span dir="ltr"><<a href="mailto:ewmailing@gmail.com" target="_blank">ewmailing@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 12/9/14, J Decker <<a href="mailto:d3ck0r@gmail.com">d3ck0r@gmail.com</a>> wrote:<br>
> This is all handled by install.<br>
<br>
</span>I already addressed INSTALL. I know you can change the directory. That<br>
is irrelevant to the point which I already addressed.<br>
<span class=""><br></span></blockquote><div>You gave a personal opinion about install... not sure that addresses it. </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
<br>
><br>
> Sounds really like you're working to build a package, which install is<br>
> intended to do.<br>
<br>
</span>Another problem which I didn't make explicit was that Xcode's<br>
codesigning and entitlements phase will not work with INSTALL because<br>
it signs when you build via Xcode. And there are cases where you must<br>
develop and test with codesigning and entitlements enabled, like<br>
testing App Store purchases, Game Center, or want to use the new<br>
built-into-Safari JavaScriptCore debugger if you have a JSContext in<br>
your app.<br>
<br>
Also, iOS/Android/WinRT, the INSTALL target is useless.<br></blockquote><div>Android It's not useless... it puts all the files in a correct place to be able to do manual packaging things. </div><div>Massaging a system that's already been installed is a lot easier than pulling from sources scattered all over the build directory; and doesn't require a lot of custom macros and scripts to do the job.  True; I had to write another cmake layer on top of the already existing projects which go to their install... and make some custom commands for 'install' and 'package' for android that pull from the one place just what it needs to stuff into the android directory... but those scripts were really simple since everything was already in a simple, known location after install.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
The INSTALL thing is a hack in my opinion that we as a community have<br>
accepted as a solution. I'm now calling it out as a design problem in<br>
CMake, especially as the winds have shifted to more platforms focusing<br>
on shipping binaries than the former and now treat packaging as a<br>
first class citizen. It is an impediment to the natural workflow on<br>
those platforms, it is an impediment to people adopting CMake, and it<br>
is an impediment to people wanting to deal with native languages<br>
because build systems are too complicated. (The scripts I wrote are<br>
intended to deal with all those things in a new middleware product I'm<br>
developing and hopefully bring native crossplatform development to<br>
people that otherwise wouldn't touch it before.)<br>
<div class="HOEnZb"><div class="h5"><br></div></div></blockquote><div>Your scripts would still only work for one target... since you'd have to pick one to build the rest of the package around, so if I have a build product that has a dozen utilities, rather than having one place they can all work from, I have now to either duplicate all files to all runnable targets or have a central one that would be the only one to work.   This is more of a hack.  </div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">
<br>
Thanks,<br>
Eric<br>
--<br>
Beginning iPhone Games Development<br>
<a href="http://playcontrol.net/iphonegamebook/" target="_blank">http://playcontrol.net/iphonegamebook/</a><br>
</div></div></blockquote></div><br></div></div>