Package dev.nokee.language.cpp.tasks
Interface CppCompile.Options
- All Superinterfaces:
NativeCompileOptions
- Enclosing class:
- CppCompile
Compile options for C++ compilation.
-
Method Summary
Modifier and TypeMethodDescriptionorg.gradle.api.provider.Provider<NativeCompileOptions>Returns the compile options for the specified C++ compilation unit.org.gradle.api.provider.Property<Boolean>Returns the property to configure the debuggability for all compilation units.org.gradle.api.provider.Property<Boolean>Returns the property to configure incremental compilation after a failure.org.gradle.api.provider.Property<Boolean>Returns the property to configure the optimization for all compilation units.org.gradle.api.provider.Property<Boolean>Returns the property to configure the position independence for all compilation units.Returns the preprocessor options for all compilation units.Methods inherited from interface dev.nokee.language.nativebase.tasks.options.NativeCompileOptions
getCompilerArgs, getCompilerArgumentProviders
-
Method Details
-
getOptimized
Returns the property to configure the optimization for all compilation units.- Returns:
- the property to configure the optimization for all compilation units
-
getDebuggable
Returns the property to configure the debuggability for all compilation units.- Returns:
- the property to configure the debuggability for all compilation units
-
getPositionIndependentCode
Returns the property to configure the position independence for all compilation units.- Returns:
- the property to configure the position independence for all compilation units
-
getPreprocessorOptions
PreprocessorOptions getPreprocessorOptions()Returns the preprocessor options for all compilation units.- Returns:
- the preprocessor options for all compilation units
-
getIncrementalAfterFailure
Returns the property to configure incremental compilation after a failure.- Returns:
- the property to configure incremental compilation after a failure
-
forSource
Returns the compile options for the specified C++ compilation unit.- Parameters:
sourceFile- the C++ compilation unit- Returns:
- a provider to the compile options of a source file
-