Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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!
- Host: GitHub
- URL: https://github.com/painfulexistence/create-cxx
- Owner: painfulexistence
- License: mit
- Created: 2024-04-04T11:30:43.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-04-13T17:53:54.000Z (6 months ago)
- Last Synced: 2024-04-14T02:34:29.702Z (6 months ago)
- Topics: clang-format, cmake, cpp20, editorconfig, raylib, templates, vcpkg
- Language: CMake
- Homepage:
- Size: 126 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
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!