共用方式為


Specify Debug Configuration Settings, Create New Project From Existing Code Files Wizard

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at New Project From Existing Code Debug Setting (Visual C++).

Use this page of the Create New Project From Existing Code Files wizard to specify Debug configuration project settings.

Task List

How to: Create a C++ Project from Existing Code

UIElement List

Build command line
Specifies the command line that builds the new project. For example, enter the name of the compiler (plus any switches and arguments) or the build scripts that you want to use to build the new project. This option is enabled when the Use external build system option is selected in the Specify Project Settings page; otherwise it is unavailable.

Rebuild command line
Specifies the command line that rebuilds the new project. This option is enabled when the Use external build system option is selected in the Specify Project Settings page; otherwise it is unavailable.

Clean command line
Specifies the command line to delete support files generated by the build tools for the new project. This option is enabled when the Use external build system option is selected in the Specify Project Settings page; otherwise it is unavailable.

Output (for debugging)
Specifies the directory path of the output files for the Debug configuration of the new project. This option is enabled when the Use external build system option is selected in the Specify Project Settings page; otherwise it is unavailable.

Preprocessor definitions (/D)
Defines preprocessor symbols for the new project. For more information, see /D (Preprocessor Definitions).

Include search path (/I)
Specifies directory paths to add to the list of directories that the compiler will search to resolve file references passed to preprocessor directives in the new project. For more information, see /I (Additional Include Directories).

Forced included files (/FI)
Specifies header files to process when building the new project. For more information, see /FI (Name Forced Include File).

.NET assembly search path (/AI)
Specifies the directory paths that the compiler will search to resolve .NET assembly references passed to preprocessor directives in the new project. For more information, see /AI (Specify Metadata Directories).

Forced using .NET assemblies (/FU)
Specifies .NET assemblies to process when building the new project. For more information, see /FU (Name Forced #using File).

See Also

Specify Project Settings, Create New Project From Existing Code Files Wizard