Class NativePlatform

java.lang.Object
io.github.glorrian.cmakegradleplugin.util.NativePlatform

public abstract class NativePlatform extends Object
Represents a native platform for building with operating system.
  • Field Details

    • OS_NAME

      public static final String 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

      public static File 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