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: "Timothy J. Wood" <email@hidden>
- Date: Sun, 16 Nov 2003 20:55:59 -0800
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
_______________________________________________
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.