-
Notifications
You must be signed in to change notification settings - Fork 0
/
lgtm.yml
36 lines (36 loc) · 976 Bytes
/
lgtm.yml
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
32
33
34
35
36
path_classifiers:
generated:
- CMakeFiles
- lib
- out
library:
- extlibs
- fake_ntdll
template:
- build
test:
- test
docs:
- README.md
- License.txt
queries:
- exclude: cpp/use-of-goto
- exclude: cpp/incorrect-string-type-conversion
- exclude: cpp/unsigned-comparison-zero
- exclude: cpp/wrong-type-format-argument
extraction:
cpp:
prepare:
packages:
- mingw-w64
after_prepare:
- export GIT=true
before_index:
- find ./ -type f -regex ".*/.*\.\(c\|h\|cpp\|hpp\)" -exec sed -i '/#include/s/\\/\//g' {} \;
- sed -i 's/__maybevalid/SAL__maybevalid/g' fake_ntdll/ntdef.h
- sed -i 's/__field_bcount_part/SAL__out_bcount_part/g' fake_ntdll/ntdef.h
- sed -i 's/__field_bcount_part_opt/SAL__out_bcount_part_opt/g' fake_ntdll/ntdef.h
index:
build_command:
- cmake -DCMAKE_TOOLCHAIN_FILE=toolchain-mingw32.cmake -DCMAKE_BUILD_TYPE=Release
- make