You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
waf_old/build_system_kit/noscript
Thomas Nagy 1a0396ea88
Accept nested lists as bld(source=...)
8 years ago
..
README.txt Initial commit 13 years ago
bar.c Initial commit 13 years ago
bar.h Initial commit 13 years ago
create_it.sh Initial commit 13 years ago
dbdlib.py Accept nested lists as bld(source=...) 8 years ago
foo.c Initial commit 13 years ago
foo.h Initial commit 13 years ago
main.c Initial commit 13 years ago

README.txt

This example demonstrates the creation of a particular build tool which compiles
specific files directly, for example:

main.c includes foo.h
foo.h has a corresponding foo.c file
foo.c includes bar.h
bar.h has a corresponding bar.c file

Calling './dbd build' will then compile and link 'main.c', 'foo.c' and 'bar.c' into the program 'app'.
No script file is required, although the build will create a .lock file and a c4che directory.

To create the build tool:
   ./create_it.sh

To use on the file bbit which creates a program out of main.c:
   ./cbd clean build