We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5a4c9c commit ade0df6Copy full SHA for ade0df6
docpages/install/install-conan.md
@@ -7,7 +7,7 @@ To install D++ into a project using conan 2.0 and cmake:
7
8
```conanfile
9
[requires]
10
-dpp/10.0.29
+dpp/10.0.34
11
12
[generators]
13
CMakeDeps
@@ -43,10 +43,11 @@ set(CMAKE_BUILD_TYPE Release)
43
- Now run the following commands
44
45
```
46
-mkdir build && cd build
47
-conan install .. --build=missing -of=. -s build_type=Release
48
-cmake ..
49
-make
+mkdir build
+conan install . --output-folder=build --build=missing -s build_type=Release
+cd build
+cmake .. -DCMAKE_TOOLCHAIN_FILE="conan_toolchain.cmake"
50
+cmake --build build --config Release
51
52
53
- NOTE: build_type= needs to match whatever was set in your CMake or you will get linker issues.
0 commit comments