Skip to content

Release v1.0.0: Full-Featured CMake C++ Project Template

Latest

Choose a tag to compare

@KBchulan KBchulan released this 24 Oct 09:12
· 10 commits to main since this release

First Official Release

This is the first official release of CMakeTemplate - a comprehensive, production-ready CMake-based C++ project template.

Key Features

Build System

  • Modern CMake configuration with C++23 support
  • Flexible build options: static/shared libraries, Debug/Release modes
  • Multiple sanitizers: AddressSanitizer, UndefinedBehaviorSanitizer
  • Cross-platform support with proper RPATH configuration

Testing & Quality

  • Unit Testing: Integrated GoogleTest framework
  • Benchmark Suite: Google Benchmark integration for performance testing
  • Code Coverage: lcov + genhtml for detailed coverage reports
  • Static Analysis: cppcheck with comprehensive checks
  • Code Formatting: clang-format with Google style

Performance Tools

  • Profiling Support: perf + FlameGraph integration
  • Performance Scripts: Automated profiling workflow

Built-in Components

  • Lock-free Queue: 100M+ operations per second
  • Logger Module: 260M+ operations per second
  • ID Generator: 50M+ operations per second

Installation

# Clone the repository
git clone https://github.com/KBchulan/CMakeTemplate.git
cd CMakeTemplate

# Basic build
mkdir build && cd build
cmake ..
ninja

Documentation

For detailed usage instructions, see README.md and Chinese Documentation.

Requirements

  • CMake 3.25+
  • C++23 capable compiler (GCC 15.2+ / Clang 18+)
  • Optional: GoogleTest, cppcheck, Google Benchmark (auto-fetched if not installed)

Full Changelog: Initial release with complete feature set