summaryrefslogtreecommitdiffstats
path: root/tools/scan-build-py/tests/functional/src/compilation_database/build_regular.json.in
blob: 0200c1d8624a00c64302cee97d0a6d754066dc4b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
[
{
  "directory": "${path}",
  "command": "g++ -c -o main.o main.c -Wall -DDEBUG -Dvariable=value",
  "file": "${path}/main.c"
}
,
{
  "directory": "${path}",
  "command": "cc -c -o clean-one.o clean-one.c -Wall -DDEBUG \"-Dvariable=value with space\" -Iinclude",
  "file": "${path}/clean-one.c"
}
,
{
  "directory": "${path}",
  "command": "g++ -c -o clean-two.o clean-two.c -Wall -DDEBUG -Dvariable=value -I ./include",
  "file": "${path}/clean-two.c"
}
,
{
  "directory": "${path}",
  "command": "cc -c -o emit-one.o emit-one.c -Wall -DDEBUG \"-Dvariable=value with space\"",
  "file": "${path}/emit-one.c"
}
,
{
  "directory": "${path}",
  "command": "g++ -c -o emit-two.o emit-two.c -Wall -DDEBUG -Dvariable=value",
  "file": "${path}/emit-two.c"
}
]