<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Hello,</div><div><br></div><div>I have a project that has components for both iOS and OSX.</div><div>I could do that in Xcode by having multiple targets and changing the Base SDK and the architecture.</div><div>I was wandering if there is a way to set&nbsp;CMAKE_OSX_SYSROOT and&nbsp;CMAKE_OSX_ARCHITECTURES for each target.</div><div>I even tried making a CMakeLists.txt for every target and creating a "super project" that would add_subdirectory() them all, but that only resulted in one .xcodeproj with separate architectures for each target but the same Base SDK for the whole project.</div><div><br></div>Thank you,<br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div>Marius Petcu,&nbsp;</div><div>Lead Developer at&nbsp;<a href="http://porkholt.org">http://porkholt.org</a></div></span>
</div>
<br></body></html>