6.1.3.13. MicrosoftToolchainsΒΆ

Microsoft C/C++ compiler toolchain

This rulegroup configures cafeCC to emulate a Microsoft Visual C/C++ compiler.

On the command-line, you can use build_sln to build your Visual Studio solution (.sln file) or build_vcxproj to build your Visual Studio project (.vcxproj file). In the Axivion CI, both of these tools can be used with the MSBuildIntegration rule.

The Microsoft compiler rule can typically be enabled without any additional configuration: If the INCLUDE environment variable is set (either by MSBuild or by vcvarsall.bat), cafeCC will find the system headers and behave appropriately for the Visual Studio version detected from the include paths.

You have to choose exactly one of the compiler profiles in a project configuration.

Nested Rules

MicrosoftToolchain

Microsoft C/C++ compiler toolchain

Options

  • Setting an option for this rule means setting the default for all nested rules.

  • The following places define options that affect this rule: Project-GlobalOptions

  • This rule has no individual options.