Add folders in a visual c++ project

前端 未结 2 1547
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-21 04:21

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 I

2条回答
  •  情话喂你
    2020-12-21 04:28

    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.

提交回复
热议问题