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 pisitools
from pisi.actionsapi import get from pisi.actionsapi import get
j = "-DUSE_Z3=ON \ j = ''.join([
-DHAVE_RULES=ON \ ' -DUSE_Z3=ON',
-DPYTHON_EXECUTABLE=/usr/bin/python3 \ ' -DHAVE_RULES=ON',
-DBUILD_GUI=ON \ ' -DPYTHON_EXECUTABLE=/usr/bin/python3',
-DBUILD_SHARED_LIBS=ON \ ' -DBUILD_GUI=ON',
-DBUILD_TESTS=OFF \ ' -DBUILD_SHARED_LIBS=ON',
-DCMAKE_BUILD_TYPE=Release \ ' -DBUILD_TESTS=OFF',
-DUSE_BUNDLED_TINYXML2=OFF \ ' -DCMAKE_BUILD_TYPE=Release',
-DCMAKE_DISABLE_PRECOMPILE_HEADERS=ON \ ' -DUSE_BUNDLED_TINYXML2=OFF',
-DENABLE_CHECK_INTERNAL=ON \ ' -DCMAKE_DISABLE_PRECOMPILE_HEADERS=ON',
-DWITH_QCHART=ON -L \ ' -DENABLE_CHECK_INTERNAL=ON',
" ' -DWITH_QCHART=ON -L '
])
def setup(): def setup():
shelltools.makedirs("build") cmaketools.configure("-Bbuild %s" % j)
shelltools.cd("build")
cmaketools.configure(j, sourceDir = '..')
def build(): def build():
shelltools.cd("build") shelltools.cd("build")
@@ -38,5 +37,4 @@ def install():
shelltools.cd("build") shelltools.cd("build")
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR()) 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> <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). 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> </Description>
<Archive sha1sum="036ffb5405e3771bc237c52b1ae1b535e20ea26c" type="tarbz2"> <Archive sha1sum="2a038875ada9879f6b2eb26d65759266b04cb522" type="tarbz2">
mirrors://sourceforge/cppcheck/cppcheck-2.6.tar.bz2 mirrors://sourceforge/cppcheck/cppcheck-2.7.tar.bz2
</Archive> </Archive>
<BuildDependencies> <BuildDependencies>
<Dependency>cmake</Dependency> <Dependency>cmake</Dependency>
@@ -68,6 +68,13 @@
</Package> </Package>
<History> <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"> <Update release="8">
<Date>2021-10-11</Date> <Date>2021-10-11</Date>
<Version>2.6</Version> <Version>2.6</Version>