Re: Help - custom compiler spec, but nothing happens!
Re: Help - custom compiler spec, but nothing happens!
- Subject: Re: Help - custom compiler spec, but nothing happens!
- From: Scott Tooker <email@hidden>
- Date: Mon, 17 Nov 2003 20:39:57 -0800
Perhaps, "doesn't work" is a bit strong. A better word would be
"unsupported" :)
Scott
On Nov 16, 2003, at 8:55 PM, Timothy J. Wood wrote:
>
> On Sunday, November 16, 2003, at 06:08 PM, Scott Tooker wrote:
>
>> Setting up your own custom compiler spec doesn't work in Xcode 1.0.
>
> Huh? It's working for me (at least minimally). Maybe I'm
> misunderstanding, but...
>
> % cat '~/Library/Application Support/Apple/Developer
> Tools/Specifications/Extra.pbcompspec'
> (
> // OmniGL CC
> {
> Identifier = com.omnigroup.compilers.gcc.ogl-cc;
> Class = PBXCompilerSpecificationGcc3_3;
> BasedOn = com.apple.compilers.gcc;
> Name = "OmniGL GCC Wrapper";
> Version = "1.0";
> Vendor = "OmniGroup";
> ExecPath =
> "/Users/Shared/$(USER)/Source/OmniGames/OmniGamePlatform/Scripts/ogl-
> cc";
> SupportsGCCStylePCH = yes;
> OptionsForCommandLine = (MINGW_BUILD_STYLE);
> Options = {
> MINGW_BUILD_STYLE = {
> Type = enum;
> AllowedValues = (DLL, LIB);
> DefaultValue = DLL;
> CommandLineArgs = {
> "<<otherwise>>"=("-MINGW_BUILD_STYLE=${0}"); };
> CommonOption = NO;
> };
> };
> OptionCategories = (
> { Name = Stuff;
> IconName = "PBX-option-build";
> Options = (
> MINGW_BUILD_STYLE,
> );
> },
> );
> }
> )
>
> I can select 'OmniGL GCC Wrapper' as the compiler for 'C' files in
> Xcode and it runs my 'ogl-cc' script. I do actually get a
> '-MINGW_BUILD_STYLE=(DLL|LIB)' command line argument passed too, even
> though there is no UI present in the settings panel (I just have to
> manually add it to the settings).
>
> -tim
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.