Skip to content

SuniRein/xmake-spawn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XMake Spawn

A useful XMake plugin to generate user-customized project files.

Installation

 git clone https://github.com/SuniRein/xmake-spawn ${XMAKE_GLOBALDIR:-$HOME}/.xmake/plugins/xmake-spawn

Usage

  1. Set XMAKE_SPAWN_TEMPLATEDIR environment variable to the directory containing the project templates.
export XMAKE_SPAWN_TEMPLATEDIR=/path/to/templates
  1. Create a custom project template in the directory specified by XMAKE_SPAWN_TEMPLATEDIR.

  2. List available templates.

xmake spawn --list
  1. Run xmake spawn to generate the project files.
# Generate a project named `name` using the template `example`
# A git repository will be initialized in the project directory
xmake spawn --template=example name
# OR
xmake spawn -t example name

License

This project is licensed under the GNU General Public License v3.0. See the LICENSE file for details.

About

A xmake plugin generates custom project template.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages