Class NativePlatform
java.lang.Object
io.github.glorrian.cmakegradleplugin.util.NativePlatform
Represents a native platform for building with operating system.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final booleanstatic final booleanstatic final booleanstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic FileA method for searching for the CMake executable file in system variables.
-
Field Details
-
OS_NAME
-
IS_LINUX
public static final boolean IS_LINUX -
IS_MACOS
public static final boolean IS_MACOS -
IS_WINDOWS
public static final boolean IS_WINDOWS
-
-
Constructor Details
-
NativePlatform
public NativePlatform()
-
-
Method Details
-
getCMakeExecutable
A method for searching for the CMake executable file in system variables. If the file is found once in the following method calls, it will be taken from the buffer and will not be searched again- Returns:
- The CMake executable file
-