Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/painfulexistence/create-cxx

Set up a modern C++ project blazingly fast!
https://github.com/painfulexistence/create-cxx

clang-format cmake cpp20 editorconfig raylib templates vcpkg

Last synced: 3 days ago
JSON representation

Set up a modern C++ project blazingly fast!

Awesome Lists containing this project

README

        


☀️ Create CXX


Set up a modern C++ graphics project blazingly fast!

[![Build](https://github.com/painfulexistence/create-cxx/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/painfulexistence/create-cxx/actions/workflows/ci.yml) [![NPM License](https://img.shields.io/npm/l/create-cxx.svg?style=flat)](https://github.com/painfulexistence/create-cxx/blob/main/LICENSE) [![NPM Version](https://img.shields.io/npm/v/create-cxx.svg?style=flat)](https://www.npmjs.com/package/create-cxx)

`create-cxx` is a project initializer tailored for graphics programmers 🎇 and game developers 🎮. This convenient Node.js script can help you quickly spin up a new project with a basic structure and essential files.

## Prerequisites
Make sure you have either of the following installed:
- [Node.js](https://nodejs.org/en/learn/getting-started/how-to-install-nodejs)
- [Bun](https://bun.sh/)

## Usage
Depending on your available JavaScript package managers, you can use one of the following commands:
#### NPM
```bash
npm create cxx $PROJECT_NAME
# or
npx create-cxx $PROJECT_NAME
```
#### Yarn
```bash
yarn create cxx $PROJECT_NAME
# or
yarn dlx create-cxx $PROJECT_NAME
```
#### PNPM
```bash
pnpm create cxx $PROJECT_NAME
# or
pnpm dlx create-cxx $PROJECT_NAME
```
#### Bun
```bash
bun create cxx $PROJECT_NAME
# or
bunx create-cxx $PROJECT_NAME
```

## Features
- Interactive prompts guide you through setting up new projects
- Choose from a handful of templates
- CMake and vcpkg ready
- Do everything via CLI, eliminating the need to copy templates from GitHub
- Easy installation and use

## Contributing
The project leverages Bun, so ensure Bun is installed before proceeding.
Any contributions are welcome!