Skip to content

Daniel-Boll/xmake-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My xmake boilerplate

This is a boilerplate for xmake projects.

Enhancements

  • [] Create a pre-commit to generate CMakeLists
    • xmake project -k cmake

Usage

git clone https://github.com/Daniel-Boll/xmake-boilerplate.git
cd xmake-boilerplate
xmake

Utility scripts

compile.sh

This script compiles the project and runs it.

compile () {
  xmake && xmake project -k compile_commands
  if [ "$1" = "r" ] || [ "$1" = "run" ]
  then
    xmake run $2
  fi
}

About

A xmake boilerplate for my C++ projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published