1 unstable release
0.1.0 | Jun 18, 2024 |
---|
#294 in GUI
340KB
617 lines
XM - Xross Compile Manager
English| 简体中文 XM (Xross-Compile Manager) is a cross-platform compilation management tool that supports cross-compilation for Go and Rust programming languages. Users can easily select the target compilation environment and architecture, and set compiler paths to simplify the cross-compilation process.
Features
- Supports Go and Rust programming languages
- Supports Linux and Windows compilation environments
- Supports ARM and x86_64 architectures
- Allows users to set CC and CXX compiler paths
- Optional CGO support (Go language only)
Installation
You can install XM from crates.io using Cargo:
cargo install xm
You can download the source code of XM from GitHub, then use the cargo tool to compile and install it:
git clone https://github.com/limitcool/xm.git
cd xm
cargo build --release
cargo install --path .
Usage
-
After opening the software, you will see the following interface:
- Project Path: Select your project path
- Programming Language: Choose Go or Rust
- Compilation Environment: Choose Linux or Windows
- Architecture: Choose ARM or x86_64
- Enable CGO: (Visible only when Go is selected) Choose whether to enable CGO
-
In the Compiler Paths tab, set the paths for CC and CXX compilers.
-
After configuring, click the “Compile” button to start the compilation.
Contribution
If you want to contribute to this project, please follow these steps:
- Fork this repository.
- Create a new branch (
git checkout -b feature-branch
). - Commit your changes (
git commit -am 'Add new feature'
). - Push to the branch (
git push origin feature-branch
). - Create a new Pull Request.
License
This project is licensed under the MIT License. For more details, please refer to the LICENSE file.
Dependencies
~16–31MB
~432K SLoC