2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-25 11:19:52 +01:00
waf/build_system_kit/noscript
2016-06-25 22:48:47 +02:00
..
bar.c Initial commit 2011-09-10 11:13:51 +02:00
bar.h Initial commit 2011-09-10 11:13:51 +02:00
create_it.sh Initial commit 2011-09-10 11:13:51 +02:00
dbdlib.py Remove update_outputs from the documentation 2016-06-25 22:48:47 +02:00
foo.c Initial commit 2011-09-10 11:13:51 +02:00
foo.h Initial commit 2011-09-10 11:13:51 +02:00
main.c Initial commit 2011-09-10 11:13:51 +02:00
README.txt Initial commit 2011-09-10 11:13:51 +02:00

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