Просмотр исходного кода

Update README for C/C++ compiler

Loïc Hoguin 10 лет назад
Родитель
Сommit
a8c1d640f8
1 измененных файлов с 7 добавлено и 5 удалено
  1. 7 5
      README.md

+ 7 - 5
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
 ------------------