sebuild

module
v2.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 8, 2021 License: MIT

README

Overview

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.

Installation

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.

Usage

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.

LICENSE

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.

Directories

Path Synopsis
cmd
seb
Tool for compiling projects with ninja.
Tool for compiling projects with ninja.
contrib
plugins/lsb_release_conditions
This plugin runs `lsb_release` and adds condition flags to the build based on its output.
This plugin runs `lsb_release` and adds condition flags to the build based on its output.
internal
cmd/gobuild
Package gobuild provides the gobuild tool for sebuild.
Package gobuild provides the gobuild tool for sebuild.
cmd/link
Package link is a wrapper will parse rsp files for non-GNU ld versions.
Package link is a wrapper will parse rsp files for non-GNU ld versions.
pkg
buildbuild
This package creates ninja build files from source Builddesc files.
This package creates ninja build files from source Builddesc files.
test

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL