public interface CxxPlatform extends FlavorConvertible
Modifier and Type | Interface and Description |
---|---|
static class |
CxxPlatform.Builder |
Modifier and Type | Method and Description |
---|---|
static CxxPlatform.Builder |
builder() |
ArchiverProvider |
getAr() |
ArchiveContents |
getArchiveContents() |
com.google.common.collect.ImmutableList<Arg> |
getArflags() |
CompilerProvider |
getAs() |
com.google.common.collect.ImmutableList<Arg> |
getAsflags() |
Optional<CompilerProvider> |
getAsm() |
com.google.common.collect.ImmutableList<Arg> |
getAsmflags() |
Optional<PreprocessorProvider> |
getAsmpp() |
com.google.common.collect.ImmutableList<Arg> |
getAsmppflags() |
PreprocessorProvider |
getAspp() |
com.google.common.collect.ImmutableList<Arg> |
getAsppflags() |
Optional<String> |
getBinaryExtension() |
CompilerProvider |
getCc() |
com.google.common.collect.ImmutableList<Arg> |
getCflags() |
DebugPathSanitizer |
getCompilerDebugPathSanitizer() |
default com.google.common.collect.ImmutableSortedSet<String> |
getConflictingHeaderBasenameWhitelist() |
PreprocessorProvider |
getCpp() |
com.google.common.collect.ImmutableList<Arg> |
getCppflags() |
Optional<CompilerProvider> |
getCuda() |
com.google.common.collect.ImmutableList<Arg> |
getCudaflags() |
Optional<PreprocessorProvider> |
getCudapp() |
com.google.common.collect.ImmutableList<Arg> |
getCudappflags() |
CompilerProvider |
getCxx() |
com.google.common.collect.ImmutableList<Arg> |
getCxxflags() |
PreprocessorProvider |
getCxxpp() |
com.google.common.collect.ImmutableList<Arg> |
getCxxppflags() |
default boolean |
getFilepathLengthLimited() |
com.google.common.collect.ImmutableMap<String,String> |
getFlagMacros() |
Flavor |
getFlavor() |
Optional<HeaderMode> |
getHeaderMode() |
HeaderVerification |
getHeaderVerification() |
Optional<CompilerProvider> |
getHip() |
com.google.common.collect.ImmutableList<Arg> |
getHipflags() |
Optional<PreprocessorProvider> |
getHippp() |
com.google.common.collect.ImmutableList<Arg> |
getHipppflags() |
LinkerProvider |
getLd() |
com.google.common.collect.ImmutableList<Arg> |
getLdflags() |
String |
getObjectFileExtension() |
default PicType |
getPicTypeForSharedLinking()
nix platforms use PIC object files for shared libraries, while windows doesn't.
|
boolean |
getPrivateHeadersSymlinksEnabled()
When building or creating a project, create symlinks for the public headers if it's true.
|
boolean |
getPublicHeadersSymlinksEnabled()
When building or creating a project, create symlinks for the public headers if it's true.
|
Optional<ToolProvider> |
getRanlib() |
com.google.common.collect.ImmutableList<Arg> |
getRanlibflags() |
com.google.common.collect.ImmutableMultimap<Linker.LinkableDepType,Arg> |
getRuntimeLdflags() |
String |
getSharedLibraryExtension() |
Optional<SharedLibraryInterfaceParams> |
getSharedLibraryInterfaceParams() |
String |
getSharedLibraryVersionedExtensionFormat() |
String |
getStaticLibraryExtension() |
Tool |
getStrip() |
com.google.common.collect.ImmutableList<Arg> |
getStripFlags() |
SymbolNameTool |
getSymbolNameTool() |
Optional<Boolean> |
getUseArgFile() |
default CxxPlatform |
withArchiveContents(ArchiveContents archiveContents) |
default CxxPlatform |
withAsflags(com.google.common.collect.ImmutableList<Arg> asFlags) |
default CxxPlatform |
withCflags(com.google.common.collect.ImmutableList<Arg> cFlags) |
default CxxPlatform |
withCompilerDebugPathSanitizer(DebugPathSanitizer compilerDebugPathSanitizer) |
default CxxPlatform |
withConflictingHeaderBasenameWhitelist(com.google.common.collect.ImmutableSortedSet<String> conflictingHeaderBasenameWhitelist) |
default CxxPlatform |
withCpp(PreprocessorProvider cpp) |
default CxxPlatform |
withCppflags(com.google.common.collect.ImmutableList<Arg> cppFlags) |
default CxxPlatform |
withCxx(CompilerProvider compilerProvider) |
default CxxPlatform |
withCxxflags(com.google.common.collect.ImmutableList<Arg> cxxFlags) |
default CxxPlatform |
withCxxpp(PreprocessorProvider preprocessorProvider) |
default CxxPlatform |
withCxxppflags(com.google.common.collect.ImmutableList<Arg> cxxppflags) |
default CxxPlatform |
withFlagMacros(com.google.common.collect.ImmutableMap<String,String> flagMacros) |
default CxxPlatform |
withFlavor(Flavor flavor) |
Flavor getFlavor()
getFlavor
in interface FlavorConvertible
CompilerProvider getAs()
com.google.common.collect.ImmutableList<Arg> getAsflags()
PreprocessorProvider getAspp()
com.google.common.collect.ImmutableList<Arg> getAsppflags()
CompilerProvider getCc()
com.google.common.collect.ImmutableList<Arg> getCflags()
CompilerProvider getCxx()
com.google.common.collect.ImmutableList<Arg> getCxxflags()
PreprocessorProvider getCpp()
com.google.common.collect.ImmutableList<Arg> getCppflags()
PreprocessorProvider getCxxpp()
com.google.common.collect.ImmutableList<Arg> getCxxppflags()
Optional<PreprocessorProvider> getCudapp()
com.google.common.collect.ImmutableList<Arg> getCudappflags()
Optional<CompilerProvider> getCuda()
com.google.common.collect.ImmutableList<Arg> getCudaflags()
Optional<PreprocessorProvider> getHippp()
com.google.common.collect.ImmutableList<Arg> getHipppflags()
Optional<CompilerProvider> getHip()
com.google.common.collect.ImmutableList<Arg> getHipflags()
Optional<PreprocessorProvider> getAsmpp()
com.google.common.collect.ImmutableList<Arg> getAsmppflags()
Optional<CompilerProvider> getAsm()
com.google.common.collect.ImmutableList<Arg> getAsmflags()
LinkerProvider getLd()
com.google.common.collect.ImmutableList<Arg> getLdflags()
com.google.common.collect.ImmutableMultimap<Linker.LinkableDepType,Arg> getRuntimeLdflags()
Tool getStrip()
com.google.common.collect.ImmutableList<Arg> getStripFlags()
ArchiverProvider getAr()
ArchiveContents getArchiveContents()
com.google.common.collect.ImmutableList<Arg> getArflags()
Optional<ToolProvider> getRanlib()
com.google.common.collect.ImmutableList<Arg> getRanlibflags()
SymbolNameTool getSymbolNameTool()
String getSharedLibraryExtension()
String getSharedLibraryVersionedExtensionFormat()
String getStaticLibraryExtension()
String getObjectFileExtension()
DebugPathSanitizer getCompilerDebugPathSanitizer()
HeaderVerification getHeaderVerification()
com.google.common.collect.ImmutableMap<String,String> getFlagMacros()
Optional<SharedLibraryInterfaceParams> getSharedLibraryInterfaceParams()
boolean getPublicHeadersSymlinksEnabled()
boolean getPrivateHeadersSymlinksEnabled()
@Value.Default default PicType getPicTypeForSharedLinking()
@Value.Default default com.google.common.collect.ImmutableSortedSet<String> getConflictingHeaderBasenameWhitelist()
Optional<HeaderMode> getHeaderMode()
@Value.Default default boolean getFilepathLengthLimited()
static CxxPlatform.Builder builder()
default CxxPlatform withFlavor(Flavor flavor)
default CxxPlatform withAsflags(com.google.common.collect.ImmutableList<Arg> asFlags)
default CxxPlatform withCppflags(com.google.common.collect.ImmutableList<Arg> cppFlags)
default CxxPlatform withCflags(com.google.common.collect.ImmutableList<Arg> cFlags)
default CxxPlatform withCpp(PreprocessorProvider cpp)
default CxxPlatform withConflictingHeaderBasenameWhitelist(com.google.common.collect.ImmutableSortedSet<String> conflictingHeaderBasenameWhitelist)
default CxxPlatform withCxxppflags(com.google.common.collect.ImmutableList<Arg> cxxppflags)
default CxxPlatform withCxxflags(com.google.common.collect.ImmutableList<Arg> cxxFlags)
default CxxPlatform withArchiveContents(ArchiveContents archiveContents)
default CxxPlatform withFlagMacros(com.google.common.collect.ImmutableMap<String,String> flagMacros)
default CxxPlatform withCompilerDebugPathSanitizer(DebugPathSanitizer compilerDebugPathSanitizer)
default CxxPlatform withCxxpp(PreprocessorProvider preprocessorProvider)
default CxxPlatform withCxx(CompilerProvider compilerProvider)