# VisualCpp

@Incubating
interface VisualCpp : NativeToolChain(source)

The Visual C++ tool chain.

## 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
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
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.