1. Create an empty project. (Canceling the project folder allows the project files and project files to be stored in the same directory. When adding files for the first time in the project, you need to write the first-level project directory)
2. Create a local file framework. Such as SRC, config, common, and so on.
Manage the project directory. Right-click the project and select "filter". When adding files to the "filter" directory, write the "filter" directory to create a local folder.
If it is an existing file, perform an operation first, copy the existing file to the directory, and then add it to the project.
3. Add a new project. Write the new directory under the SRC project and select project> file menu> Save XXX as to put the project file and sln file together. Delete the old project file.
Add a CPP file for testing (note the path setting ).
General---project name is set to exe‑lib, and execan only be modified at a time. buildlog_example (projectname=.htm) (changing the file name is the same as that of the project by default. Multiple projects have naming conflicts)
C/C ++ --- add the include directory (the project directory file is the starting point. It seems that this option will only appear if the project contains a CPP file ).
Output files --- PDB name modification: $ (projectname). PDB
4. For function reference between projects, right-click a project and choose Project Dependencies from the shortcut menu to select a dependent project.