Skip to content

Commit aa8f865

Browse files
author
mikeblome
committed
adding release build topics
1 parent 58a7f4f commit aa8f865

4 files changed

Lines changed: 48 additions & 42 deletions

File tree

docs/build/TOC.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@
2626
## [Makefile Project Wizard](makefile-project-wizard.md)
2727
## [Application Settings, Makefile Project Wizard](application-settings-makefile-project-wizard.md)
2828
## [How to: Enable IntelliSense for Makefile Projects](how-to-enable-intellisense-for-makefile-projects.md)
29+
# [Release builds](release-builds.md)
30+
2931
# [Use the MSVC toolset from the command line](building-on-the-command-line.md)
3032
## [Walkthrough: Compile a Native C++ Program on the Command Line](walkthrough-compiling-a-native-cpp-program-on-the-command-line.md)
3133
## [Walkthrough: Compile a C program on the command line](walkthrough-compile-a-c-program-on-the-command-line.md)

docs/build/reference/TOC.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
#### [HLSL Property Pages: Advanced](hlsl-property-pages-advanced.md)
3838
#### [HLSL Property Pages: Output Files](hlsl-property-pages-output-files.md)
3939
# [Compiling a C/C++ Program](compiling-a-c-cpp-program.md)
40-
## [Setting Compiler Options](setting-compiler-options.md)
4140
## [Compiler Options](compiler-options.md)
4241
### [Compiler Options Listed by Category](compiler-options-listed-by-category.md)
4342
### [Compiler Options Listed Alphabetically](compiler-options-listed-alphabetically.md)
@@ -336,7 +335,6 @@
336335
#### [Calculating Necessary Values](calculating-necessary-values.md)
337336
#### [Unloading a Delay-Loaded DLL](unloading-a-delay-loaded-dll.md)
338337
### [Developing Your Own Helper Function](developing-your-own-helper-function.md)
339-
# [Release builds](release-builds.md)
340338
# [Configure C++ projects for 64-bit, x64 targets](../configuring-programs-for-64-bit-visual-cpp.md)
341339
## [How to: Configure C++ Projects to Target 64-Bit, x64 Platforms](../how-to-configure-visual-cpp-projects-to-target-64-bit-platforms.md)
342340
## [How to: Enable a 64-Bit C++ Toolset on the Command Line](../how-to-enable-a-64-bit-visual-cpp-toolset-on-the-command-line.md)

docs/build/reference/compiling-a-c-cpp-program.md

Lines changed: 46 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,59 @@ ms.assetid: f3eef5ab-d0be-4fb2-90f9-927e6ed58736
66
---
77
# Compiling a C/C++ Program
88

9-
For information on using the compiler, see the following sections:
9+
C and C++ compiler options can be set either in the development environment or on the command line.
1010

11-
- [Setting Compiler Options](setting-compiler-options.md)
11+
## In the Development Environment
12+
13+
You can set compiler options for each project in its **Property Pages** dialog box. In the left pane, select **Configuration Properties**, **C/C++** and then choose the compiler option category. The topic for each compiler option describes how it can be set and where it is found in the development environment. See [Compiler Options](compiler-options.md) for a complete list.
14+
15+
## Outside the Development Environment
16+
17+
You can set compiler (CL.exe) options:
18+
19+
- [On the command line](compiler-command-line-syntax.md)
20+
21+
- [In command files](cl-command-files.md)
22+
23+
- [In the CL environment variable](cl-environment-variables.md)
24+
25+
Options specified in the CL environment variable are used every time you invoke CL. If a command file is named in the CL environment variable or on the command line, the options specified in the command file are used. Unlike either the command line or the CL environment variable, a command file allows you to use multiple lines of options and filenames.
26+
27+
Compiler options are processed "left to right," and when a conflict is detected, the last (rightmost) option wins. The CL environment variable is processed before the command line, so in any conflicts between CL and the command line, the command line takes precedence.
28+
29+
## Additional Compiler Topics
1230

1331
- [Compiler Options](compiler-options.md)
1432

1533
- [Creating Precompiled Header Files](creating-precompiled-header-files.md)
1634

1735
- [Unicode Support in the Compiler and Linker](unicode-support-in-the-compiler-and-linker.md)
36+
-
37+
- C and C++ compiler options can be set either in the development environment or on the command line.
38+
39+
## In the Development Environment
40+
41+
You can set compiler options for each project in its **Property Pages** dialog box. In the left pane, select **Configuration Properties**, **C/C++** and then choose the compiler option category. The topic for each compiler option describes how it can be set and where it is found in the development environment. See [Compiler Options](compiler-options.md) for a complete list.
42+
43+
## Outside the Development Environment
44+
45+
You can set compiler (CL.exe) options:
46+
47+
- [On the command line](compiler-command-line-syntax.md)
48+
49+
- [In command files](cl-command-files.md)
50+
51+
- [In the CL environment variable](cl-environment-variables.md)
52+
53+
Options specified in the CL environment variable are used every time you invoke CL. If a command file is named in the CL environment variable or on the command line, the options specified in the command file are used. Unlike either the command line or the CL environment variable, a command file allows you to use multiple lines of options and filenames.
54+
55+
Compiler options are processed "left to right," and when a conflict is detected, the last (rightmost) option wins. The CL environment variable is processed before the command line, so in any conflicts between CL and the command line, the command line takes precedence.
56+
57+
## Additional Compiler Topics
58+
59+
- [Fast Compilation](fast-compilation.md)
60+
61+
- [CL Invokes the Linker](cl-invokes-the-linker.md)
1862

1963
For information on choosing the compiler host and target architecture, see [Configure Visual C++ for 64-bit, x64 targets](../../build/configuring-programs-for-64-bit-visual-cpp.md).
2064

docs/build/reference/setting-compiler-options.md

Lines changed: 0 additions & 38 deletions
This file was deleted.

0 commit comments

Comments
 (0)