diff --git a/COMPILE.md b/COMPILE.md index c345987bc..642f78d3e 100644 --- a/COMPILE.md +++ b/COMPILE.md @@ -35,15 +35,16 @@ If you want to use [conan](https://conan.io/) to manage the dependencies, follow this instructions instead. ```shell -conan install src/PlotJuggler --install-folder build/PlotJuggler \ - --build missing -pr:b=default +conan install src/PlotJuggler --output-folder build/PlotJuggler \ + --build missing -pr:b=default -s build_type=RelWithDebInfo export CMAKE_TOOLCHAIN=$(pwd)/build/PlotJuggler/conan_toolchain.cmake cmake -S src/PlotJuggler -B build/PlotJuggler \ -DCMAKE_TOOLCHAIN_FILE=$CMAKE_TOOLCHAIN \ -DCMAKE_INSTALL_PREFIX=install \ - -DCMAKE_POLICY_DEFAULT_CMP0091=NEW + -DCMAKE_POLICY_DEFAULT_CMP0091=NEW \ + -DBUILDING_WITH_CONAN=ON cmake --build build/PlotJuggler --config RelWithDebInfo --target install ``` @@ -156,8 +157,8 @@ Note: the Arrow/Parque plugin is not supported in Conan. Use vcpkg instead, if y that specific plugin. ```batch -conan install src/PlotJuggler --install-folder build/PlotJuggler ^ - --build=missing -pr:b=default +conan install src/PlotJuggler --output-folder build/PlotJuggler ^ + --build=missing -pr:b=default -s build_type=Release set CMAKE_TOOLCHAIN=%cd%/build/PlotJuggler/conan_toolchain.cmake @@ -165,7 +166,8 @@ cmake -G "Visual Studio 16" ^ -S src/PlotJuggler -B build/PlotJuggler ^ -DCMAKE_TOOLCHAIN_FILE=%CMAKE_TOOLCHAIN% ^ -DCMAKE_INSTALL_PREFIX=%cd%/install ^ - -DCMAKE_POLICY_DEFAULT_CMP0091=NEW + -DCMAKE_POLICY_DEFAULT_CMP0091=NEW ^ + -DBUILDING_WITH_CONAN=ON cmake --build build/PlotJuggler --config Release --target install