aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorkartofen <mladenovnasko0@gmail.com>2025-05-25 14:38:20 +0300
committerkartofen <mladenovnasko0@gmail.com>2025-05-25 14:38:20 +0300
commit37982d9665dd57374984d1fe7cd0dfadc35bb03b (patch)
tree38bce80bd4f309c86de6f521ffeb546726403515 /README.md
parentbc87cea97a02af805e26b00d23c876be5fbfb0ca (diff)
some testsHEADmaster
Diffstat (limited to 'README.md')
-rw-r--r--README.md9
1 files changed, 5 insertions, 4 deletions
diff --git a/README.md b/README.md
index f72d5bf..cb5ba64 100644
--- a/README.md
+++ b/README.md
@@ -15,14 +15,15 @@ See the api in `msgpack.h`, it is self-explanatory.
This project use ninja and m4 macros (so both need to be installed),
use `ninja` to build, with options like:
-* `shared`, `static`, `header` for bulding to a usable library and
-* `test`to run the unit tests.
+* `"no options"` to build to the current target (when `PROD=1` it runs the test)
+* `test` to run the the unit tests.
* `install` to install the built files in output directories set by `ninja configure`
To change paths and presets using `ninja configure` with an
appropriate environment variable:
* `PROD=1` to use the non-debug flags
-* `PREFIX=<path>` used for other paths, default `installdir`
+* `TARGET=header/static/shared` to set the target type
+* `PREFIX=<path>` used for other paths, default `./installdir`
* `LIBDIR=<path>` used for libraries (.so and .a), default `PREFIX/lib`
-* `INCLUDEDIR=<path>` used for c headers, default `PREFIX/include`
+* `INCLUDEDIR=<path>` used for C headers, default `PREFIX/include`