id = "premake" name = "Premake" description = "Build configuration tool that generates project files and makefiles from Lua scripts." homepage = "https://premake.github.io" executables = ["premake"] [commands] format = 1 label = "Premake" description = "Generate project files from a premake5.lua script, or clean generated files. Other actions (for example older Visual Studio versions) and the interactive and debugger options are not covered." quality = "ai-draft" base = "fig:premake" parser = { end_of_options = "--", interleave = "permute", long_equals = false, short_attached = true, short_bundles = false } [[commands.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/premake.ts" license = "MIT" [[commands.subcommand]] path = ["gmake2"] label = "Generate Makefiles" description = "Generate GNU Makefiles (including Cygwin and MinGW)." [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/premake.ts" license = "MIT" [[commands.subcommand.field]] id = "file" label = "premake5.lua file" type = "path" option = ["--file"] path = { kind = "file", role = "input" } sources = ["fig"] [[commands.subcommand.field]] id = "os" label = "Target OS" type = "string" option = ["--os"] suggestions = [{ value = "linux", label = "Linux" }, { value = "macosx", label = "macOS" }, { value = "windows", label = "Windows" }, { value = "ios", label = "iOS" }, { value = "android", label = "Android" }, { value = "bsd", label = "BSD" }] sources = ["fig"] [[commands.subcommand.field]] id = "cc" label = "C/C++ compiler set" type = "string" option = ["--cc"] suggestions = [{ value = "clang", label = "Clang" }, { value = "gcc", label = "GCC" }, { value = "mingw", label = "MinGW" }] sources = ["fig"] [[commands.subcommand.field]] id = "fatal" label = "Warnings are errors" type = "boolean" option = ["--fatal"] sources = ["fig"] [[commands.subcommand.field]] id = "verbose" label = "Verbose output" type = "boolean" option = ["--verbose"] sources = ["fig"] [[commands.subcommand.task]] id = "gmake2" label = "Generate Makefiles" fields = ["file", "os", "cc", "fatal", "verbose"] required = [] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["file", "os", "cc", "fatal", "verbose"] [[commands.subcommand]] path = ["xcode4"] label = "Generate Xcode project" description = "Generate Apple Xcode 4 project files." [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/premake.ts" license = "MIT" [[commands.subcommand.field]] id = "file" label = "premake5.lua file" type = "path" option = ["--file"] path = { kind = "file", role = "input" } sources = ["fig"] [[commands.subcommand.field]] id = "os" label = "Target OS" type = "string" option = ["--os"] suggestions = [{ value = "linux", label = "Linux" }, { value = "macosx", label = "macOS" }, { value = "windows", label = "Windows" }, { value = "ios", label = "iOS" }, { value = "android", label = "Android" }, { value = "bsd", label = "BSD" }] sources = ["fig"] [[commands.subcommand.field]] id = "cc" label = "C/C++ compiler set" type = "string" option = ["--cc"] suggestions = [{ value = "clang", label = "Clang" }, { value = "gcc", label = "GCC" }, { value = "mingw", label = "MinGW" }] sources = ["fig"] [[commands.subcommand.field]] id = "fatal" label = "Warnings are errors" type = "boolean" option = ["--fatal"] sources = ["fig"] [[commands.subcommand.field]] id = "verbose" label = "Verbose output" type = "boolean" option = ["--verbose"] sources = ["fig"] [[commands.subcommand.task]] id = "xcode4" label = "Generate Xcode project" fields = ["file", "os", "cc", "fatal", "verbose"] required = [] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["file", "os", "cc", "fatal", "verbose"] [[commands.subcommand]] path = ["vs2022"] label = "Generate Visual Studio 2022" description = "Generate Visual Studio 2022 project files." [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/premake.ts" license = "MIT" [[commands.subcommand.field]] id = "file" label = "premake5.lua file" type = "path" option = ["--file"] path = { kind = "file", role = "input" } sources = ["fig"] [[commands.subcommand.field]] id = "os" label = "Target OS" type = "string" option = ["--os"] suggestions = [{ value = "linux", label = "Linux" }, { value = "macosx", label = "macOS" }, { value = "windows", label = "Windows" }, { value = "ios", label = "iOS" }, { value = "android", label = "Android" }, { value = "bsd", label = "BSD" }] sources = ["fig"] [[commands.subcommand.field]] id = "cc" label = "C/C++ compiler set" type = "string" option = ["--cc"] suggestions = [{ value = "clang", label = "Clang" }, { value = "gcc", label = "GCC" }, { value = "mingw", label = "MinGW" }] sources = ["fig"] [[commands.subcommand.field]] id = "fatal" label = "Warnings are errors" type = "boolean" option = ["--fatal"] sources = ["fig"] [[commands.subcommand.field]] id = "verbose" label = "Verbose output" type = "boolean" option = ["--verbose"] sources = ["fig"] [[commands.subcommand.task]] id = "vs2022" label = "Generate Visual Studio 2022" fields = ["file", "os", "cc", "fatal", "verbose"] required = [] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["file", "os", "cc", "fatal", "verbose"] [[commands.subcommand]] path = ["clean"] label = "Clean" description = "Remove all binaries and generated files." [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/premake.ts" license = "MIT" [[commands.subcommand.field]] id = "file" label = "premake5.lua file" type = "path" option = ["--file"] path = { kind = "file", role = "input" } sources = ["fig"] [[commands.subcommand.field]] id = "os" label = "Target OS" type = "string" option = ["--os"] suggestions = [{ value = "linux", label = "Linux" }, { value = "macosx", label = "macOS" }, { value = "windows", label = "Windows" }, { value = "ios", label = "iOS" }, { value = "android", label = "Android" }, { value = "bsd", label = "BSD" }] sources = ["fig"] [[commands.subcommand.field]] id = "fatal" label = "Warnings are errors" type = "boolean" option = ["--fatal"] sources = ["fig"] [[commands.subcommand.field]] id = "verbose" label = "Verbose output" type = "boolean" option = ["--verbose"] sources = ["fig"] [[commands.subcommand.task]] id = "clean" label = "Clean" fields = ["file", "os", "fatal", "verbose"] required = [] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["file", "os", "fatal", "verbose"]