Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/linux-china/conan-cmake-demo
Demo Application with CMake and Conan
https://github.com/linux-china/conan-cmake-demo
cmake conan
Last synced: 6 days ago
JSON representation
Demo Application with CMake and Conan
- Host: GitHub
- URL: https://github.com/linux-china/conan-cmake-demo
- Owner: linux-china
- Created: 2017-07-14T03:48:44.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-01-16T18:07:51.000Z (almost 5 years ago)
- Last Synced: 2024-12-24T23:43:23.844Z (7 days ago)
- Topics: cmake, conan
- Language: CMake
- Size: 12.7 KB
- Stars: 1
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
C++ Application with CMake and Conan
=====================================# How to use
* Install Conan plugin in Clion: https://plugins.jetbrains.com/plugin/11956-conan
* create "CMAKE_BINARY_DIR" directory, such as "_build", for Clion, default is cmake-build-debug
* cd "CMAKE_BINARY_DIR" and execute following code```bash
conan install . -s build_type=Debug --install-folder=cmake-build-debug
cd cmake-build-debug
cmake ..
make
```# Attention
* C++ Standard Library, Choose options as following:
* libstdc++ (GNU C++ standard library)
* libc++ (LLVM C++ standard library with C++ 11 support)* Compiler and compiler.version. For mac, please choose apple-clang and 7.3 version for most Conan packages
# Conan Repositories
* https://bintray.com/conan/conan-center
* https://bintray.com/pocoproject/conan
* https://bintray.com/bincrafters/public-conan# Reference
* Conan Document: http://conanio.readthedocs.io/
* Conan CLion Plugin: https://blog.jetbrains.com/clion/2019/05/getting-started-with-the-conan-clion-plugin/
* Conan integrated with CMake: https://conan-docs.readthedocs.io/en/feature-cmake-toolchain-file/integrations/cmake.html
* C++ Package Management With Conan: Introduction: https://medium.com/@ilyas.hamadouche/c-package-management-with-conan-introduction-8c7bd928c009