I start new cross-platform c++ project and want to find good template, like autotools hello world.
I want:
- Check if compiler supports
c++11 - If
c++ comiplerisclangorgccthen enable as much as possible warnings like-Wall,-Wextraand so on - precompile headers support, and some file(s) to which I will add new headers for precompilation
- Simple way to enable/disable sanitizers
- Simple way to enable/disable code coverage gathering
- Simple way to enable/disable clang static analyzer
Can you point or give such cmake template for new project?
Aucun commentaire:
Enregistrer un commentaire