Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Add folders in a visual c++ project

How can I add whole folder and its subdirectories in a visual c++ project? I am using visual studio 2010 professional. I mean you can add files by using Add Existing Item but how do you add a whole directory?

like image 850
MetallicPriest Avatar asked May 14 '12 18:05

MetallicPriest


1 Answers

The quickest way that I know of is to

  • add the folder to your project file directory using Windows Explorer
  • find the folder in Solution Explorer (make sure Show All Files is checked)
  • right click on the folder and select Include In Project

You may have to do the folder and the files separately, but you can select multiple files at once.

like image 134
Les Avatar answered Oct 19 '22 15:10

Les