According to this Apple doc:
Select the destination targets for your selected files or folder references. New folder references and files that can participate in the build process become members of the selected targets.
After I add a folder reference to my project, there is no change to the files in Compile Sources -- as a result, building the project results in many Undefined Symbols
problems. There are possibly a hundred cpp
files in the subdirs of the folder I am adding, surely there is a way to add them to the project without individually adding each one to the Compile Sources? That would be error prone as well as time-consuming.
When adding a folder of source files, or an arbitrary tree of folders that contain source files, you can have them all automatically get added to the Compile Sources by selecting one option when you add the files:
Create groups for any added folders
Without this, they will not be added. Big distinction, and it is not the default.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With