Skip to content

conan-io/template

Repository files navigation

C++ Project Template using GTest and Conan

CI License: MIT

A modern C++ project demonstrating cross-platform builds with Conan package manager, featuring zlib compression utilities and comprehensive testing with Google Test.

🚀 Features

  • Modern C++17 codebase
  • Cross-platform CI/CD with GitHub Actions
  • Multi-architecture builds (x86_64 and armv8)
  • Conan package management for dependency management
  • Google Test integration for unit testing

📋 Prerequisites

  • Conan 2.x
  • A C++17 compatible compiler:
    • GCC 7+
    • Clang 5+
    • MSVC 2017+
  • Python 3.7+ (for Conan)

🛠️ Building the Project

Install Dependencies

# Install Conan if you haven't already
pip install conan

# Detect your Conan profile
conan profile detect --force

Build

# Build the project (installs dependencies and compiles)
conan build . --build=missing

Run the Application

# Linux/macOS
./build/Release/myapp

# Windows
.\build\Release\myapp.exe

Run Tests

If the tests were not skipped during the build step, you can run them with:

ctest --preset conan-release

About

C++ CMake template with Conan 2

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •