# codingame-cpp-merge

> Automatic merger for C/C++ in the CodinGame IDE

Latest version **0.0.5** (published 2017-09-25) · ISC license · 0 weekly downloads

## Install

```sh
npm install codingame-cpp-merge
pnpm add codingame-cpp-merge
yarn add codingame-cpp-merge
bun add codingame-cpp-merge
```

Provides the command `codingame-merge`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.5 |
| Published | 2017-09-25 |
| First published | 2016-10-21 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 19 |
| Author | Wim Goeman |
| Maintainers | wimgoeman |
| Keywords | CodinGame, C, C++, merge |

## Links

- npm: https://www.npmjs.com/package/codingame-cpp-merge
- Repository: https://github.com/wimgoeman/codingame-cpp-merge
- Homepage: https://github.com/wimgoeman/codingame-cpp-merge#readme
- Issues: https://github.com/wimgoeman/codingame-cpp-merge/issues
- npm.io page: https://npm.io/package/codingame-cpp-merge

## Dependencies (1)

- [node-getopt](https://npm.io/package/node-getopt.md) ^0.2.3

## Alternatives

- [@gemini-wallet/core](https://npm.io/package/@gemini-wallet/core.md) — 515.6K weekly downloads
- [utility](https://npm.io/package/utility.md) — 416.6K weekly downloads
- [@primno/dpapi](https://npm.io/package/@primno/dpapi.md) — 7.2K weekly downloads
- [pi-readseek](https://npm.io/package/pi-readseek.md) — 3.7K weekly downloads
- [@emilia-protocol/verify](https://npm.io/package/@emilia-protocol/verify.md) — 1.1K weekly downloads

## Recent versions

- 0.0.5 (latest) — 2017-09-25
- 0.0.4 — 2017-09-20
- 0.0.3 — 2017-09-18
- 0.0.2 — 2017-09-11
- 0.0.1 — 2016-10-21

## README

# Automatic merger for C/C++ in the CodinGame IDE

## Install
### Prerequisites

* Node.js
* npm (part of node)

### Installation from npm
```
npm i -g codingame-cpp-merge
```

### Installation from source
* Clone this repo
* issue npm link
```
git clone https://github.com/wimgoeman/codingame-cpp-merge.git
cd codingame-cpp-merge
npm link
```

## Usage
This tool will scan the working dir for cpp files recursively and append them
all to a single file. While doing this, includes are processed similar to what
the preprocessor would do.

See built-in help for possible options: 
```
codingame-merge -h
```

* Create a directory tree with cpp and hpp files
* Do not use other extensions than hpp and cpp (more extension support may be added later)
* Use #include <> for libraries
* Use #include "" for local files
* Set up include guards in your hpp files, or use '#pragma once'
* Prefer pragma once over include guards to limit output size

---
_Source: https://npm.io/package/codingame-cpp-merge · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
