Template c++ project with conan setup
- Install conan 2.0
- [Optional] Create conan profile if you haven't yet:
conan profile detect --force. This will create new default profile for conan in your system. - Install CMake of version not less than the one that is specified in CMakeLists.txt
cdto the root folder of the projectconan install . --output-folder=build --build=missingcd buildcmake .. -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake -DCMAKE_BUILD_TYPE=Releasecmake --build ../conan_template
Now make a tea and eat some cookies. You're awesome.