Package com.facebook.buck.cxx.toolchain
Enum DependencyTrackingMode
- java.lang.Object
-
- java.lang.Enum<DependencyTrackingMode>
-
- com.facebook.buck.cxx.toolchain.DependencyTrackingMode
-
- All Implemented Interfaces:
Serializable
,Comparable<DependencyTrackingMode>
public enum DependencyTrackingMode extends Enum<DependencyTrackingMode>
Describes the underlying mechanism to track dependencies for a cxx compilation unit.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MAKEFILE
MAKEFILE corresponds to `gcc -MD -MF depfile ...` on *nixNONE
Some compilers - like ml64 - do not produce information about included filesSHOW_HEADERS
SHOW_HEADERS corresponds to `clang/gcc -H ...` on *nixSHOW_INCLUDES
SHOW_INCLUDES corresponds to `cl.exe /showIncludes ...` on windows
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DependencyTrackingMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static DependencyTrackingMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MAKEFILE
public static final DependencyTrackingMode MAKEFILE
MAKEFILE corresponds to `gcc -MD -MF depfile ...` on *nix
-
SHOW_HEADERS
public static final DependencyTrackingMode SHOW_HEADERS
SHOW_HEADERS corresponds to `clang/gcc -H ...` on *nix
-
SHOW_INCLUDES
public static final DependencyTrackingMode SHOW_INCLUDES
SHOW_INCLUDES corresponds to `cl.exe /showIncludes ...` on windows
-
NONE
public static final DependencyTrackingMode NONE
Some compilers - like ml64 - do not produce information about included files
-
-
Method Detail
-
values
public static DependencyTrackingMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DependencyTrackingMode c : DependencyTrackingMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DependencyTrackingMode valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-