[Cmake] Re: CMake Apple XCode support?
Zachary Pincus
zpincus at stanford.edu
Thu, 22 Apr 2004 11:38:36 -0700
Hello,
I also just filled out a bug form with Apple.
More to the point here, I have been using XCode with the CMake
generated makefiles for some time. This approach works quite well, and
would be easy (though almost unnecessary) to automate with Applescript.
Unnecessary because it is already so easy to add a Make-based project
to XCode.
However, a different approach might be to attempt to use Applescript to
generate full-fledged XCode build files *instead* of the makefiles.
Instead of trying to generate an Xcode project file based on an
unstable spec, it might be easier to use Applescript to tell XCode to
build the project file itself.
XCode has a fairly complete Applescript dictionary, which looks like
enough to procedurally generate a project. (Open Script Editor, and
choose "Open Dictionary..." from the file menu, and then choose XCode
form the list, to see the XCode Applescript dictionary.)
I don't know if this is an overall more or less preferable way to
generate project files than trying to write the files directly. I
suspect that for the time being, the Applescript method will be both
more accessible, better documented, and better supported, than the
other. However, I'm not sure if this is best for an ultimate solution.
I'm happy to look more into this and help where I can; however, I know
relatively little about CMake's internals.
Zach Pincus
Department of Biochemistry and Program in Biomedical Informatics
Stanford University School of Medicine
On Apr 22, 2004, at 11:23 AM, Chris Scharver wrote:
> On Apr 22, 2004, at 12:58 PM, Eric Wing wrote:
>
>> In conclusion, I suggest that everybody interested in
>> seeing CMake build native Xcode projects file a
>> Bug/Enhancement request with Apple to release the
>> Xcode file format documentation with the understanding
>> we use at our own risk.
>
> Thank you very much for the additional information, Eric! Could you
> provide the bug tracking numbers for those entries that have already
> been filed? It could make one less step for the engineers to track
> down when reading new requests.
>
> In the meantime, it looks like the way to integrated CMake projects
> with XCode is to create a new XCode project that uses the makefiles. I
> have done it a few times, but maybe something like AppleScript could
> automate that process.
>
> Chris
> --
> Chris Scharver
> Electronic Visualization Laboratory
> The University of Illinois at Chicago
> Ph: 312-996-3002 FAX: 312-413-7585
> <http://www.evl.uic.edu/scharver/>
>
> _______________________________________________
> Cmake mailing list
> Cmake at www.cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
>