84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
比如有一个新建项目需要使用到多个文件夹里的源代码,每个文件夹包括无数cpp和h文件,如何将这些代码添加到我的现有项目里?
认证0级讲师
Existing project added.
Create from existing code.
Also, drag the file directly into the solution. Folders are also available, however, other types of files will also be added. Ctrl-click to select multiple files at the same time. Also search VS to add source files in batches.
Open project, project, add existing item
Use CMake? You can refer to a CMakeLists I wrote recently:
https://github.com/district10/bcp/tree/standalone#3-modify-cmakeliststxt
Existing project added.
Create from existing code.
Also, drag the file directly into the solution.
Folders are also available, however, other types of files will also be added.
Ctrl-click to select multiple files at the same time.
Also search VS to add source files in batches.
Open project, project, add existing item
Use CMake? You can refer to a CMakeLists I wrote recently:
https://github.com/district10/bcp/tree/standalone#3-modify-cmakeliststxt