You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+13-13
Original file line number
Diff line number
Diff line change
@@ -94,7 +94,7 @@ That's all!
94
94
More detailed examples and features describtion can be found in the documentation: [https://jinja2cpp.dev/docs/usage](https://jinja2cpp.dev/docs/usage)
95
95
96
96
## Current Jinja2 support
97
-
Currently, Jinja2Cpp supports the limited number of Jinja2 features. By the way, Jinja2Cpp is planned to be full [jinja2 specification](http://jinja.pocoo.org/docs/2.10/templates/)-conformant. The current support is limited to:
97
+
Currently, Jinja2C++ supports the limited number of Jinja2 features. By the way, Jinja2C++ is planned to be full [jinja2 specification](http://jinja.pocoo.org/docs/2.10/templates/)-conformant. The current support is limited to:
98
98
- expressions. You can use almost every style of expressions: simple, filtered, conditional, and so on.
99
99
- big number of filters (**sort, default, first, last, length, max, min, reverse, unique, sum, attr, map, reject, rejectattr, select, selectattr, pprint, dictsort, abs, float, int, list, round, random, trim, title, upper, wordcount, replace, truncate, groupby, urlencode, capitalize, escape**)
100
100
- big number of testers (**eq, defined, ge, gt, iterable, le, lt, mapping, ne, number, sequence, string, undefined, in, even, odd, lower, upper**)
@@ -115,7 +115,7 @@ Currently, Jinja2Cpp supports the limited number of Jinja2 features. By the way,
115
115
Full information about Jinja2 specification support and compatibility table can be found here: [https://jinja2cpp.dev/docs/j2_compatibility.html](https://jinja2cpp.dev/docs/j2_compatibility.html).
116
116
117
117
## Supported compilers
118
-
Compilation of Jinja2Cpp tested on the following compilers (with C++14 and C++17 enabled features):
118
+
Compilation of Jinja2C++ tested on the following compilers (with C++14 and C++17 enabled features):
119
119
- Linux gcc 5.5 - 9.0
120
120
- Linux clang 5.0 - 9
121
121
- MacOS X-Code 9
@@ -128,7 +128,7 @@ Compilation of Jinja2Cpp tested on the following compilers (with C++14 and C++17
128
128
**Note:** Support of gcc version >= 9.x or clang version >= 8.0 depends on version of Boost library provided.
1. Install CMake build system (at least version 3.0)
144
144
2. Clone jinja2cpp repository and update submodules:
@@ -162,18 +162,18 @@ In simpliest case to compile Jinja2Cpp you need:
162
162
> cmake .. -DCMAKE_INSTALL_PREFIX=<path to install folder>
163
163
> cmake --build . --target all
164
164
```
165
-
"Path to install folder" here is a path to the folder where you want to install Jinja2Cpp lib.
165
+
"Path to install folder" here is a path to the folder where you want to install Jinja2C++ lib.
166
166
167
167
5. Install library:
168
168
169
169
```
170
170
> cmake --build . --target install
171
171
```
172
172
173
-
In this case Jinja2Cpp will be built with internally-shipped dependencies and install them respectively. But Jinja2Cpp supports build with externally-provided deps. Different Jinja2Cpp usage scenarios can be found in this repository: https://github.com/jinja2cpp/examples-build
173
+
In this case Jinja2C++ will be built with internally-shipped dependencies and install them respectively. But Jinja2C++ supports build with externally-provided deps. Different Jinja2C++ usage scenarios can be found in this repository: https://github.com/jinja2cpp/examples-build
174
174
175
175
### Usage with conan.io dependency manager
176
-
Jinja2Cpp can be used as conan.io package. In this case you should do the following steps:
176
+
Jinja2C++ can be used as conan.io package. In this case you should do the following steps:
177
177
178
178
1. Install conan.io according to the documentation ( https://docs.conan.io/en/latest/installation.html )
179
179
2. Register the following remote conan.io repositories:
@@ -183,7 +183,7 @@ Jinja2Cpp can be used as conan.io package. In this case you should do the follow
183
183
184
184
The sample command is: `conan remote add martin https://api.bintray.com/conan/martinmoene/nonstd-lite`
185
185
186
-
3. Add reference to Jinja2Cpp package (`jinja2cpp/1.0.0@flexferrum/testing`) to your conanfile.txt, conanfile.py or CMakeLists.txt. For instance, with usage of `conan-cmake` integration it could be written this way:
186
+
3. Add reference to Jinja2C++ package (`jinja2cpp/1.0.0@flexferrum/testing`) to your conanfile.txt, conanfile.py or CMakeLists.txt. For instance, with usage of `conan-cmake` integration it could be written this way:
-**JINJA2CPP_BUILD_SHARED** (default OFF) - Specify Jinja2Cpp library library link type.
221
+
-**JINJA2CPP_BUILD_SHARED** (default OFF) - Specify Jinja2C++ library library link type.
222
222
-**JINJA2CPP_MSVC_RUNTIME_TYPE** (default /MD) - MSVC runtime type to link with (if you use Microsoft Visual Studio compiler).
223
223
-**JINJA2CPP_DEPS_MODE** (default "internal") - modes for dependencies handling. Following values possible:
224
-
-`internal` In this mode Jinja2Cpp build script uses dependencies (include `boost`) shipped as subprojects. Nothing needs to be provided externally.
225
-
-`external-boost` In this mode Jinja2Cpp build script uses only `boost` as externally-provided dependency. All other dependencies taken from subprojects.
224
+
-`internal` In this mode Jinja2C++ build script uses dependencies (include `boost`) shipped as subprojects. Nothing needs to be provided externally.
225
+
-`external-boost` In this mode Jinja2C++ build script uses only `boost` as externally-provided dependency. All other dependencies taken from subprojects.
226
226
-`external` In this mode all dependencies should be provided externally. Paths to `boost`, `nonstd-*` libs etc. should be specified via standard CMake variables (like `CMAKE_PREFIX_PATH` or libname_DIR)
227
-
-`conan-build` Special mode for building Jinja2Cpp via conan recipe.
227
+
-`conan-build` Special mode for building Jinja2C++ via conan recipe.
0 commit comments