| 1 |
{ |
| 2 |
"targets": [ |
| 3 |
{ |
| 4 |
"cFlags": [ ], |
| 5 |
"cmd": "gcc a.c b.c -o a.out", |
| 6 |
"compiler": "gcc", |
| 7 |
"files": [ |
| 8 |
"a.c", |
| 9 |
"b.c" |
| 10 |
], |
| 11 |
"out": "a.out" |
| 12 |
}, |
| 13 |
{ |
| 14 |
"cFlags": [ ], |
| 15 |
"cmd": "clang test.c -o test", |
| 16 |
"compiler": "clang", |
| 17 |
"files": [ |
| 18 |
"test.c" |
| 19 |
], |
| 20 |
"out": "test" |
| 21 |
}, |
| 22 |
{ |
| 23 |
"cFlags": [ |
| 24 |
"-O3", |
| 25 |
"-DNDEBUG" |
| 26 |
], |
| 27 |
"cmd": "clang -O3 -DNDEBUG test2.c -o test2", |
| 28 |
"compiler": "clang", |
| 29 |
"files": [ |
| 30 |
"test2.c" |
| 31 |
], |
| 32 |
"out": "test2" |
| 33 |
}, |
| 34 |
{ |
| 35 |
"cFlags": [ |
| 36 |
"-O3", |
| 37 |
"-DNDEBUG", |
| 38 |
"-g" |
| 39 |
], |
| 40 |
"cmd": "gcc -O3 -DNDEBUG -g foo.c bar.c -o baz", |
| 41 |
"compiler": "gcc", |
| 42 |
"files": [ |
| 43 |
"foo.c", |
| 44 |
"bar.c" |
| 45 |
], |
| 46 |
"out": "baz" |
| 47 |
} |
| 48 |
] |
| 49 |
} |