-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Lilian Anatolie Moraru edited this page Mar 1, 2017
·
4 revisions
Style guidelines:
- Cached variables must start with
CXXBASICS_prefix - CMake messages must start with
[cxxbasics] - Modules that define functions must start with
Fn, ex:FnMktemp.cmake - Modules that define macros must start with
Macro, ex:MacroMktemp.cmake - Modules that help finding something in the system(ex: a binary), must start with
Search, ex:SearchClangTidy.cmake- currently,Findprefix is intentionally not used because the user might get confused and naming conflicts might appear. - Modules that activate a feature must start with
Use, ex:UseClangTidy.cmake - 2 spaces indentation
- Use
cbmessage(simple message),cbok(ex: successful setup),cbnok(ex: failed to set up desired feature but it is not critical),cberror(ex: user logic error, application cannot continue, an issue the user should solve...).