Check out a partial source tree

In this example, we'll use SVN and describe the procedure to create a project by checking out the source from several folder locations in your version control system. For example, you have a folder in SVN called my_big_project, and this folder contains 100 subfolders (where each of them represent a different binary).
If the my_big_project folder has a Makefile and some other common folders, such as public_includes that you need in order to compile your subfolder my_binary, you'd have to follow these steps:
  1. Follow the instructions to check out a folder (my_big_project) as a new project, and then deselect the option Checkout recursively (SVN can't check out one file; it has to check out the entire folder).
  2. Locate the my_binary subfolder in SVN, right click, select Find > Check Out As… , and then select the option Check out as folder into existing project.
  3. Click Next.
  4. Select the previously created project.
  5. Click Finish.
  6. Optional: If you require any other subfolders, repeat steps 1 through 3.
  7. Switch to the C/C++ Perspective.
If you checked out more than one project that shares an SVN folder as its project root, you can't commit the .project file back into SVN. You would need to add it to the SVN ignore property to prevent it from showing up as a changed resource.