XCode - Automatically add all files in a folder to a target
Posted
by Akshay
on Stack Overflow
See other posts from Stack Overflow
or by Akshay
Published on 2010-05-19T20:13:59Z
Indexed on
2010/05/20
8:30 UTC
Read the original article
Hit count: 159
In XCode, is there a way to specify that all files in a folder are compiled by a target. Eg. the 'Test' target automatically compiles all files in the 'Tests' folder, whereas the 'App' target compiles everything in the 'Sources' folder. Today, the way I'm doing it, is to add a file to a target everytime I create it. This feels a bit error prone and redundant since the files are already organized in the correct folders.
Thanks.
© Stack Overflow or respective owner