Skip to content

A template with CMake + Conan package manager with Google Test C++ Framework

Notifications You must be signed in to change notification settings

guettafa/conan_cmake_cpp_tplt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Requirements

  • conan
  • cmake

Install packages from conanfile.txt

# in root
conan install . --build=missing

See your new conan preset

cmake --list-presets

Generate files with new cmake conan preset

cmake --preset conan-release

Build using your preset

cmake --build --preset conan-release

To clean last build

cmake --build build/Release --target clean

For nvim/vim users

if you still see errors add a link for the compile_commands.json file generated in build/Release

# Execute this command in root of the project
ln -s build/Release/compile_commands.json ./

About

A template with CMake + Conan package manager with Google Test C++ Framework

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published