qt5base-lts/.lgtm.yml
Dimitrios Apostolou 1363084028 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>
2020-06-20 23:52:59 +02:00

24 lines
848 B
YAML

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"