X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=ucw%2Fdoc%2Fconfigure.txt;h=35784a25177a936fe202b86159f707c33d698b69;hb=d84b9fd101d2bf3a72b9dc1d603c9b3960e8cb17;hp=f9c9ce344e06db367c0dcd031ab4cbd97e631cf7;hpb=7f0e96d24f19acb432de130b172e1fd65d475e3b;p=libucw.git diff --git a/ucw/doc/configure.txt b/ucw/doc/configure.txt index f9c9ce34..35784a25 100644 --- a/ucw/doc/configure.txt +++ b/ucw/doc/configure.txt @@ -4,24 +4,37 @@ How to Configure Sherlock libraries What can be configured ---------------------- There are two different levels of configuring/customizing program -based on libucw: +based on sherlock libraries: - runtime configuration in configuration files (see <>) - compile-time configuration of the libraries: config switches set before compiling, selecting optional features. +Where to build +-------------- +If you run configure in the source directory, it prepares for compilation inside +the source tree. In this case, an `obj` subdirectory is created to hold all generated +files (object files, binaries, generated source files etc.) and all final files +are linked to the `run` subdirectory. No other parts of the source tree are written into. + +Alternatively, you can compile in a separate object tree (which is useful when you +want to build several different configurations from a single source tree). In order +to do that, switch to the destination directory and issue `/configure ...`. +This way, configure will create the `obj` and `run` directories locally and set up +a Makefile which refers to the original source tree. + How to configure ---------------- -To set up compilation for, possibly overriding default compile-time -options, just run +To set up compilation, possibly overriding default compile-time +options, just run: ./configure [