Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit73db5a1

Browse files
authored
Update build_and_install.md
1 parent58fabfd commit73db5a1

File tree

1 file changed

+6
-14
lines changed

1 file changed

+6
-14
lines changed

‎docs/build_and_install.md‎

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,10 @@ nav_order: 4
1616
##Supported compilers
1717
Compilation of Jinja2C++ tested on the following compilers (with C++14 enabled feature):
1818
- Linux gcc 5.0 - 9
19-
- Linux clang5.0 -8
19+
- Linux clang3.8 -10
2020
- MacOS X-Code 9 - 11
2121
- Microsoft Visual Studio 2015-2019 x86, x64
22+
- MinGW 7, 8
2223

2324
##Dependencies
2425
Jinja2C++ has several external dependencies:
@@ -28,8 +29,9 @@ Jinja2C++ has several external dependencies:
2829
-`nonstd::optional-lite`[https://github.com/martinmoene/optional-lite](https://github.com/martinmoene/optional-lite)
2930
-`nonstd::string-view-lite`[https://github.com/martinmoene/string-view-lite](https://github.com/martinmoene/string-view-lite)
3031
-`fmtlib::fmt`[https://github.com/fmtlib/fmt](https://github.com/fmtlib/fmt)
31-
For testing purposes:
3232
-`rapidjson`[https://github.com/Tencent/rapidjson](https://github.com/Tencent/rapidjson)
33+
34+
For testing purposes:
3335
-`nlohmannjson`[https://github.com/nlohmann/json](https://github.com/nlohmann/json)
3436

3537
##Build and install
@@ -68,13 +70,7 @@ In simplest case, if you don't want to understand Jinja2C++ build script interna
6870
Jinja2C++ can be used as conan.io package. In this case you should do the following steps:
6971

7072
1. Install conan.io according to the documentation (https://docs.conan.io/en/latest/installation.html )
71-
2. Register the following remote conan.io repositories:
72-
-https://api.bintray.com/conan/martinmoene/nonstd-lite
73-
-https://api.bintray.com/conan/bincrafters/public-conan
74-
-https://api.bintray.com/conan/flexferrum/conan-packages
75-
76-
The sample command is:`conan remote add martin https://api.bintray.com/conan/martinmoene/nonstd-lite`
77-
3. Add reference to Jinja2C++ package (`jinja2cpp/0.9.1@Manu343726/testing`) to your conanfile.txt, conanfile.py or CMakeLists.txt. For instance, with usage of`conan-cmake` integration it could be written this way:
73+
2. Add reference to Jinja2C++ package (`jinja2cpp/1.1.0`) to your conanfile.txt, conanfile.py or CMakeLists.txt. For instance, with usage of`conan-cmake` integration it could be written this way:
7874

7975
```cmake
8076
include (../../cmake/conan.cmake)
@@ -83,7 +79,7 @@ if (NOT MSVC)
8379
endif ()
8480
8581
conan_cmake_run(REQUIRES
86-
jinja2cpp/0.9.1@Manu343726/testing
82+
jinja2cpp/1.1.0
8783
gtest/1.7.0@bincrafters/stable
8884
BASIC_SETUP
8985
${CONAN_SETTINGS}
@@ -194,7 +190,3 @@ set_target_properties (${TARGET_NAME} PROPERTIES
194190
CXX_STANDARD_REQUIRED ON)
195191
```
196192

197-
198-
##Build with C++17 standard enabled
199-
In case of C++17 standard enabled for your project you should define`variant_CONFIG_SELECT_VARIANT=variant_VARIANT_NONSTD` macro in the build settings.
200-

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp