• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Building a large framework
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Building a large framework


  • Subject: Building a large framework
  • From: "email@hidden" <email@hidden>
  • Date: Mon, 26 Aug 2013 22:57:45 +0100

I am trying to put together a framework that uses a fair amount of generated code.
At  present the target contains some 2800 generated .m and .h files.
I can alternatively generate monolithic output as 1 large (5MB) .m and 1 large (2MB) .h file.

Attempting to add the individual or monolithic files to a standard Xcode project results in endless indexing.
The googlable tips about turning off indexing don't seem to wash anymore on Xcode 4.6.3
Cleaning, rebuilding etc is fairly futile.

So I create an external build system project (first draft of makefile is below).
Now when I add files to the project it whips through the indexing in a spritely manner.

Hopefully the makefile will do the job but it is more tedious to maintain.

I would appreciate any insight on getting standard Xcode cocoa  projects from choking on large numbers of input files.

CC=clang 

# compiler vars
CINCLUDE:= -I/Library/Frameworks/Mono.framework/headers/mono-2.0 
CFRAMEWORKS:= -F ../../../../../products -F/Library/Frameworks
CVERBOSITY:= -v
CDEBUG:= -g
COBJC:= -x objective-c -arch $(ARCHS) -fexceptions
CWARNINGS:= -Wall -Werror

# link vars
LFRAMEWORKS:= -framework Foundation -framework Cocoa -framework Dubrovnik
LLIBRARIES:= -lobjc

CFLAGS= $(CWARNINGS) $(COBJC) $(CVERBOSITY) $(CDEBUG) $(CFRAMEWORKS) $(CINCLUDE) -c $(SOURCE) 
LDFLAGS=$(LLIBRARIES) $(LFRAMEWORKS)

SOURCES = $(wildcard *.m)

OBJECTS = $(SOURCES:.m=.o)

all: $(OBJECTS)

Regards

Jonathan









 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Building a large framework
      • From: Appa Rao Mulpuri <email@hidden>
  • Prev by Date: Re: iOS Storyboard - inspectors displaying nothing.
  • Next by Date: Re: Building a large framework
  • Previous by thread: Re: iOS Storyboard - inspectors displaying nothing.
  • Next by thread: Re: Building a large framework
  • Index(es):
    • Date
    • Thread