From a8c1d640f8cffd7873ce0355e786c20dfff0624e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Mon, 24 Nov 2014 11:31:11 +0200 Subject: Update README for C/C++ compiler --- README.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 4728008..785910e 100644 --- a/README.md +++ b/README.md @@ -257,12 +257,12 @@ templates. `list-templates` lists the available templates. -C compiler plugin ------------------ +C/C++ compiler plugin +--------------------- This plugin is available by default. It is meant to -simplify the management of projects that include C source -code, like NIFs. +simplify the management of projects that include C +and/or C++ source code, like NIFs for example. If the file `$(C_SRC_DIR)/Makefile` exists, then the plugin simply calls it when needed. Otherwise it tries to compile @@ -278,7 +278,9 @@ You can override the temporary file containing information about Erlang's environment by setting the `C_SRC_ENV` variable. This file is automatically generated on first run. -You can also override the defaults `CC` and `CFLAGS` if required. +The `CC`, `CFLAGS`, `CXXFLAGS`, `LDLIBS` and `LDFLAGS` variables +may be modified or replaced with any value of your choosing. +The defaults are system dependent. Common_test plugin ------------------ -- cgit v1.2.3