title: Adding Text File to Xcode Project with CMakeList.txt
body: <p>If you have an Xcode project and want to add a file (say test.txt) to the project, you simply just drag and drop the file into the Xcode project and are asked if you want to "Copy items if needed" (which in this case I would do). Then you can access the file with:</p>
  
  <pre><code>[[NSBundle mainBundle] pathForResource:@"test" ofType:@"txt"];
  </code></pre>
  
  <p>Now with a Xcode project created via CMake (via CMakeLists.txt), how do I do the same thing? That is, have the test.txt file available inside the Xcode project just as if I did with the above method. Bonus points if you can make a group (AKA folder) show up inside of the Xcode project with the file inside.</p>