You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/linux/prop-pages/c-cpp-linux.md
+23-23Lines changed: 23 additions & 23 deletions
Original file line number
Diff line number
Diff line change
@@ -19,14 +19,14 @@ Linux support is available in Visual Studio 2017 and later.
19
19
20
20
Property | Description | Choices
21
21
--- | ---| ---
22
-
Additional Include Directories | Specifies one or more directories to add to the include path; separate with semi-colons if more than one. (-I[path]).
22
+
Additional Include Directories | Specifies one or more directories to add to the include path. Use semi-colons to separate multiple directories. (-I\[path]).
23
23
Debug Information Format | Specifies the type of debugging information generated by the compiler. | **None** - Produces no debugging information, so compilation may be faster.<br/>**Minimal Debug Information** - Generate minimal debug information.<br/>**Full Debug Information (DWARF2)** - Generate DWARF2 debug information.<br/>
24
-
Object File Name | Specifies a name to override the default object file name; can be file or directory name. (-o [name]).
25
-
Warning Level | Select how strict you want the compiler to be about code errors. Other flags should be added directly to Additional Options. (/w, /Weverything). | **Turn Off All Warnings** - Disables all compiler warnings.<br/>**EnableAllWarnings** - Enables all warnings, including those disabled by default.<br/>
26
-
Treat Warnings As Errors | Treats all compiler warnings as errors. For a new project, it may be best to use /Werror in all compilations; resolving all warnings will ensure the fewest possible hard-to-find code defects.
24
+
Object File Name | Specifies a name to override the default object file name. It can be a file or directory name. (-o [name]).
25
+
Warning Level | Selects how strict you want the compiler to be about code errors. Add other flags directly to **Additional Options**. (/w, /Weverything). | **Turn Off All Warnings** - Disables all compiler warnings.<br/>**EnableAllWarnings** - Enables all warnings, including ones disabled by default.<br/>
26
+
Treat Warnings As Errors | Treats all compiler warnings as errors. For a new project, it may be best to use /Werror in all compilations. Resolve all warnings to ensure the fewest possible hard-to-find code defects.
27
27
C Additional Warnings | Defines a set of additional warning messages.
28
28
C++ Additional Warnings | Defines a set of additional warning messages.
29
-
Enable Verbose mode | When Verbose mode is enabled, this tool would print out more information that for diagnosing the build.
29
+
Enable Verbose mode | When Verbose mode is enabled, prints out more information to diagnose the build.
30
30
C Compiler | Specifies the program to invoke during compilation of C source files, or the path to the C compiler on the remote system.
31
31
C++ Compiler | Specifies the program to invoke during compilation of C++ source files, or the path to the C++ compiler on the remote system.
32
32
Compile Timeout | Remote compilation timeout, in milliseconds.
@@ -36,46 +36,46 @@ Copy Object Files | Specifies whether to copy the compiled object files from the
36
36
37
37
Property | Description | Choices
38
38
--- | ---| ---
39
-
Optimization | Specifies the optimization level for the application. | **Custom** - Custom optimization.<br/>**Disabled** - Disable optimization.<br/>**Minimize Size** - Optimize for size.<br/>**Maximize Speed** - Optimize for speed.<br/>**Full Optimization** - Expensive optimizations.<br/>
40
-
Strict Aliasing | Assume the strictest aliasing rules. An object of one type will never be assumed to reside at the same address as an object of a different type.
41
-
Unroll Loops | Unroll loops to make application faster by reducing number of branches executed at the cost of larger code size.
42
-
Link Time Optimization | Enable Inter-Procedural optimizations by allowing the optimizer to look across object files in your application.
39
+
Optimization | Specifies the optimization level for the application. | **Custom** - Custom optimization.<br/>**Disabled** - Disable optimization.<br/>**Minimize Size** - Optimize for size.<br/>**Maximize Speed** - Optimize for speed.<br/>**Full Optimization** - Expensive optimizations.
40
+
Strict Aliasing | Assumes the strictest aliasing rules. An object of one type is never assumed to have the same address as an object of a different type.
41
+
Unroll Loops | Unrolls loops to make the application faster by reducing the number of branches executed, at the cost of larger code size.
42
+
Link Time Optimization | Enables inter-procedural optimizations by allowing the optimizer to look across object files in your application.
43
43
Omit Frame Pointer | Suppresses creation of frame pointers on the call stack.
44
-
No Common Blocks | Allocate even unintialized global variables in the data section of the object file, rather then generating them as common blocks
44
+
No Common Blocks | Allocates even uninitialized global variables in the data section of the object file, rather than generate them as common blocks.
45
45
46
46
## Preprocessor
47
47
48
48
Property | Description | Choices
49
49
--- | ---| ---
50
-
Preprocessor Definitions | Defines a preprocessing symbols for your source file. (-D)
51
-
Undefine Preprocessor Definitions | Specifies one or more preprocessor undefines. (-U [macro])
52
-
Undefine All Preprocessor Definitions | Undefine all previously defined preprocessor values. (-undef)
50
+
Preprocessor Definitions | Defines preprocessing symbols for your source file. (-D)
51
+
Undefine Preprocessor Definitions | Specifies one or more preprocessor undefines. (-U \[macro])
52
+
Undefine All Preprocessor Definitions | Undefines all previously defined preprocessor values. (-undef)
53
53
Show Includes | Generates a list of include files with compiler output. (-H)
54
54
55
55
## Code Generation
56
56
57
57
Property | Description | Choices
58
58
--- | ---| ---
59
-
Position Independent Code | Generate Position Independent Code (PIC) for use in a shared library.
60
-
Statics are thread safe | Emit Extra code to use routines specified in C++ ABI for threadsafe initilization of local statics. | **No** - Disable threadsafe statics.<br/>**Yes** - Enable threadsafe statics.<br/>
61
-
Floating Point Optimization | Enables floatingpoint optimizations by relaxing IEEE-754 compliance.
62
-
Inline Methods Hidden | When enabled, out-of-line copies of inline methods are declared 'private extern'.
63
-
Symbol Hiddens By Default | All symbols are declared 'private extern' unless explicitly marked to be exported using the '__attribute' macro.
64
-
Enable C++ Exceptions | Specifies the model of exceptionhandling to be used by the compiler. | **No** - Disable exception handling.<br/>**Yes** - Enable exception handling.<br/>
59
+
Position Independent Code | Generates position-independent code (PIC) for use in a shared library.
60
+
Statics are thread safe | Emits extra code to use routines specified in the C++ ABI for thread-safe initialization of local statics. | **No** - Disable thread-safe statics.<br/>**Yes** - Enable thread-safe statics.
61
+
Floating Point Optimization | Enables floating-point optimizations by relaxing IEEE-754 compliance.
62
+
Inline Methods Hidden | When enabled, out-of-line copies of inline methods are declared `private extern`.
63
+
Symbols Hidden By Default | All symbols are declared `private extern` unless explicitly marked for export by using the `__attribute` macro.
64
+
Enable C++ Exceptions | Specifies the exception-handling model used by the compiler. | **No** - Disable exception handling.<br/>**Yes** - Enable exception handling.
65
65
66
66
## Language
67
67
68
68
Property | Description | Choices
69
69
--- | ---| ---
70
70
Enable Run-Time Type Information | Adds code for checking C++ object types at run time (runtime type information). (frtti, fno-rtti)
71
-
C Language Standard | Determines the C language standard. | **Default**<br/>**C89** - C89 Language Standard.<br/>**C99** - C99 Language Standard.<br/>**C11** - C11 Language Standard.<br/>**C99 (GNU Dialect)** - C99 (GNU Dialect) Language Standard.<br/>**C11 (GNU Dialect)** - C11 (GNU Dialect) Language Standard.<br/>
72
-
C++ Language Standard | Determines the C++ language standard. | **Default**<br/>**C++03** - C++03 Language Standard.<br/>**C++11** - C++11 Language Standard.<br/>**C++14** - C++14 Language Standard.<br/>**C++03 (GNU Dialect)** - C++03 (GNU Dialect) Language Standard.<br/>**C++11 (GNU Dialect)** - C++11 (GNU Dialect) Language Standard.<br/>**C++14 (GNU Dialect)** - C++14 (GNU Dialect) Language Standard.<br/>
71
+
C Language Standard | Determines the C language standard. | **Default**<br/>**C89** - C89 Language Standard.<br/>**C99** - C99 Language Standard.<br/>**C11** - C11 Language Standard.<br/>**C99 (GNU Dialect)** - C99 (GNU Dialect) Language Standard.<br/>**C11 (GNU Dialect)** - C11 (GNU Dialect) Language Standard.
72
+
C++ Language Standard | Determines the C++ language standard. | **Default**<br/>**C++03** - C++03 Language Standard.<br/>**C++11** - C++11 Language Standard.<br/>**C++14** - C++14 Language Standard.<br/>**C++03 (GNU Dialect)** - C++03 (GNU Dialect) Language Standard.<br/>**C++11 (GNU Dialect)** - C++11 (GNU Dialect) Language Standard.<br/>**C++14 (GNU Dialect)** - C++14 (GNU Dialect) Language Standard.
73
73
74
74
## Advanced
75
75
76
76
Property | Description | Choices
77
77
--- | ---| ---
78
-
Compile As | Select compile language option for .c and .cpp files. 'Default' will detect based on .c or .cpp extention. (-x c, -x c++) | **Default** - Default.<br/>**Compile as C Code** - Compile as C Code.<br/>**Compile as C++ Code** - Compile as C++ Code.<br/>
79
-
Forced Include Files | One or more forced include files (-include [name])
78
+
Compile As | Selects compilation language option for .c and .cpp files. (-x c, -x c++) | **Default** - Detect based on the .c or .cpp extension.<br/>**Compile as C Code** - Compile as C code.<br/>**Compile as C++ Code** - Compile as C++ code.
79
+
Forced Include Files | Specifies one or more forced include files (-include \[name])
0 commit comments