xm

Crates.ioxm
lib.rsxm
version0.1.0
sourcesrc
created_at2024-06-18 09:09:07.788196
updated_at2024-06-18 09:09:07.788196
descriptionXM (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.
homepagehttps://github.com/limitcool/xm
repositoryhttps://github.com/limitcool/xm
max_upload_size
id1275292
size485,041
InitCool (limitcool)

documentation

https://docs.rs/xm

README

XM - Xross Compile Manager

logo 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

  1. After opening the software, you will see the following interface:

    image

    • 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
  2. In the Compiler Paths tab, set the paths for CC and CXX compilers.

  3. After configuring, click the “Compile” button to start the compilation.

Contribution

If you want to contribute to this project, please follow these steps:

  1. Fork this repository.
  2. Create a new branch (git checkout -b feature-branch).
  3. Commit your changes (git commit -am 'Add new feature').
  4. Push to the branch (git push origin feature-branch).
  5. Create a new Pull Request.

License

This project is licensed under the MIT License. For more details, please refer to the LICENSE file.

Commit count: 3

cargo fmt