c++ - VS2012如何将一些现有代码添加到新项目里?
PHP中文网
PHP中文网 2017-04-17 13:43:17
0
3
614

比如有一个新建项目需要使用到多个文件夹里的源代码,每个文件夹包括无数cpp和h文件,如何将这些代码添加到我的现有项目里?

PHP中文网
PHP中文网

认证0级讲师

reply all(3)
黄舟

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

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!