Policies/CMake Coding Style

< Policies
Revision as of 19:17, 16 August 2008 by Neundorf (Talk | contribs)

Jump to: navigation, search



Indent all code correctly, i.e. the body of



Upper/lower casing

CMake commands are case-insensitiv (only the commands, not the arguments or variable names). So all the following versions work: add_executable(foo foo.c) ADD_EXECUTABLE(bar bar.c) Add_Executable(hello hello.c) aDd_ExEcUtAbLe(hello hello.c)


Writing CMake Find-modules

