{"repo":"friendlyanon/cmake-init","free":true,"listed":false,"github":"https://github.com/friendlyanon/cmake-init","clone":"git clone https://github.com/friendlyanon/cmake-init.git","description":"The missing CMake project initializer","language":"CMake","stars":2539,"topics":["cmake","python","cpp","executable","shared-library","static-library","header-only","scaffolding","boilerplate","testing"],"license":"GPL-3.0","category":"saas-starters-boilerplates","readme_excerpt":"cmake-init - The missing CMake project initializer cmake-init is an opinionated CMake project initializer that generates CMake projects which are FetchContent ready, separate consumer and developer targets, provide install rules with proper relocatable CMake packages and use modern CMake (3.14+). Please see the [wiki][17] for example outputs of cmake-init and other pragmatic examples of functionality implemented for CMake, like package managers, fuzz testing, superbuilds, etc. VSCode integration with minimal configuration using presets: CLion integration with minimal configuration using presets: If you wish to contact me for anything CMake related, then you may find me in the #cmake channel of [the C++ Slack][26]. If what you wish to know is cmake-init specific, then you may also ask questions in this repository's [Discussions][27]. Goals Be simple to use The script allows you to just mash enter to get you a correctly set up project for an executable. You want a header-only library? Choose h when prompted. Static/shared library? Just choose s when prompted. Simple and correct! Create [ FetchContent ][1] ready projects This is important, because in the near feature this might allow CMake to consume other projects in a trivial fashion similar to other languages, e.g. in JavaScript's case (npm). Cleanly separate developer and consumer targets This ties into the previous point as well, but developers and consumers of a project have different needs, and separating targets achieves","default_branch":null,"files":null,"tree":[],"storefront":"/r/friendlyanon","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/friendlyanon/cmake-init/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."}