[ previous ] [ Contents ] [ 1 ] [ 2 ] [ 3 ] [ 4 ] [ 5 ] [ 6 ] [ 7 ] [ A ] [ B ] [ next ]


ccbuild - A strict developer's build utility
Chapter 3 - Using ccbuild: building your program


To build a configured ccbuild compatible source tree, simple run ccbuild in the directory containing the main program. This will compile all programs in the given directory. However, if you only want to compile one given program, issue the command ccbuild build mainsource.cc, where mainsource.cc should be the name of the main sourcefile.

Once the command is issued, ccbuild will start reading includes the source does and gather sources it should compile. Any sources it can find will be compiled and linked to the main program. Once the [LINK] mainsource line get's done, without any errors, your main program will be done and you can start it with ./mainsource.


[ previous ] [ Contents ] [ 1 ] [ 2 ] [ 3 ] [ 4 ] [ 5 ] [ 6 ] [ 7 ] [ A ] [ B ] [ next ]


ccbuild - A strict developer's build utility

1.5.7

A. Bram Neijt