Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/mpark/bob

A simple wrapper around SCons
https://github.com/mpark/bob

Last synced: 25 days ago
JSON representation

A simple wrapper around SCons

Awesome Lists containing this project

README

        

# bob

A simple wrapper around [SCons](http://www.scons.org).

### Directory Layout

```
Projects
├─ .sconstruct
├─ src
│ └─ .sconscript
└─ out
```

### Set an Alias

```
alias bob='scons -Q --up --file=.sconstruct'
```

### Commands

__NOTE__: The `examples` directory will be used for the demo.

#### Building an Executable

`bob `

This creates the binary at the corresponding path in the `out` directory.

```
cd examples/src/c++
bob main
# The binary is at: examples/out/debug/c++/main
```

#### Build/Run a Unit Test

`bob --test `

This builds and runs the unit test. Omit the `--test` to skip running the test.

```
cd examples/src/c++
bob --test foo.test
# The binary is at: examples/out/debug/c++/foo.test
```

### License

This project is licensed under the MIT License.