Individual vs2008 multi-Project Settings

Source: Internet
Author: User

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.

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.