# VisualCpp

@Incubating
interface VisualCpp : NativeToolChain(source)

The Visual C++ tool chain.

#### Since

2.2

## Functions

eachPlatform
Link copied to clipboard
abstract fun eachPlatform(action: Action<in VisualCppPlatformToolChain>)
Adds an action that can fine-tune the tool configuration for each platform supported by this tool chain.
getDisplayName
Link copied to clipboard
abstract fun getDisplayName(): String
Returns a human consumable name for this tool chain.
getInstallDir
Link copied to clipboard
abstract fun getInstallDir(): File
The directory where Visual Studio or Visual C++ is installed.
getName
Link copied to clipboard
abstract fun getName(): String
The object's name.
getWindowsSdkDir
Link copied to clipboard
abstract fun getWindowsSdkDir(): File
The directory where Windows SDK is installed.
setInstallDir
Link copied to clipboard
abstract fun setInstallDir(installDir: Any)
The directory where Visual Studio or Visual C++ is installed.
setWindowsSdkDir
Link copied to clipboard
abstract fun setWindowsSdkDir(installDir: Any)
The directory where Windows SDK is installed.