This is an integration of xmake for Emacs, allowing you to build, clean, and run projects directly from within Emacs.
- Build projects using xmake directly from Emacs.
- Clean projects using xmake clean.
- Run projects using xmake run with target extraction from xmake.lua.
- Stop the running process launched by xmake run.
- xmake must be installed on your system.
- Clone this repository or download the xmake.el file.
- Copy xmake.el to your Emacs configuration directory or load it in your Emacs session.
To build the project, use the M-x xmake-build
command.
To clean the project, use the M-x xmake-clean
command.
To run the project, use the M-x xmake-run
. The target name will be extracted from the xmake.lua file in the project directory.
To stop the process launched by xmake run
, use the M-x xmake-stop
.
-
Syntax Highlighting: Implement syntax highlighting for xmake scripts to improve readability and ease of use.
-
Generation of compile_commands.json: Add support for generating a
compile_commands.json
file to facilitate integration with IDEs and code editors. -
Selection of Build Type (Debug/Release): Implement functionality to choose between building in debug or release mode.
-
Multiple Targets Management: Improve support for managing multiple targets in the project, allowing users to specify which target to build, clean, or run.
Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.
This project is licensed under the MIT License.