Commit 9ffe8da
cmake: Pass -Wall and check that compiler flags are supported (#51)
Adds checks to ensure that command line flags passed to the C/C++
copmilers are supported before adding them to the list of flags. This
also leaves to CMake the responsibility of determining which compiler
flags are needed to choose C++11/C99, instead of passing -std=xyz,
because different compilers might use other options for this.1 parent 0862a9e commit 9ffe8da
1 file changed
+19
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
23 | 40 | | |
24 | 41 | | |
25 | 42 | | |
| |||
0 commit comments