Well since they were compiled OK and initially added ( dragged ) into the project I assumed yes.
But on reading this, i took a look at the build phases tab and noticed that my cpp files weren’t in the “compile sources” list and added them with the plus button.
i now get far less errors ( i think there might be just a few CPP method implementations missing )
But i didn’t realise I had to do this extra step. Shouldn’t the fact i can compile and see my cpp files in the left hand side automatically include them in the project for linking ?
Is this some new Xcode 4 “feature” ?
Possibly but don’t think so, to my recollection I used introducer initially but then added my own cpp files afterwards directly into the Xcode project.
I did this recently since on JUCE 2.0 decided to create a new just project from scratch using introducer and then add my stuff.
the latest changes following from justing seem to have mad a big difference so i’ll crack on. I think the LINKER can touch the cpp files now.
When you drag sources into Xcode you need to make sure “add to target” is selected. This is the same for Xcode 3.2 but I think it defaults to on rather than off. This can be useful if you have multiple targets and have different sources for each of them.