cppcheck.

This commit is contained in:
4fury-c3440d8
2022-02-05 22:02:51 +03:00
parent 479ea65bcd
commit 5744ff1661
2 changed files with 24 additions and 19 deletions
+15 -17
View File
@@ -9,23 +9,22 @@ from pisi.actionsapi import cmaketools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
j = "-DUSE_Z3=ON \
-DHAVE_RULES=ON \
-DPYTHON_EXECUTABLE=/usr/bin/python3 \
-DBUILD_GUI=ON \
-DBUILD_SHARED_LIBS=ON \
-DBUILD_TESTS=OFF \
-DCMAKE_BUILD_TYPE=Release \
-DUSE_BUNDLED_TINYXML2=OFF \
-DCMAKE_DISABLE_PRECOMPILE_HEADERS=ON \
-DENABLE_CHECK_INTERNAL=ON \
-DWITH_QCHART=ON -L \
"
j = ''.join([
' -DUSE_Z3=ON',
' -DHAVE_RULES=ON',
' -DPYTHON_EXECUTABLE=/usr/bin/python3',
' -DBUILD_GUI=ON',
' -DBUILD_SHARED_LIBS=ON',
' -DBUILD_TESTS=OFF',
' -DCMAKE_BUILD_TYPE=Release',
' -DUSE_BUNDLED_TINYXML2=OFF',
' -DCMAKE_DISABLE_PRECOMPILE_HEADERS=ON',
' -DENABLE_CHECK_INTERNAL=ON',
' -DWITH_QCHART=ON -L '
])
def setup():
shelltools.makedirs("build")
shelltools.cd("build")
cmaketools.configure(j, sourceDir = '..')
cmaketools.configure("-Bbuild %s" % j)
def build():
shelltools.cd("build")
@@ -38,5 +37,4 @@ def install():
shelltools.cd("build")
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("../AUTHORS", "../COPYING", "../philosophy.md", "../readme.md")
pisitools.dodoc("../AUTHORS")
+9 -2
View File
@@ -16,8 +16,8 @@
<Description>
Cppcheck is a static analysis tool for C/C++ code. It provides unique code analysis to detect bugs and focuses on detecting undefined behaviour and dangerous coding constructs. The goal is to detect only real errors in the code (i.e. have very few false positives).
</Description>
<Archive sha1sum="036ffb5405e3771bc237c52b1ae1b535e20ea26c" type="tarbz2">
mirrors://sourceforge/cppcheck/cppcheck-2.6.tar.bz2
<Archive sha1sum="2a038875ada9879f6b2eb26d65759266b04cb522" type="tarbz2">
mirrors://sourceforge/cppcheck/cppcheck-2.7.tar.bz2
</Archive>
<BuildDependencies>
<Dependency>cmake</Dependency>
@@ -68,6 +68,13 @@
</Package>
<History>
<Update release="9">
<Date>2022-02-05</Date>
<Version>2.7</Version>
<Comment>Ver. bump</Comment>
<Name>fury</Name>
<Email>uglyside@yandex.ru</Email>
</Update>
<Update release="8">
<Date>2021-10-11</Date>
<Version>2.6</Version>