{"repo":"acdemiralp/cmake_templates","free":true,"listed":false,"github":"https://github.com/acdemiralp/cmake_templates","clone":"git clone https://github.com/acdemiralp/cmake_templates.git","description":"Concise CMake 3.31+ templates for C++ executables and libraries.","language":"CMake","stars":131,"topics":["cmake","template"],"license":null,"category":"saas-starters-boilerplates","readme_excerpt":"CMake Templates Concise CMake 3.31+ templates for C++ executables and libraries. Setup Prompt your AI assistant with: Alternatively: - Copy the desired template directory and rename it to your project name. - Replace the project name in the CMakeLists.txt with your project name. - Optional: Add your dependencies to the CMakeLists.txt . - Rename the include directory under include/ to your project name. - For libraries, update source/library.cpp to use your renamed export header and macro. - For templates with vcpkg: - Replace the name in the vcpkg.json with your project name. - Optional: Add your dependencies to the vcpkg.json . Usage - Configure : cmake --preset ninja-multi . - Build : cmake --build --preset [debug release relwithdebinfo] . - Test : ctest --preset [debug release relwithdebinfo] . - Package : cpack --preset [binary source] . - Workflows : cmake --workflow --preset [test package] . Notes Templates follow modern CMake best practices and the VCPKG CMake Style Guide, with the following exceptions: Alignment and glob are used, variable names are uppercase.","default_branch":null,"files":null,"tree":[],"storefront":"/r/acdemiralp","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/acdemiralp/cmake_templates/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}