Browse Source

add build config

feature/dependency-graph
Martin Dørum 3 years ago
parent
commit
1174b6d38d
2 changed files with 2 additions and 14 deletions
  1. 2
    0
      build.bb
  2. 0
    14
      sample.bbb

+ 2
- 0
build.bb View File

@@ -0,0 +1,2 @@
target := bbbuild
files := src

+ 0
- 14
sample.bbb View File

@@ -1,14 +0,0 @@
foo:="this is a long file name" and some more text bar := hello

other_files := foo.c bar.c baz.c

files:=
src/file-a.c
src/file\ with\ space.c
"src/fully quoted file.c"
src/$foo.c
$other_files

cflags :=-g -O3 -DTITLE="Hello World"
cflags += these values will be appended
cflags =+ these values will be prepended

Loading…
Cancel
Save