mirror of https://git.kore.io/kore.git
Update README.md for cpp example.
This commit is contained in:
parent
af865abede
commit
ec9ea6df36
|
@ -8,12 +8,6 @@ extern “C” {
|
|||
int validatorA(struct http_request *, char *);
|
||||
}
|
||||
```
|
||||
|
||||
You will also need to compile kore with the KORE_CPP_SUPPORT environment variable enabled:
|
||||
```
|
||||
# env KORE_CPP_SUPPORT=1 make
|
||||
```
|
||||
|
||||
In order to run this example with the default C++ settings (default compiler dialect, libstdc++):
|
||||
```
|
||||
# kore run
|
||||
|
@ -26,5 +20,5 @@ In order to run with a specific dialect and C++ runtime:
|
|||
|
||||
You can also supply your own compiler combined with the above:
|
||||
```
|
||||
# env CXX=clang++ CXXSTD=c++11 CXXLIB=c++ kore run
|
||||
# env CC=clang++ CXXSTD=c++11 CXXLIB=c++ kore run
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue