I'm having a really hard time finding this in the documentation.
I also do not know if this is the correct place to ask this question, if not please point me to the correct place.
I currently have a workspace - with for now 1 application - a C++ command line tool, and 1 static library. I will quickly have N libraries, and N applications. For example - each library will often has its own unit test application, or demo application.
Finally, there is or will be THE MAIN APP... which is just another command line tool.
My problem is this: I am trying to understand how to set this up using Xcode as the IDE - but I cannot find this type of information in the user documentation.
What I can and cannot do:
Within a workspace - I can individually create an APP, and a STATIC LIB
What I can not do is make the APP - refer to the LIBRARY - ie: Use the header files, and the ".a" file for linking purposes.
What I am expecting is - this: I would think that I should be able to add a reference to an existing library project within workspace - and most of this would be handled automatically.
And - the XCODE work space would some how provide the required paths... or at least some ${VARS} that I can use to refer to things in paths, ec.
that is generally how it works in other IDEs.
What would be very helpful is - a "guided tutorial" (screen shots) that shows how to setup X code for several command line tools, and several Libraries. Minimally - 1 application and 1 static library. But several would provide a better example.
Also - each of the projects should have a "source" folder, and an "include" folder for the header files.
This would include something at the workspace level (Eclipse does this, as does Visual Studio) - that lets you browse between projects within the selected workspace, the use case example is: Modify a library source file, then enhance some unit test - - then switch back to the main application you are focusing on.
What I don't see, or cannot find is that top level browse the projects solution in Xcode. I only see 1 project - the project that I have opened
I also do not know if this is the correct place to ask this question, if not please point me to the correct place.
I currently have a workspace - with for now 1 application - a C++ command line tool, and 1 static library. I will quickly have N libraries, and N applications. For example - each library will often has its own unit test application, or demo application.
Finally, there is or will be THE MAIN APP... which is just another command line tool.
My problem is this: I am trying to understand how to set this up using Xcode as the IDE - but I cannot find this type of information in the user documentation.
What I can and cannot do:
Within a workspace - I can individually create an APP, and a STATIC LIB
What I can not do is make the APP - refer to the LIBRARY - ie: Use the header files, and the ".a" file for linking purposes.
What I am expecting is - this: I would think that I should be able to add a reference to an existing library project within workspace - and most of this would be handled automatically.
And - the XCODE work space would some how provide the required paths... or at least some ${VARS} that I can use to refer to things in paths, ec.
that is generally how it works in other IDEs.
What would be very helpful is - a "guided tutorial" (screen shots) that shows how to setup X code for several command line tools, and several Libraries. Minimally - 1 application and 1 static library. But several would provide a better example.
Also - each of the projects should have a "source" folder, and an "include" folder for the header files.
This would include something at the workspace level (Eclipse does this, as does Visual Studio) - that lets you browse between projects within the selected workspace, the use case example is: Modify a library source file, then enhance some unit test - - then switch back to the main application you are focusing on.
What I don't see, or cannot find is that top level browse the projects solution in Xcode. I only see 1 project - the project that I have opened