Reputation: 2853
I have a project directory which has multiple cpp files. Each of these files has a main function tied to the respective files. Can i execute each of these files individually or do i have to modify some configurations in Xcode to target each of the files individually. If so, what are steps that i have to take?
This is what the structure looks like in Xcode
Project1
Project1
main1.cpp
main2.cpp
main3.cpp
Upvotes: 1
Views: 8758
Reputation: 6014
It's relatively straight forward to have multiple targets under the same project:
Upvotes: 8