parent
2cede4d6c9
commit
a9e63568fe
15 changed files with 103 additions and 32 deletions
@ -0,0 +1,3 @@ |
||||
## Add warning_level 0 option |
||||
|
||||
Adds support for a warning level 0 which does not enable any static analysis checks from the compiler |
@ -0,0 +1,12 @@ |
||||
#include <iostream> |
||||
|
||||
#define PROJECT_NAME "demo" |
||||
|
||||
int main(int argc, char **argv) { |
||||
if(argc != 1) { |
||||
std::cout << argv[0] << "takes no arguments.\n"; |
||||
return 1; |
||||
} |
||||
std::cout << "This is project " << PROJECT_NAME << ".\n"; |
||||
return 0; |
||||
} |
@ -0,0 +1,3 @@ |
||||
project('warning_level', 'cpp', default_options : ['warning_level=0']) |
||||
|
||||
exe = executable('main', 'main.cpp', install : false) |
Loading…
Reference in new issue