Skip to content

kstenerud/modern-cmake-templates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Modern CMake Project Templates

CMake is incredibly complicated and difficult to use. It's very easy to do things wrong, and very hard to do things right. I got tired of spending hours poring over mostly wrong online resources to get a basic build system running, so I built some templates.

These are basic template directory structures and build files to get you started using CMake for real world applications. I wrote them because there simply were no "Use this as a baseline" modern CMake setups to be found anywhere.

I've commented them to explain why the various parts are included and what they do. If I'm doing something wrong (highly likely), please make a pull request with the right way to do it! :)

These structures and concepts have been pulled together from many sources. For a good primer on modern CMake, see https://cliutils.gitlab.io/modern-cmake/

Note: Remember to git submodule update --init --recursive

About

Templates to get a CMake project started quickly

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published