iujakchu / xmake.nvim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

| English | 简体中文 |

xmake.nvim

This plugin utilizes nui.nvim to provide selections that allow you to quickly configure, build, and clean with xmake. It also generates automatically upon saving the xmake.lua file.

Set Menu Set Toolchain
Set Build Mode Build Target

Installation

lazy.nvim:

{
    "Mythos-404/xmake.nvim"
    lazy = true,
    event = "BufReadPost xmake.lua",
    config = true,
    dependencies = { "MunifTanjim/nui.nvim" },
}

Default Configuration

{
	compile_commands_dir = ".vscode",
}

Commands

  1. XmakeSetMenu Overall selection menu
  2. XmakeSetToolchain Toolchain selection
  3. XmakeSetMode Compilation mode selection
  4. XmakeSetTarget Target selection
  5. XmakeSetPlat Target platform selection
  6. XmakeSetArch Target architecture selection
  7. XmakeBuild Build target
  8. XmakeBuildAll Build all targets
  9. XmakeBuildTarget Build specified target
  10. XmakeClean Clean target
  11. XmakeCleanAll Clean all targets
  12. XmakeCleanTarget Clean specified target

Similar Projects

About

License:MIT License


Languages

Language:Lua 100.0%