Add config file for enabling LGTM analysis
lgtm.com is already picking up qtbase's mirror repo on github, trying to analyze it. Because it lacks build instructions, lgtm.com fails to analyze the C++ code, and only presents flaws in the little python and javascript code that is in the repo. With the file in this commit, it should be able to analyze the C++ code too. Change-Id: If558d26800e76c1b8590ed1aaf28adb6c0d6e188 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
This commit is contained in:
parent
03326a2fec
commit
1363084028
23
.lgtm.yml
Normal file
23
.lgtm.yml
Normal file
@ -0,0 +1,23 @@
|
||||
extraction:
|
||||
cpp:
|
||||
prepare:
|
||||
packages:
|
||||
- libgl-dev
|
||||
- libglu-dev
|
||||
- libpcre2-dev
|
||||
- libz-dev
|
||||
- libfreetype6-dev
|
||||
- libpng-dev
|
||||
- libjpeg-dev
|
||||
- libsqlite3-dev
|
||||
after_prepare:
|
||||
- mkdir $HOME/cmake-3.17 \
|
||||
\ && wget -qO- "https://cmake.org/files/v3.17/cmake-3.17.3-Linux-x86_64.tar.gz" \
|
||||
\ | tar -xzf - --strip-components=1 -C $HOME/cmake-3.17
|
||||
- export PATH=$HOME/cmake-3.17/bin:$PATH
|
||||
|
||||
configure:
|
||||
command: "./configure -cmake -opensource -confirm-license -debug -no-optimize-debug \
|
||||
\ -nomake tests -nomake examples -no-harfbuzz -no-iconv -system-pcre -system-zlib \
|
||||
\ -system-freetype -system-libpng -system-libjpeg -system-sqlite -- -DFEATURE_system_sqlite=ON \
|
||||
\ -DQT_NO_MAKE_TESTS=ON -DQT_NO_MAKE_EXAMPLES=ON"
|
Loading…
x
Reference in New Issue
Block a user