api / org.gradle.nativeplatform / NativeBinarySpec / getCppCompiler

getCppCompiler

abstract fun getCppCompiler(): PreprocessingTool

The configuration of the C++ compiler used when compiling C++ sources for this binary. Valid for SharedLibraryBinarySpec, StaticLibraryBinarySpec and NativeExecutableBinarySpec when the 'cpp' plugin is applied.