doupongzeng / modern-cpp-cuda-cmake-template

Modern CMake C++/CUDA template

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Modern CMake C++/CUDA template

A quick and simple CMake C++ template to start a project.

This is a template project, so choose what you need and delete what you don't want (via add_subdirectory).

  • No additional package management, using only CMake FetchContent and Git Submodule completely.
  • Distinguishing between dynamic libraries, static libraries, and header-only dependency libraries.
  • Optional usage of Google Test, Doctest, and NanoBench.

About

Modern CMake C++/CUDA template

License:MIT License


Languages

Language:CMake 73.0%Language:C++ 22.9%Language:Cuda 2.1%Language:C 2.0%