Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Cbuild is a project designed for creating C++ project structures.     

cbuild Usage

cbuild [options]

Options

new <project-name>

Create a new project

  • -e, --executable: Create executable project (default)
  • -s, --static: Create static library project
  • -d, --shared: Create shared library project
  • -D, --dep <dependency>: Add project dependency
  • -h, --help: Display this help message
  • -p, --precompile-headers: Create precompiled headers

build

Build the project

  • -d, --debug: Build using Debug mode
  • -r, --release: Build using Release mode
  • -p, --prefix: Specify installation directory
  • -c, --configure-only: Configure without building
  • -b, --build-dir: Set build directory
  • -C, --clean-cache: Clean cmake cache before building

init

Create new project based on CMake.toml

install <path>

Install built files (uses default path if omitted)

uninstall <project>

Uninstall installed library

cbuild 用法

cbuild [选项] <项目名>

选项

new <项目名>

创建新项目

  • -e, --executable:创建可执行项目(默认)
  • -s, --static:创建静态库项目
  • -d, --shared:创建动态库项目
  • -D, --dep <依赖>:添加项目依赖
  • -h, --help:显示此帮助信息
  • -p, --precompile-headers:创建预编译头文件

build

构建项目

  • -d, --debug:使用 Debug 模式构建
  • -r, --release:使用 Release 模式构建
  • -p, --prefix:指定安装目录
  • -c, --configure-only:选择是否构建
  • -b, --build-dir:设置构建目录
  • -C, --clean-cache:构建前清理cmake缓存

init

根据 CMake.toml 创建新项目

install

安装生成的文件

uninstall

卸载安装的库

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages