• 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
How to create a C++ project in Xcode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to create a C++ project in Xcode


  • Subject: How to create a C++ project in Xcode
  • From: Justin Li <email@hidden>
  • Date: Thu, 12 Mar 2009 18:45:10 +0800

Hi all,

I use Mac os and Xcode now. I am using C++ not  Objective-c.

Here is my step:
  1. New Project -> Command Line Utility -> C++ Tool -> Save as avs
  2. Delete the original main.c (because I already have a MS project which include source files and header files)
  3. Ctrl+Click on Source in the Group & Files window. Add the exist source files (.c files in my original MS project) into Source directory. 
  4. Next, if I want to add the header files, where should I put these .h files in new Xcode project?
Besides, if the header files are added correctly, do I need to add make file (for Linux compile) or solution file(for MS compile) to this Xcode project? Or, just source files and header files are OK for compiling?

Finally, what is the Targets item in left window of Xcode for?

Thanks,

Justin
--
Department of Electronic Engineering
City University of Hong Kong
Kowloon, Hong Kong

 _______________________________________________
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: How to create a C++ project in Xcode
      • From: Rush Manbert <email@hidden>
    • Re: How to create a C++ project in Xcode
      • From: email@hidden
  • Prev by Date: Re: Cross Platform Dev List
  • Next by Date: Re: Fix and Continue - does it work?
  • Previous by thread: Re: Coded breakpoint
  • Next by thread: Re: How to create a C++ project in Xcode
  • Index(es):
    • Date
    • Thread