Skip to content

UNIT-23/conan_sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C++ Conan Sample

Conan is C++ Dependency Manager. This project is sample for using Conan.

Install

Install Conan

Install dependencies

$ mkdir build && cd build

$ conan install ..

NOTE: All commands are in build/ dir

for Mac Poco doesn't have pre-compiled binaries.

$ conan install .. --build Poco

NOTE: You'll need to have installed cmake for this

By default Mac uses clang compiler. If you wanna use gcc use,

$ conan install .. --build Poco -s compiler="gcc"

Build

WIN

$ cmake .. -G "Visual Studio 14 Win64"
$ cmake --build . --config Release

Linux / Mac*

$ cmake .. -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release
$ cmake --build .

Run

$ ./bin/timer

About

C++ Package Manager Conan usage Sample

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published