How to create a C++ project in Xcode
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:
- New Project -> Command Line Utility -> C++ Tool -> Save as avs
- Delete the original main.c (because I already have a MS project which include source files and header files)
- Ctrl+Click on Source in the Group & Files window. Add the exist source files (.c files in my original MS project) into Source directory.
- 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