Skip to content

Latest commit

 

History

History

CMake_build

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

CMake example

Using conanfile.txt is the preferred way of consuming a package.

# install conan dependencies and build if any necessary
conan install . --output-folder=build --build=missing

cd build

# build the project in Release mode. CMake toolchain file was generated in previous step
cmake .. -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake -DCMAKE_BUILD_TYPE=Release
make -j