• 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
Re: Is there still no way to just compile a single file?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is there still no way to just compile a single file?


  • Subject: Re: Is there still no way to just compile a single file?
  • From: Gerd Knops <email@hidden>
  • Date: Sun, 14 Jul 2013 08:51:42 -0500

On Jul 13, 2013, at 8:24 PM, Jeffrey Walton <email@hidden> wrote:

> On Sat, Jul 13, 2013 at 9:02 PM, Jens Alfke <email@hidden> wrote:
>>
>> On Jul 13, 2013, at 5:42 PM, Gerd Knops <email@hidden> wrote:
>>
>> Actually it'd be really useful for command line use, for those of us
>> preferring a different source code editor.
>>
>>
>> Um, ‘cc’? AKA ‘clang’?
>>
>> It’s been a while since I did this, but it’s something like “clang
>> --framework Foundation foo.m -o foo && ./foo”.
> You can see the command line being used by Xcode to build a project in
> the Log Navigator, and then expand one of the "compile XXX.m"
> disclosures. Below is a sample form a test project.

None of this is helping. Given a project, target and source file there should be a way to build just that source file in the context of the project (include paths, framework etc). Something along the lines of

	xcodebuild -project MyProject -target MyTarget -files MySourceFile1.m

Gerd


 _______________________________________________
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: Is there still no way to just compile a single file?
      • From: "Mills, Steve" <email@hidden>
References: 
 >Is there still no way to just compile a single file? (From: Rick Mann <email@hidden>)
 >Re: Is there still no way to just compile a single file? (From: Jens Alfke <email@hidden>)
 >Re: Is there still no way to just compile a single file? (From: Gerd Knops <email@hidden>)
 >Re: Is there still no way to just compile a single file? (From: Jens Alfke <email@hidden>)
 >Re: Is there still no way to just compile a single file? (From: Jeffrey Walton <email@hidden>)

  • Prev by Date: Re: Unit Test "runtime information does not match" private framework
  • Next by Date: Re: Unit Test "runtime information does not match" private framework
  • Previous by thread: Re: Is there still no way to just compile a single file?
  • Next by thread: Re: Is there still no way to just compile a single file?
  • Index(es):
    • Date
    • Thread