# crimp

> c++ build system based on gyp

Latest version **0.0.27** (published 2016-03-02) · GNU license · 0 weekly downloads

## Install

```sh
npm install crimp
pnpm add crimp
yarn add crimp
bun add crimp
```

Provides the command `crimp`.

## 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.27 |
| Published | 2016-03-02 |
| First published | 2015-11-27 |
| Weekly downloads | 0 |
| License | GNU |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 9 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | mbusenitz@gmail.com |
| Maintainers | mucbuc |
| Keywords | c++ build system, gyp wrapper |

## Links

- npm: https://www.npmjs.com/package/crimp
- Repository: https:///github.com/mucbuc/crimp
- npm.io page: https://npm.io/package/crimp

## Dependencies (9)

- [ansi](https://npm.io/package/ansi.md) *
- [tape](https://npm.io/package/tape.md) *
- [jsoncpp](https://npm.io/package/jsoncpp.md) *
- [promise](https://npm.io/package/promise.md) *
- [expector](https://npm.io/package/expector.md) *
- [fs.extra](https://npm.io/package/fs.extra.md) *
- [traverjs](https://npm.io/package/traverjs.md) *
- [commander](https://npm.io/package/commander.md) *
- [date-time-string](https://npm.io/package/date-time-string.md) *

## Recent versions

- 0.0.27 (latest) — 2016-03-02
- 0.0.26 — 2016-02-17
- 0.0.25 — 2016-02-10
- 0.0.24 — 2016-02-03
- 0.0.23 — 2016-01-30
- 0.0.22 — 2016-01-28
- 0.0.21 — 2016-01-27
- 0.0.20 — 2016-01-26
- 0.0.19 — 2016-01-26
- 0.0.18 — 2016-01-26
- 0.0.17 — 2016-01-25
- 0.0.16 — 2016-01-23
- 0.0.15 — 2016-01-22
- 0.0.14 — 2016-01-22
- 0.0.13 — 2016-01-22
- … 12 more at https://npm.io/package/crimp/versions

## README

#crimp
nodejs build tool for C++ based on [gyp](https://chromium.googlesource.com/external/gyp/+/master/docs/UserDocumentation.md)


#install
`npm install -g crimp`

#usage
```
  Usage: crimp [files] [options]

  Options:

    -h, --help           output usage information
    -V, --version        output the version number
    -o, --output [path]  build output (default: build)
    -t, --test           test build (default)
    -d, --debug          target debug
    -r, --release        target release
    -c, --clean          clean build
    -g, --gcc            use gcc compiler
    -e, --execute        execute product
    -i, --ide            open project in ide
    -x, --xargs []       pass on arguments
```

###properties:
- sources: array containing paths to C++ source files
- import: array containing paths to defenition files
- opengl: boolean to determine opengl linking
- tests: array of definition files 

# example
### src/main.cpp:
```
int main()
{
	std::cout << "hello" << std::endl;
	return 0; 
}
```
### test.json:
```
{
	'sources': [ 
		'src/main.cpp' 
	],
}
```
### build and test
```
crimp test.json
```

### references
http://www.rioki.org/2013/02/07/experimenting-with-gyp.html   
https://github.com/springmeyer/hello-gyp

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