This is a ninja generator. It generates a ninja build solution from Builddesc files describing your project. It will also run ninja to compile your project.
To use sebuild, go get the seb binary. You will need to have a recent version of go installed, we currently support Go 1.13 and higher.
go get github.com/schibsted/sebuild/cmd/seb
The master branch of this project always correspond to the latest release, it will correspond to a release tagged revision.
You can also do this using go modules:
GO111MODULE=on go get github.com/schibsted/sebuild/v2/cmd/seb
If you wish to change the code or contribute, see CONTRIBUTING.md.
You need a Builddesc file. This file describes your buildables. A very simple one would be to compile all C files in current directory into a program:
PROG(myprog
srcs[*.c]
)
When you run seb with no arguments, this will produce the file
build/dev/bin/myprog
.
For more details and instructions see the documentation site and the seb man page.
Copyright 2018 Schibsted
Licensed under the MIT License, you may not use this code except in compliance with the License. The full license is included in the file LICENCE.
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.