Skip to content

Commit 1939d40

Browse files
authored
[skip ci] Jinja2Cpp -> Jinja2C++
1 parent fa3dffa commit 1939d40

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

README.md

+13-13
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ That's all!
9494
More detailed examples and features describtion can be found in the documentation: [https://jinja2cpp.dev/docs/usage](https://jinja2cpp.dev/docs/usage)
9595

9696
## 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:
9898
- expressions. You can use almost every style of expressions: simple, filtered, conditional, and so on.
9999
- 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**)
100100
- 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,
115115
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).
116116

117117
## 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):
119119
- Linux gcc 5.5 - 9.0
120120
- Linux clang 5.0 - 9
121121
- MacOS X-Code 9
@@ -128,7 +128,7 @@ Compilation of Jinja2Cpp tested on the following compilers (with C++14 and C++17
128128
**Note:** Support of gcc version >= 9.x or clang version >= 8.0 depends on version of Boost library provided.
129129

130130
## Build and install
131-
Jinja2Cpp has several external dependencies:
131+
Jinja2C++ has several external dependencies:
132132
- `boost` library (at least version 1.65)
133133
- `nonstd::expected-lite` [https://github.com/martinmoene/expected-lite](https://github.com/martinmoene/expected-lite)
134134
- `nonstd::variant-lite` [https://github.com/martinmoene/variant-lite](https://github.com/martinmoene/variant-lite)
@@ -138,7 +138,7 @@ Jinja2Cpp has several external dependencies:
138138
- `fmtlib::fmt` [https://github.com/fmtlib/fmt](https://github.com/fmtlib/fmt)
139139
- `robin-hood-hashing` [https://github.com/martinus/robin-hood-hashing](https://github.com/martinus/robin-hood-hashing)
140140

141-
In simpliest case to compile Jinja2Cpp you need:
141+
In simpliest case to compile Jinja2C++ you need:
142142

143143
1. Install CMake build system (at least version 3.0)
144144
2. Clone jinja2cpp repository and update submodules:
@@ -162,18 +162,18 @@ In simpliest case to compile Jinja2Cpp you need:
162162
> cmake .. -DCMAKE_INSTALL_PREFIX=<path to install folder>
163163
> cmake --build . --target all
164164
```
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.
166166

167167
5. Install library:
168168

169169
```
170170
> cmake --build . --target install
171171
```
172172

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
174174

175175
### 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:
177177

178178
1. Install conan.io according to the documentation ( https://docs.conan.io/en/latest/installation.html )
179179
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
183183

184184
The sample command is: `conan remote add martin https://api.bintray.com/conan/martinmoene/nonstd-lite`
185185

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:
187187

188188
```cmake
189189
include (../../cmake/conan.cmake)
@@ -216,15 +216,15 @@ set_target_properties (${TARGET_NAME} PROPERTIES
216216
### Additional CMake build flags
217217
You can define (via -D command line CMake option) the following build flags:
218218

219-
- **JINJA2CPP_BUILD_TESTS** (default TRUE) - to build or not to Jinja2Cpp tests.
219+
- **JINJA2CPP_BUILD_TESTS** (default TRUE) - to build or not to Jinja2C++ tests.
220220
- **JINJA2CPP_STRICT_WARNINGS** (default TRUE) - Enable strict mode compile-warnings(-Wall -Werror and etc).
221-
- **JINJA2CPP_BUILD_SHARED** (default OFF) - Specify Jinja2Cpp library library link type.
221+
- **JINJA2CPP_BUILD_SHARED** (default OFF) - Specify Jinja2C++ library library link type.
222222
- **JINJA2CPP_MSVC_RUNTIME_TYPE** (default /MD) - MSVC runtime type to link with (if you use Microsoft Visual Studio compiler).
223223
- **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.
226226
- `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.
228228

229229

230230
### Build with C++17 standard enabled

0 commit comments

Comments
 (0)