discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: pbxbuild is now deprecated...


From: Gregory Casamento
Subject: Re: pbxbuild is now deprecated...
Date: Fri, 9 Mar 2012 15:13:06 -0500

Wrong list, actually. :) The original discussion was on gnustep-dev. ;)

Nevertheless, no... the new tool doesn't look at the spec files.   I
didn't know about them, but they seem to define what each type is
based on a hierarchy.

Currently the build tool hardcodes assumptions about file types and
such, but I believe this approach is much better as it allows it to be
extensible by adding xcplugins which contain specs to tell Xcode how
to handle certain things.

I don't think the tool will be using the spec files from the mac
because these files aren't distributed with the project.  It would be
nice to, however, learn from this architecture and incorporate some of
these ideas into the tool.

GC

On Fri, Mar 9, 2012 at 2:13 PM, Ivan Vučica <ivucica@gmail.com> wrote:
> Whoops, I accidentally went off-list.
>
> There are many .xcspec/.pbspec files that ship with Xcode and these
> determine how the projects are built. These determine supported languages
> (including how to colorize them), supported compilers, supported build
> systems, file types, format for .app bundles, et cetera.
>
> If you have a Mac around, search for files with following extensions:
>
> .xcspec
> .pbcompspec
> .pblinkspec
> .pbprodspec
> .pbbsetspec
> .pbfilespec
> .pblangspec
> .xclangspec
> .xcsynspec
> .xcperspec
> .xcbuildrules
> .pbRTSspec
> .trgttmpl
>
> Go to Xcode's folder and punch in:
> find . | grep .*\\.[px][bc].*spec
> Note, Xcode3 is much more interesting than Xcode4, especially since it
> supports plugins (albeit unofficially).
>
> Cocotron seems to be adding its cross compiler into Xcode by adding a spec
> file into the appropriate place.
>
> Also look at this C# plugin for Xcode:
> http://code.google.com/p/cocoa-sharp-dev/wiki/CSharpPlugin
>
> Some docs on spec files:
> http://code.google.com/p/xcode-plugin/wiki/Specifications
> http://maxao.free.fr/xcode-plugin-interface/
>
> This whole deal is basically why I got stuck with Zcode (aside from, at that
> time, still learning my way around AppKit and more advanced Objective-C
> concepts): I wanted to work on a build system that would use the spec files
> to generate the dependency tree and the build commands.
>
> On Fri, Mar 9, 2012 at 19:13, Gregory Casamento <greg.casamento@gmail.com>
> wrote:
>>
>> The XCode library and buildtool read the xcodeproj directly and follow
>> what is specified in each build phase in the order they are specified
>> in the xcodeproj file.
>>
>> I'm not familiar with what you are referring to with "spec" files.
>>
>> GC
>>
>> On Fri, Mar 9, 2012 at 5:56 AM, Ivan Vučica <ivucica@gmail.com> wrote:
>> > 9. 3. 2012., u 01:05, Gregory Casamento je napisao:
>> >
>> >> Guys,
>> >>
>> >> The pbxbuild program is now deprecated.  In spite of the fact that it
>> >> does work in many cases, it has already been superceded in
>> >> functionality by the buildtool/xcode framework I've been writing which
>> >> builds projects in the same way the xcodebuild tool does on mac os x,
>> >> through direct interpretation of the .xcodeproj file without any need
>> >> for GNUmakefiles.
>> >>
>> >> I urge people not to depend on pbxbuild any longer and for people to
>> >> look at the new buildtool/xcode framework which I will be releasing in
>> >> the next few weeks.
>> >>
>> >> Thanks, GC
>> >
>> > Do you make use of various files compatible with Xcode's spec files?
>>
>>
>>
>> --
>> Gregory Casamento
>> Open Logic Corporation, Principal Consultant
>> yahoo/skype: greg_casamento, aol: gjcasa
>> (240)274-9630 (Cell)
>> http://www.gnustep.org
>> http://heronsperch.blogspot.com
>
>
>
>
> --
> Ivan Vučica - ivan@vucica.net
>
>



-- 
Gregory Casamento
Open Logic Corporation, Principal Consultant
yahoo/skype: greg_casamento, aol: gjcasa
(240)274-9630 (Cell)
http://www.gnustep.org
http://heronsperch.blogspot.com



reply via email to

[Prev in Thread] Current Thread [Next in Thread]