Jump to content
  • Advertisement
Sign in to follow this  
fpsgamer

XCode Help For a Visual Studio User...

This topic is 3854 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

In visual studio one is able to have several "project files" within a single "Solution File". Is similar functionality available in Xcode? If so is there a guide a available on how to do this?

Share this post


Link to post
Share on other sites
Advertisement
Yes, in Xcode you can create multiple "targets". One way you can add a new target is by right clicking "Targets" in the Groups & Files panel, and selecting "Add...". You can specify, for each source file, which targets it belongs to (this choice comes up when you add a new file, and you can change it later by right click->Get Info->Targets). You can change the currently active target with a pulldown in the upper-left corner of the Project window.

Another way you can organize stuff is by creating multiple Xcode project files. You can include a seperate Xcodeproj by doing Add->Existing Framework. Xcode will be smart about these- when you do a build, Xcode will make sure to also build any out-of-date files in included projects.

Share this post


Link to post
Share on other sites
Quote:
Original post by pinacolada
Another way you can organize stuff is by creating multiple Xcode project files. You can include a seperate Xcodeproj by doing Add->Existing Framework. Xcode will be smart about these- when you do a build, Xcode will make sure to also build any out-of-date files in included projects.


I added several XCode projects as "existing frameworks" to a single project which builds an executable.

However, after hours of experimenting, I can't seem to get the "main" XCode projects to automatically rebuild out of date, or missing "sub-projects" which were added as "existing frameworks".

Am I missing something?

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!