Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/mpark/bob
- Owner: mpark
- License: mit
- Created: 2014-01-12T11:21:01.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-08-01T12:56:49.000Z (over 10 years ago)
- Last Synced: 2023-08-02T06:24:09.039Z (over 1 year ago)
- Language: C++
- Homepage:
- Size: 238 KB
- Stars: 2
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.