I have many C++ projects/files I would like to create into aCommand Line Tool
file type .xcodeproj
for debugging purposes. The only way I can think of doing this successfully is to create a new Command Line Tool
Xcode project > Type: C++
then add the C++ project directory or files. Is there anyway to do this without creating a new project and manually adding the file(s) to it?
Note: Xcode opens the individual .cpp files by default but they're not associated as a Command Line Tool
or have an .xcodeproj
file type.
looking for doing the same I found this link, I hope to be useful
http://hiltmon.com/blog/2013/07/05/xcode-and-the-simple-c-plus-plus-project-structure/
the link show you how to configure Xcode to work in an c++ project, is a little tricky but works.