cppcheck 1.4.1__tar.gz → 1.4.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {cppcheck-1.4.1 → cppcheck-1.4.2}/.copier-answers.yml +4 -3
- {cppcheck-1.4.1 → cppcheck-1.4.2}/.github/workflows/ci.yml +3 -1
- cppcheck-1.4.2/.github/workflows/pages.yml +60 -0
- {cppcheck-1.4.1 → cppcheck-1.4.2}/.gitignore +1 -1
- {cppcheck-1.4.1 → cppcheck-1.4.2}/.pre-commit-config.yaml +16 -1
- {cppcheck-1.4.1 → cppcheck-1.4.2}/CMakeLists.txt +5 -3
- {cppcheck-1.4.1 → cppcheck-1.4.2}/PKG-INFO +7 -6
- {cppcheck-1.4.1 → cppcheck-1.4.2}/README.md +2 -1
- {cppcheck-1.4.1 → cppcheck-1.4.2}/cmake/vcpkg/ports/cppcheck/portfile.cmake +1 -1
- {cppcheck-1.4.1 → cppcheck-1.4.2}/cmake/vcpkg/ports/cppcheck/vcpkg.json +4 -2
- cppcheck-1.4.2/cmake/vcpkg/ports/pcre/export-cmake-targets.patch +23 -0
- cppcheck-1.4.2/cmake/vcpkg/ports/pcre/pcre-8.4.5_fix_check_function_exists_for_arm-androi_builds.patch +32 -0
- cppcheck-1.4.2/cmake/vcpkg/ports/pcre/pcre-8.45_fix_postfix_for_debug_Windows_builds.patch +161 -0
- cppcheck-1.4.2/cmake/vcpkg/ports/pcre/pcre-8.45_suppress_cmake_and_compiler_warnings-errors.patch +18 -0
- cppcheck-1.4.2/cmake/vcpkg/ports/pcre/portfile.cmake +79 -0
- cppcheck-1.4.2/cmake/vcpkg/ports/pcre/unofficial-pcre-config.cmake +1 -0
- cppcheck-1.4.2/cmake/vcpkg/ports/pcre/vcpkg.json +18 -0
- {cppcheck-1.4.1 → cppcheck-1.4.2}/docs/conf.py +1 -0
- {cppcheck-1.4.1 → cppcheck-1.4.2}/pyproject.toml +7 -7
- {cppcheck-1.4.1 → cppcheck-1.4.2}/src/cppcheck/_version.py +2 -2
- {cppcheck-1.4.1 → cppcheck-1.4.2}/vcpkg.json +4 -9
- {cppcheck-1.4.1 → cppcheck-1.4.2}/.devcontainer/devcontainer.json +0 -0
- {cppcheck-1.4.1 → cppcheck-1.4.2}/.editorconfig +0 -0
- {cppcheck-1.4.1 → cppcheck-1.4.2}/.gitattributes +0 -0
- {cppcheck-1.4.1 → cppcheck-1.4.2}/.github/codecov.yml +0 -0
- {cppcheck-1.4.1 → cppcheck-1.4.2}/.github/codeql-config.yml +0 -0
- {cppcheck-1.4.1 → cppcheck-1.4.2}/.github/matchers/pylint.json +0 -0
- {cppcheck-1.4.1 → cppcheck-1.4.2}/.github/workflows/cd.yml +0 -0
- {cppcheck-1.4.1 → cppcheck-1.4.2}/.github/workflows/codeql.yml +0 -0
- {cppcheck-1.4.1 → cppcheck-1.4.2}/.github/workflows/renovate.yml +0 -0
- {cppcheck-1.4.1 → cppcheck-1.4.2}/.github/workflows/semantic-release.yml +0 -0
- {cppcheck-1.4.1 → cppcheck-1.4.2}/.markdownlint.yaml +0 -0
- {cppcheck-1.4.1 → cppcheck-1.4.2}/.releaserc.js +0 -0
- {cppcheck-1.4.1 → cppcheck-1.4.2}/.renovaterc.json +0 -0
- {cppcheck-1.4.1 → cppcheck-1.4.2}/.vscode/launch.json +0 -0
- {cppcheck-1.4.1 → cppcheck-1.4.2}/.vscode/settings.json +0 -0
- {cppcheck-1.4.1 → cppcheck-1.4.2}/CMakePresets.json +0 -0
- {cppcheck-1.4.1 → cppcheck-1.4.2}/LICENSE +0 -0
- {cppcheck-1.4.1 → cppcheck-1.4.2}/cmake/presets/arch/x64.json +0 -0
- {cppcheck-1.4.1 → cppcheck-1.4.2}/cmake/presets/base.json +0 -0
- {cppcheck-1.4.1 → cppcheck-1.4.2}/cmake/presets/compilers/gcc.json +0 -0
- {cppcheck-1.4.1 → cppcheck-1.4.2}/cmake/presets/compilers/llvm.json +0 -0
- {cppcheck-1.4.1 → cppcheck-1.4.2}/cmake/presets/compilers/mingw.json +0 -0
- {cppcheck-1.4.1 → cppcheck-1.4.2}/cmake/presets/compilers/msvc.json +0 -0
- {cppcheck-1.4.1 → cppcheck-1.4.2}/cmake/presets/default.json +0 -0
- {cppcheck-1.4.1 → cppcheck-1.4.2}/cmake/presets/generators/ninja.json +0 -0
- {cppcheck-1.4.1 → cppcheck-1.4.2}/cmake/presets/os/darwin.json +0 -0
- {cppcheck-1.4.1 → cppcheck-1.4.2}/cmake/presets/os/linux.json +0 -0
- {cppcheck-1.4.1 → cppcheck-1.4.2}/cmake/presets/os/windows.json +0 -0
- {cppcheck-1.4.1 → cppcheck-1.4.2}/cmake/presets/toolchains/vcpkg.json +0 -0
- {cppcheck-1.4.1 → cppcheck-1.4.2}/cmake/presets/triplets/x64-linux.json +0 -0
- {cppcheck-1.4.1 → cppcheck-1.4.2}/cmake/presets/triplets/x64-mingw-dynamic.json +0 -0
- {cppcheck-1.4.1 → cppcheck-1.4.2}/cmake/presets/triplets/x64-mingw-static.json +0 -0
- {cppcheck-1.4.1 → cppcheck-1.4.2}/cmake/presets/triplets/x64-osx.json +0 -0
- {cppcheck-1.4.1 → cppcheck-1.4.2}/cmake/presets/triplets/x64-windows.json +0 -0
- {cppcheck-1.4.1 → cppcheck-1.4.2}/cmake/presets/x64-linux-gcc.json +0 -0
- {cppcheck-1.4.1 → cppcheck-1.4.2}/cmake/presets/x64-linux-llvm.json +0 -0
- {cppcheck-1.4.1 → cppcheck-1.4.2}/cmake/presets/x64-mingw-dynamic-windows-mingw.json +0 -0
- {cppcheck-1.4.1 → cppcheck-1.4.2}/cmake/presets/x64-mingw-static-windows-mingw.json +0 -0
- {cppcheck-1.4.1 → cppcheck-1.4.2}/cmake/presets/x64-osx-gcc.json +0 -0
- {cppcheck-1.4.1 → cppcheck-1.4.2}/cmake/presets/x64-osx-llvm.json +0 -0
- {cppcheck-1.4.1 → cppcheck-1.4.2}/cmake/presets/x64-windows-llvm.json +0 -0
- {cppcheck-1.4.1 → cppcheck-1.4.2}/cmake/presets/x64-windows-msvc.json +0 -0
- {cppcheck-1.4.1 → cppcheck-1.4.2}/cmake/vcpkg/bootstrap/vcpkg-config.cmake +0 -0
- {cppcheck-1.4.1 → cppcheck-1.4.2}/cmake/vcpkg/bootstrap/vcpkg_bootstrap.cmake +0 -0
- {cppcheck-1.4.1 → cppcheck-1.4.2}/cmake/vcpkg/bootstrap/vcpkg_chainload_toolchain.cmake +0 -0
- {cppcheck-1.4.1 → cppcheck-1.4.2}/cmake/vcpkg/bootstrap/vcpkg_configure.cmake +0 -0
- {cppcheck-1.4.1 → cppcheck-1.4.2}/cmake/vcpkg/bootstrap/vcpkg_export_mode.cmake +0 -0
- {cppcheck-1.4.1 → cppcheck-1.4.2}/cmake/vcpkg/bootstrap/vcpkg_load_triplet.cmake +0 -0
- {cppcheck-1.4.1 → cppcheck-1.4.2}/cmake/vcpkg/bootstrap/vcpkg_skip_install_on_reconfigure.cmake +0 -0
- {cppcheck-1.4.1 → cppcheck-1.4.2}/cmake/vcpkg/ports/README.md +0 -0
- {cppcheck-1.4.1 → cppcheck-1.4.2}/cmake/vcpkg/scripts/build_type.cmake +0 -0
- {cppcheck-1.4.1 → cppcheck-1.4.2}/cmake/vcpkg/scripts/toolchains/README.md +0 -0
- {cppcheck-1.4.1 → cppcheck-1.4.2}/cmake/vcpkg/triplets/README.md +0 -0
- {cppcheck-1.4.1 → cppcheck-1.4.2}/cmake/vcpkg/vcpkg.toolchain.cmake +0 -0
- {cppcheck-1.4.1 → cppcheck-1.4.2}/docs/api/index.md +0 -0
- {cppcheck-1.4.1 → cppcheck-1.4.2}/docs/index.md +0 -0
- {cppcheck-1.4.1 → cppcheck-1.4.2}/noxfile.py +0 -0
- {cppcheck-1.4.1 → cppcheck-1.4.2}/src/cppcheck/__init__.py +0 -0
- {cppcheck-1.4.1 → cppcheck-1.4.2}/src/cppcheck/__main__.py +0 -0
- {cppcheck-1.4.1 → cppcheck-1.4.2}/src/cppcheck/_version.pyi +0 -0
- {cppcheck-1.4.1 → cppcheck-1.4.2}/src/cppcheck/py.typed +0 -0
- {cppcheck-1.4.1 → cppcheck-1.4.2}/tests/test_package.py +0 -0
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
_commit:
|
|
2
|
-
_src_path:
|
|
1
|
+
_commit: v0.8.2
|
|
2
|
+
_src_path: gh:serious-scaffold/ss-pybind11
|
|
3
3
|
author_email: msclock@126.com
|
|
4
4
|
author_name: msclock
|
|
5
5
|
codecov_notify_builds: 1
|
|
6
6
|
codecov_threshold: 5%
|
|
7
|
+
compiled: false
|
|
7
8
|
copyright_holder: msclock
|
|
8
9
|
copyright_license: Apache Software License
|
|
9
10
|
copyright_year: '2024'
|
|
@@ -11,7 +12,7 @@ create_devcontainer: true
|
|
|
11
12
|
default_py: '3.10'
|
|
12
13
|
docs_type: sphinx
|
|
13
14
|
max_py: '3.13'
|
|
14
|
-
min_py: '3.
|
|
15
|
+
min_py: '3.8'
|
|
15
16
|
module_name: cppcheck
|
|
16
17
|
organization_name: msclock
|
|
17
18
|
project_description: Package cppcheck as a python wheel.
|
|
@@ -77,7 +77,7 @@ jobs:
|
|
|
77
77
|
python-version: ${{ matrix.python-version }}
|
|
78
78
|
|
|
79
79
|
- name: Install package
|
|
80
|
-
run: python -m pip install .[test]
|
|
80
|
+
run: python -m pip install .[test] -v
|
|
81
81
|
|
|
82
82
|
- name: Test package
|
|
83
83
|
run: >-
|
|
@@ -87,6 +87,7 @@ jobs:
|
|
|
87
87
|
- name: Upload coverage report
|
|
88
88
|
uses: codecov/codecov-action@ab904c41d6ece82784817410c45d8b8c02684457 # v3.1.6
|
|
89
89
|
|
|
90
|
+
|
|
90
91
|
check-docs:
|
|
91
92
|
runs-on: ubuntu-22.04
|
|
92
93
|
needs: [pre-commit]
|
|
@@ -117,6 +118,7 @@ jobs:
|
|
|
117
118
|
- name: Checks the docs for broken links
|
|
118
119
|
run: pipx run nox -s docs -- --linkcheck
|
|
119
120
|
|
|
121
|
+
|
|
120
122
|
pass:
|
|
121
123
|
if: always()
|
|
122
124
|
needs:
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
name: Pages
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
workflow_dispatch:
|
|
5
|
+
|
|
6
|
+
push:
|
|
7
|
+
branches:
|
|
8
|
+
- master
|
|
9
|
+
- beta
|
|
10
|
+
- alpha
|
|
11
|
+
- '*.x'
|
|
12
|
+
|
|
13
|
+
release:
|
|
14
|
+
types:
|
|
15
|
+
- published
|
|
16
|
+
|
|
17
|
+
concurrency:
|
|
18
|
+
group: ${{ github.workflow }}-${{ github.ref }}
|
|
19
|
+
cancel-in-progress: true
|
|
20
|
+
|
|
21
|
+
env:
|
|
22
|
+
FORCE_COLOR: 3
|
|
23
|
+
|
|
24
|
+
jobs:
|
|
25
|
+
pages:
|
|
26
|
+
name: Deploy to GitHub Pages
|
|
27
|
+
runs-on: ubuntu-22.04
|
|
28
|
+
permissions:
|
|
29
|
+
contents: write
|
|
30
|
+
id-token: write
|
|
31
|
+
timeout-minutes: 15
|
|
32
|
+
|
|
33
|
+
steps:
|
|
34
|
+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
|
|
35
|
+
with:
|
|
36
|
+
token: ${{ secrets.GITHUB_TOKEN }}
|
|
37
|
+
ref: ${{ github.head_ref }}
|
|
38
|
+
|
|
39
|
+
- name: Cache
|
|
40
|
+
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4
|
|
41
|
+
with:
|
|
42
|
+
path: |
|
|
43
|
+
~/vcpkg
|
|
44
|
+
~/.cache/pip
|
|
45
|
+
~/.cache/vcpkg
|
|
46
|
+
key: cd-pages-${{ hashFiles('vcpkg.json') }}
|
|
47
|
+
restore-keys: cd-pages-${{ hashFiles('vcpkg.json') }}
|
|
48
|
+
|
|
49
|
+
- uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5
|
|
50
|
+
with:
|
|
51
|
+
python-version: 3.x
|
|
52
|
+
|
|
53
|
+
- name: Build Docs
|
|
54
|
+
run: pipx run nox -s docs
|
|
55
|
+
|
|
56
|
+
- name: Deploy to GitHub Pages
|
|
57
|
+
uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4
|
|
58
|
+
with:
|
|
59
|
+
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
60
|
+
publish_dir: ./docs/_build/html
|
|
@@ -15,7 +15,8 @@
|
|
|
15
15
|
fail_fast: false
|
|
16
16
|
exclude: |
|
|
17
17
|
(?x)(
|
|
18
|
-
^(.vscode/.*)
|
|
18
|
+
^(.vscode/.*) |
|
|
19
|
+
^(cmake/vcpkg/ports/.*)
|
|
19
20
|
)
|
|
20
21
|
files: '' # set '' as default
|
|
21
22
|
|
|
@@ -37,6 +38,14 @@ repos:
|
|
|
37
38
|
- id: requirements-txt-fixer
|
|
38
39
|
- id: trailing-whitespace
|
|
39
40
|
|
|
41
|
+
# Check RST
|
|
42
|
+
- repo: https://github.com/pre-commit/pygrep-hooks
|
|
43
|
+
rev: v1.10.0
|
|
44
|
+
hooks:
|
|
45
|
+
- id: rst-backticks
|
|
46
|
+
- id: rst-directive-colons
|
|
47
|
+
- id: rst-inline-touching-normal
|
|
48
|
+
|
|
40
49
|
# Strong lint from ruff
|
|
41
50
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
42
51
|
rev: v0.1.14
|
|
@@ -115,6 +124,12 @@ repos:
|
|
|
115
124
|
- --check-filenames
|
|
116
125
|
- --write-changes
|
|
117
126
|
|
|
127
|
+
# Check for common shell mistakes
|
|
128
|
+
- repo: https://github.com/shellcheck-py/shellcheck-py
|
|
129
|
+
rev: v0.9.0.6
|
|
130
|
+
hooks:
|
|
131
|
+
- id: shellcheck
|
|
132
|
+
|
|
118
133
|
# Check for renovate config
|
|
119
134
|
- repo: https://github.com/renovatebot/pre-commit-hooks
|
|
120
135
|
rev: 38.110.2
|
|
@@ -10,7 +10,6 @@ message(
|
|
|
10
10
|
STATUS
|
|
11
11
|
"Building CMake project ${SKBUILD_PROJECT_NAME} ${SKBUILD_PROJECT_VERSION}")
|
|
12
12
|
|
|
13
|
-
# Project settings
|
|
14
13
|
project(
|
|
15
14
|
${SKBUILD_PROJECT_NAME}
|
|
16
15
|
VERSION ${SKBUILD_PROJECT_VERSION}
|
|
@@ -26,11 +25,14 @@ set(CMAKE_CXX_EXTENSIONS
|
|
|
26
25
|
OFF
|
|
27
26
|
CACHE BOOL "C++ extensions")
|
|
28
27
|
|
|
28
|
+
# Project default module
|
|
29
29
|
find_package(cmake-modules REQUIRED)
|
|
30
30
|
include(cmake-modules/ProjectDefault)
|
|
31
31
|
|
|
32
32
|
find_program(cppcheck NAMES "cppcheck" "cppcheck.exe")
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
cmake_path(GET cppcheck PARENT_PATH cppcheck_dir)
|
|
34
|
+
file(GLOB cppcheck_runtimes ${cppcheck_dir}/*)
|
|
35
|
+
install(PROGRAMS ${cppcheck_runtimes}
|
|
36
|
+
DESTINATION ${SKBUILD_PROJECT_NAME}/Cppcheck)
|
|
35
37
|
install(DIRECTORY ${VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/share/Cppcheck
|
|
36
38
|
DESTINATION ${SKBUILD_PROJECT_NAME})
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: cppcheck
|
|
3
|
-
Version: 1.4.
|
|
3
|
+
Version: 1.4.2
|
|
4
4
|
Summary: Package cppcheck as a python wheel.
|
|
5
5
|
Author-Email: msclock <msclock@126.com>
|
|
6
6
|
License: Apache-2.0
|
|
@@ -20,10 +20,10 @@ Classifier: Programming Language :: Python :: 3.12
|
|
|
20
20
|
Classifier: Programming Language :: Python :: 3.13
|
|
21
21
|
Classifier: Topic :: Scientific/Engineering
|
|
22
22
|
Classifier: Typing :: Typed
|
|
23
|
-
Project-URL: Homepage, https://github.com/
|
|
24
|
-
Project-URL: Bug tracker, https://github.com/
|
|
25
|
-
Project-URL: Discussions, https://github.com/
|
|
26
|
-
Project-URL: Changelog, https://github.com/
|
|
23
|
+
Project-URL: Homepage, https://github.com/msclock/cppcheck-wheel
|
|
24
|
+
Project-URL: Bug tracker, https://github.com/msclock/cppcheck-wheel/issues
|
|
25
|
+
Project-URL: Discussions, https://github.com/msclock/cppcheck-wheel/discussions
|
|
26
|
+
Project-URL: Changelog, https://github.com/msclock/cppcheck-wheel/releases
|
|
27
27
|
Requires-Python: >=3.7
|
|
28
28
|
Requires-Dist: typing-extensions>=3.10.0; python_version < "3.9"
|
|
29
29
|
Requires-Dist: importlib_metadata>=1.4
|
|
@@ -49,7 +49,7 @@ Package cppcheck as a python wheel.
|
|
|
49
49
|
|
|
50
50
|
[](https://msclock.github.io/cppcheck-wheel)
|
|
51
51
|
[](https://github.com/msclock/cppcheck-wheel/blob/master/LICENSE)
|
|
52
|
-
[](https://github.com/serious-scaffold/ss-pybind11)
|
|
53
53
|
|
|
54
54
|
[](https://github.com/msclock/cppcheck-wheel/actions/workflows/ci.yml)
|
|
55
55
|
[](https://github.com/msclock/cppcheck-wheel/actions/workflows/cd.yml)
|
|
@@ -62,6 +62,7 @@ Package cppcheck as a python wheel.
|
|
|
62
62
|
[](https://github.com/cheshirekow/cmake-format-precommit)
|
|
63
63
|
[](https://github.com/codespell-project/codespell)
|
|
64
64
|
[](https://github.com/igorshubovych/markdownlint-cli)
|
|
65
|
+
[](https://github.com/shellcheck-py/shellcheck-py)
|
|
65
66
|
|
|
66
67
|
<!-- writes more things here -->
|
|
67
68
|
|
|
@@ -6,7 +6,7 @@ Package cppcheck as a python wheel.
|
|
|
6
6
|
|
|
7
7
|
[](https://msclock.github.io/cppcheck-wheel)
|
|
8
8
|
[](https://github.com/msclock/cppcheck-wheel/blob/master/LICENSE)
|
|
9
|
-
[](https://github.com/serious-scaffold/ss-pybind11)
|
|
10
10
|
|
|
11
11
|
[](https://github.com/msclock/cppcheck-wheel/actions/workflows/ci.yml)
|
|
12
12
|
[](https://github.com/msclock/cppcheck-wheel/actions/workflows/cd.yml)
|
|
@@ -19,6 +19,7 @@ Package cppcheck as a python wheel.
|
|
|
19
19
|
[](https://github.com/cheshirekow/cmake-format-precommit)
|
|
20
20
|
[](https://github.com/codespell-project/codespell)
|
|
21
21
|
[](https://github.com/igorshubovych/markdownlint-cli)
|
|
22
|
+
[](https://github.com/shellcheck-py/shellcheck-py)
|
|
22
23
|
|
|
23
24
|
<!-- writes more things here -->
|
|
24
25
|
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
--- a/CMakeLists.txt 2021-06-14 10:33:38.000000000 +0200
|
|
2
|
+
+++ b/CMakeLists.txt 2021-06-18 18:08:24.162881000 +0200
|
|
3
|
+
@@ -934,10 +934,19 @@
|
|
4
|
+
# Installation
|
|
5
|
+
SET(CMAKE_INSTALL_ALWAYS 1)
|
|
6
|
+
|
|
7
|
+
-INSTALL(TARGETS ${targets}
|
|
8
|
+
+foreach(target ${targets})
|
|
9
|
+
+ INSTALL(TARGETS ${target}
|
|
10
|
+
+ EXPORT pcre-targets
|
|
11
|
+
RUNTIME DESTINATION bin
|
|
12
|
+
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
|
13
|
+
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
|
14
|
+
+ target_include_directories(${target} PUBLIC $<INSTALL_INTERFACE:include>)
|
|
15
|
+
+endforeach()
|
|
16
|
+
+
|
|
17
|
+
+INSTALL(EXPORT pcre-targets
|
|
18
|
+
+ NAMESPACE unofficial::pcre::
|
|
19
|
+
+ FILE unofficial-pcre-targets.cmake
|
|
20
|
+
+ DESTINATION "share/unofficial-pcre")
|
|
21
|
+
|
|
22
|
+
INSTALL(FILES ${PCRE_HEADERS} ${PCREPOSIX_HEADERS} DESTINATION include)
|
|
23
|
+
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
2
|
+
index 2c3a309..cdd480f 100644
|
|
3
|
+
--- a/CMakeLists.txt
|
|
4
|
+
+++ b/CMakeLists.txt
|
|
5
|
+
@@ -94,7 +94,7 @@ FIND_PACKAGE( Editline )
|
|
6
|
+
|
|
7
|
+
INCLUDE(CheckIncludeFile)
|
|
8
|
+
INCLUDE(CheckIncludeFileCXX)
|
|
9
|
+
-INCLUDE(CheckFunctionExists)
|
|
10
|
+
+INCLUDE(CheckSymbolExists)
|
|
11
|
+
INCLUDE(CheckTypeSize)
|
|
12
|
+
INCLUDE(GNUInstallDirs) # for CMAKE_INSTALL_LIBDIR
|
|
13
|
+
|
|
14
|
+
@@ -109,12 +109,12 @@ CHECK_INCLUDE_FILE(windows.h HAVE_WINDOWS_H)
|
|
15
|
+
CHECK_INCLUDE_FILE_CXX(type_traits.h HAVE_TYPE_TRAITS_H)
|
|
16
|
+
CHECK_INCLUDE_FILE_CXX(bits/type_traits.h HAVE_BITS_TYPE_TRAITS_H)
|
|
17
|
+
|
|
18
|
+
-CHECK_FUNCTION_EXISTS(bcopy HAVE_BCOPY)
|
|
19
|
+
-CHECK_FUNCTION_EXISTS(memmove HAVE_MEMMOVE)
|
|
20
|
+
-CHECK_FUNCTION_EXISTS(strerror HAVE_STRERROR)
|
|
21
|
+
-CHECK_FUNCTION_EXISTS(strtoll HAVE_STRTOLL)
|
|
22
|
+
-CHECK_FUNCTION_EXISTS(strtoq HAVE_STRTOQ)
|
|
23
|
+
-CHECK_FUNCTION_EXISTS(_strtoi64 HAVE__STRTOI64)
|
|
24
|
+
+CHECK_SYMBOL_EXISTS(bcopy strings.h HAVE_BCOPY)
|
|
25
|
+
+CHECK_SYMBOL_EXISTS(memmove string.h HAVE_MEMMOVE)
|
|
26
|
+
+CHECK_SYMBOL_EXISTS(strerror string.h HAVE_STRERROR)
|
|
27
|
+
+CHECK_SYMBOL_EXISTS(strtoll stdlib.h HAVE_STRTOLL)
|
|
28
|
+
+CHECK_SYMBOL_EXISTS(strtoq stdlib.h HAVE_STRTOQ)
|
|
29
|
+
+CHECK_SYMBOL_EXISTS(_strtoi64 stdlib.h HAVE__STRTOI64)
|
|
30
|
+
|
|
31
|
+
CHECK_TYPE_SIZE("long long" LONG_LONG)
|
|
32
|
+
CHECK_TYPE_SIZE("unsigned long long" UNSIGNED_LONG_LONG)
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
Index: CMakeLists.txt
|
|
2
|
+
===================================================================
|
|
3
|
+
--- CMakeLists.txt (revision 1767)
|
|
4
|
+
+++ CMakeLists.txt (working copy)
|
|
5
|
+
@@ -436,6 +436,12 @@
|
|
6
|
+
@ONLY)
|
|
7
|
+
ENDIF(PCRE_BUILD_PCRECPP)
|
|
8
|
+
|
|
9
|
+
+# Make sure to not link debug libs
|
|
10
|
+
+# against release libs and vice versa
|
|
11
|
+
+IF(WIN32)
|
|
12
|
+
+ SET(CMAKE_DEBUG_POSTFIX "d")
|
|
13
|
+
+ENDIF(WIN32)
|
|
14
|
+
+
|
|
15
|
+
# Generate pkg-config files
|
|
16
|
+
SET(PACKAGE_VERSION "${PCRE_MAJOR}.${PCRE_MINOR}")
|
|
17
|
+
SET(prefix "${CMAKE_INSTALL_PREFIX}")
|
|
18
|
+
@@ -442,6 +448,9 @@
|
|
19
|
+
SET(exec_prefix "\${prefix}")
|
|
20
|
+
SET(libdir "\${exec_prefix}/${CMAKE_INSTALL_LIBDIR}")
|
|
21
|
+
SET(includedir "\${prefix}/include")
|
|
22
|
+
+IF(WIN32 AND (CMAKE_BUILD_TYPE MATCHES Debug))
|
|
23
|
+
+ SET(LIB_POSTFIX ${CMAKE_DEBUG_POSTFIX})
|
|
24
|
+
+ENDIF()
|
|
25
|
+
IF(NOT BUILD_SHARED_LIBS)
|
|
26
|
+
SET(PCRE_STATIC_CFLAG "-DPCRE_STATIC")
|
|
27
|
+
ENDIF(NOT BUILD_SHARED_LIBS)
|
|
28
|
+
@@ -659,11 +668,6 @@
|
|
29
|
+
ENDIF(MSVC)
|
|
30
|
+
|
|
31
|
+
SET(CMAKE_INCLUDE_CURRENT_DIR 1)
|
|
32
|
+
-# needed to make sure to not link debug libs
|
|
33
|
+
-# against release libs and vice versa
|
|
34
|
+
-IF(WIN32)
|
|
35
|
+
- SET(CMAKE_DEBUG_POSTFIX "d")
|
|
36
|
+
-ENDIF(WIN32)
|
|
37
|
+
|
|
38
|
+
SET(targets)
|
|
39
|
+
|
|
40
|
+
Index: configure.ac
|
|
41
|
+
===================================================================
|
|
42
|
+
--- configure.ac (revision 1767)
|
|
43
|
+
+++ configure.ac (working copy)
|
|
44
|
+
@@ -1044,6 +1044,9 @@
|
|
45
|
+
AM_CONDITIONAL([WITH_GCOV],[test "x$enable_coverage" = "xyes"])
|
|
46
|
+
|
|
47
|
+
# Produce these files, in addition to config.h.
|
|
48
|
+
+# LIB_POSTFIX is used by CMakeLists.txt for Windows debug builds.
|
|
49
|
+
+# Pass empty LIB_POSTFIX to *.pc files and pcre-config here.
|
|
50
|
+
+AC_SUBST(LIB_POSTFIX)
|
|
51
|
+
AC_CONFIG_FILES(
|
|
52
|
+
Makefile
|
|
53
|
+
libpcre.pc
|
|
54
|
+
Index: libpcre.pc.in
|
|
55
|
+
===================================================================
|
|
56
|
+
--- libpcre.pc.in (revision 1767)
|
|
57
|
+
+++ libpcre.pc.in (working copy)
|
|
58
|
+
@@ -8,6 +8,6 @@
|
|
59
|
+
Name: libpcre
|
|
60
|
+
Description: PCRE - Perl compatible regular expressions C library with 8 bit character support
|
|
61
|
+
Version: @PACKAGE_VERSION@
|
|
62
|
+
-Libs: -L${libdir} -lpcre
|
|
63
|
+
+Libs: -L${libdir} -lpcre@LIB_POSTFIX@
|
|
64
|
+
Libs.private: @PTHREAD_CFLAGS@ @PTHREAD_LIBS@
|
|
65
|
+
Cflags: -I${includedir} @PCRE_STATIC_CFLAG@
|
|
66
|
+
Index: libpcre16.pc.in
|
|
67
|
+
===================================================================
|
|
68
|
+
--- libpcre16.pc.in (revision 1767)
|
|
69
|
+
+++ libpcre16.pc.in (working copy)
|
|
70
|
+
@@ -8,6 +8,6 @@
|
|
71
|
+
Name: libpcre16
|
|
72
|
+
Description: PCRE - Perl compatible regular expressions C library with 16 bit character support
|
|
73
|
+
Version: @PACKAGE_VERSION@
|
|
74
|
+
-Libs: -L${libdir} -lpcre16
|
|
75
|
+
+Libs: -L${libdir} -lpcre16@LIB_POSTFIX@
|
|
76
|
+
Libs.private: @PTHREAD_CFLAGS@ @PTHREAD_LIBS@
|
|
77
|
+
Cflags: -I${includedir} @PCRE_STATIC_CFLAG@
|
|
78
|
+
Index: libpcre32.pc.in
|
|
79
|
+
===================================================================
|
|
80
|
+
--- libpcre32.pc.in (revision 1767)
|
|
81
|
+
+++ libpcre32.pc.in (working copy)
|
|
82
|
+
@@ -8,6 +8,6 @@
|
|
83
|
+
Name: libpcre32
|
|
84
|
+
Description: PCRE - Perl compatible regular expressions C library with 32 bit character support
|
|
85
|
+
Version: @PACKAGE_VERSION@
|
|
86
|
+
-Libs: -L${libdir} -lpcre32
|
|
87
|
+
+Libs: -L${libdir} -lpcre32@LIB_POSTFIX@
|
|
88
|
+
Libs.private: @PTHREAD_CFLAGS@ @PTHREAD_LIBS@
|
|
89
|
+
Cflags: -I${includedir} @PCRE_STATIC_CFLAG@
|
|
90
|
+
Index: libpcrecpp.pc.in
|
|
91
|
+
===================================================================
|
|
92
|
+
--- libpcrecpp.pc.in (revision 1767)
|
|
93
|
+
+++ libpcrecpp.pc.in (working copy)
|
|
94
|
+
@@ -8,5 +8,5 @@
|
|
95
|
+
Name: libpcrecpp
|
|
96
|
+
Description: PCRECPP - C++ wrapper for PCRE
|
|
97
|
+
Version: @PACKAGE_VERSION@
|
|
98
|
+
-Libs: -L${libdir} -lpcre -lpcrecpp
|
|
99
|
+
+Libs: -L${libdir} -lpcre@LIB_POSTFIX@ -lpcrecpp@LIB_POSTFIX@
|
|
100
|
+
Cflags: -I${includedir} @PCRE_STATIC_CFLAG@
|
|
101
|
+
Index: libpcreposix.pc.in
|
|
102
|
+
===================================================================
|
|
103
|
+
--- libpcreposix.pc.in (revision 1767)
|
|
104
|
+
+++ libpcreposix.pc.in (working copy)
|
|
105
|
+
@@ -8,6 +8,6 @@
|
|
106
|
+
Name: libpcreposix
|
|
107
|
+
Description: PCREPosix - Posix compatible interface to libpcre
|
|
108
|
+
Version: @PACKAGE_VERSION@
|
|
109
|
+
-Libs: -L${libdir} -lpcreposix
|
|
110
|
+
+Libs: -L${libdir} -lpcreposix@LIB_POSTFIX@
|
|
111
|
+
Cflags: -I${includedir} @PCRE_STATIC_CFLAG@
|
|
112
|
+
Requires.private: libpcre
|
|
113
|
+
Index: pcre-config.in
|
|
114
|
+
===================================================================
|
|
115
|
+
--- pcre-config.in (revision 1767)
|
|
116
|
+
+++ pcre-config.in (working copy)
|
|
117
|
+
@@ -91,7 +91,7 @@
|
|
118
|
+
;;
|
|
119
|
+
--libs-posix)
|
|
120
|
+
if test @enable_pcre8@ = yes ; then
|
|
121
|
+
- echo $libS$libR -lpcreposix -lpcre
|
|
122
|
+
+ echo $libS$libR -lpcreposix@LIB_POSTFIX@ -lpcre@LIB_POSTFIX@
|
|
123
|
+
else
|
|
124
|
+
echo "${usage}" 1>&2
|
|
125
|
+
fi
|
|
126
|
+
@@ -98,7 +98,7 @@
|
|
127
|
+
;;
|
|
128
|
+
--libs)
|
|
129
|
+
if test @enable_pcre8@ = yes ; then
|
|
130
|
+
- echo $libS$libR -lpcre
|
|
131
|
+
+ echo $libS$libR -lpcre@LIB_POSTFIX@
|
|
132
|
+
else
|
|
133
|
+
echo "${usage}" 1>&2
|
|
134
|
+
fi
|
|
135
|
+
@@ -105,7 +105,7 @@
|
|
136
|
+
;;
|
|
137
|
+
--libs16)
|
|
138
|
+
if test @enable_pcre16@ = yes ; then
|
|
139
|
+
- echo $libS$libR -lpcre16
|
|
140
|
+
+ echo $libS$libR -lpcre16@LIB_POSTFIX@
|
|
141
|
+
else
|
|
142
|
+
echo "${usage}" 1>&2
|
|
143
|
+
fi
|
|
144
|
+
@@ -112,7 +112,7 @@
|
|
145
|
+
;;
|
|
146
|
+
--libs32)
|
|
147
|
+
if test @enable_pcre32@ = yes ; then
|
|
148
|
+
- echo $libS$libR -lpcre32
|
|
149
|
+
+ echo $libS$libR -lpcre32@LIB_POSTFIX@
|
|
150
|
+
else
|
|
151
|
+
echo "${usage}" 1>&2
|
|
152
|
+
fi
|
|
153
|
+
@@ -119,7 +119,7 @@
|
|
154
|
+
;;
|
|
155
|
+
--libs-cpp)
|
|
156
|
+
if test @enable_cpp@ = yes ; then
|
|
157
|
+
- echo $libS$libR -lpcrecpp -lpcre
|
|
158
|
+
+ echo $libS$libR -lpcrecpp@LIB_POSTFIX@ -lpcre@LIB_POSTFIX@
|
|
159
|
+
else
|
|
160
|
+
echo "${usage}" 1>&2
|
|
161
|
+
fi
|
cppcheck-1.4.2/cmake/vcpkg/ports/pcre/pcre-8.45_suppress_cmake_and_compiler_warnings-errors.patch
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
--- a/CMakeLists.txt 2021-06-14 10:33:38.000000000 +0200
|
|
2
|
+
+++ b/CMakeLists.txt 2021-06-18 17:59:59.155148900 +0200
|
|
3
|
+
@@ -77,7 +77,6 @@
|
|
4
|
+
# CMP0026 to avoid warnings for the use of LOCATION in GET_TARGET_PROPERTY.
|
|
5
|
+
|
|
6
|
+
CMAKE_MINIMUM_REQUIRED(VERSION 2.8.5)
|
|
7
|
+
-CMAKE_POLICY(SET CMP0026 OLD)
|
|
8
|
+
|
|
9
|
+
# For FindReadline.cmake. This was changed to allow setting CMAKE_MODULE_PATH
|
|
10
|
+
# on the command line.
|
|
11
|
+
@@ -199,6 +198,7 @@
|
|
12
|
+
ENDIF(MINGW)
|
|
13
|
+
|
|
14
|
+
IF(MSVC)
|
|
15
|
+
+ add_definitions(/wd4703 /wd4146 /wd4308)
|
|
16
|
+
OPTION(PCRE_STATIC_RUNTIME
|
|
17
|
+
"ON=Compile against the static runtime (/MT)."
|
|
18
|
+
OFF)
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
set(PCRE_VERSION 8.45)
|
|
2
|
+
set(EXPECTED_SHA 71f246c0abbf356222933ad1604cab87a1a2a3cd8054a0b9d6deb25e0735ce9f40f923d14cbd21f32fdac7283794270afcb0f221ad24662ac35934fcb73675cd)
|
|
3
|
+
set(PATCHES
|
|
4
|
+
# Fix CMake Deprecation Warning concerning OLD behavior for policy CMP0026
|
|
5
|
+
# Suppress MSVC compiler warnings C4703, C4146, C4308, which fixes errors
|
|
6
|
+
# under x64-uwp and arm-uwp
|
|
7
|
+
pcre-8.45_suppress_cmake_and_compiler_warnings-errors.patch
|
|
8
|
+
# Modified for 8.45 from https://bugs.exim.org/show_bug.cgi?id=2600
|
|
9
|
+
pcre-8.45_fix_postfix_for_debug_Windows_builds.patch
|
|
10
|
+
export-cmake-targets.patch
|
|
11
|
+
pcre-8.4.5_fix_check_function_exists_for_arm-androi_builds.patch)
|
|
12
|
+
|
|
13
|
+
vcpkg_from_sourceforge(
|
|
14
|
+
OUT_SOURCE_PATH SOURCE_PATH
|
|
15
|
+
REPO pcre/pcre
|
|
16
|
+
REF ${PCRE_VERSION}
|
|
17
|
+
FILENAME "pcre-${PCRE_VERSION}.zip"
|
|
18
|
+
SHA512 ${EXPECTED_SHA}
|
|
19
|
+
PATCHES ${PATCHES}
|
|
20
|
+
)
|
|
21
|
+
|
|
22
|
+
set(IS_PCRE_SUPPORT_JIT YES)
|
|
23
|
+
if(VCPKG_TARGET_ARCHITECTURE MATCHES "(loongarch|^s390|^arm)")
|
|
24
|
+
set(IS_PCRE_SUPPORT_JIT NO)
|
|
25
|
+
endif()
|
|
26
|
+
|
|
27
|
+
vcpkg_cmake_configure(
|
|
28
|
+
SOURCE_PATH ${SOURCE_PATH}
|
|
29
|
+
OPTIONS
|
|
30
|
+
-DPCRE_BUILD_TESTS=NO
|
|
31
|
+
-DPCRE_BUILD_PCREGREP=NO
|
|
32
|
+
-DPCRE_BUILD_PCRE32=YES
|
|
33
|
+
-DPCRE_BUILD_PCRE16=YES
|
|
34
|
+
-DPCRE_BUILD_PCRE8=YES
|
|
35
|
+
-DPCRE_SUPPORT_JIT=${IS_PCRE_SUPPORT_JIT}
|
|
36
|
+
-DPCRE_SUPPORT_UTF=YES
|
|
37
|
+
-DPCRE_SUPPORT_UNICODE_PROPERTIES=YES
|
|
38
|
+
# optional dependencies for PCREGREP
|
|
39
|
+
-DPCRE_SUPPORT_LIBBZ2=OFF
|
|
40
|
+
-DPCRE_SUPPORT_LIBZ=OFF
|
|
41
|
+
-DPCRE_SUPPORT_LIBEDIT=OFF
|
|
42
|
+
-DPCRE_SUPPORT_LIBREADLINE=OFF
|
|
43
|
+
# OPTIONS -DUSE_THIS_IN_ALL_BUILDS=1 -DUSE_THIS_TOO=2
|
|
44
|
+
# OPTIONS_RELEASE -DOPTIMIZE=1
|
|
45
|
+
# OPTIONS_DEBUG -DDEBUGGABLE=1
|
|
46
|
+
)
|
|
47
|
+
|
|
48
|
+
vcpkg_cmake_install()
|
|
49
|
+
|
|
50
|
+
vcpkg_cmake_config_fixup(PACKAGE_NAME "unofficial-${PORT}" CONFIG_PATH "share/unofficial-${PORT}")
|
|
51
|
+
|
|
52
|
+
foreach(FILE "${CURRENT_PACKAGES_DIR}/include/pcre.h" "${CURRENT_PACKAGES_DIR}/include/pcreposix.h")
|
|
53
|
+
file(READ ${FILE} PCRE_H)
|
|
54
|
+
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
|
55
|
+
string(REPLACE "defined(PCRE_STATIC)" "1" PCRE_H "${PCRE_H}")
|
|
56
|
+
else()
|
|
57
|
+
string(REPLACE "defined(PCRE_STATIC)" "0" PCRE_H "${PCRE_H}")
|
|
58
|
+
endif()
|
|
59
|
+
file(WRITE ${FILE} "${PCRE_H}")
|
|
60
|
+
endforeach()
|
|
61
|
+
|
|
62
|
+
vcpkg_fixup_pkgconfig()
|
|
63
|
+
|
|
64
|
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
|
65
|
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
|
66
|
+
|
|
67
|
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/man")
|
|
68
|
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/man")
|
|
69
|
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/share/doc")
|
|
70
|
+
|
|
71
|
+
file(REMOVE "${CURRENT_PACKAGES_DIR}/bin/pcre-config" "${CURRENT_PACKAGES_DIR}/debug/bin/pcre-config")
|
|
72
|
+
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static" OR NOT VCPKG_TARGET_IS_WINDOWS)
|
|
73
|
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
|
|
74
|
+
endif()
|
|
75
|
+
|
|
76
|
+
vcpkg_copy_pdbs()
|
|
77
|
+
configure_file("${CMAKE_CURRENT_LIST_DIR}/unofficial-pcre-config.cmake" "${CURRENT_PACKAGES_DIR}/share/unofficial-pcre/unofficial-pcre-config.cmake" @ONLY)
|
|
78
|
+
|
|
79
|
+
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
include("${CMAKE_CURRENT_LIST_DIR}/unofficial-pcre-targets.cmake")
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "pcre",
|
|
3
|
+
"version": "8.45",
|
|
4
|
+
"port-version": 6,
|
|
5
|
+
"description": "Perl Compatible Regular Expressions",
|
|
6
|
+
"homepage": "https://www.pcre.org/",
|
|
7
|
+
"license": null,
|
|
8
|
+
"dependencies": [
|
|
9
|
+
{
|
|
10
|
+
"name": "vcpkg-cmake",
|
|
11
|
+
"host": true
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"name": "vcpkg-cmake-config",
|
|
15
|
+
"host": true
|
|
16
|
+
}
|
|
17
|
+
]
|
|
18
|
+
}
|
|
@@ -61,6 +61,7 @@ exclude_patterns = [
|
|
|
61
61
|
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-the-linkcheck-builder
|
|
62
62
|
linkcheck_ignore = [
|
|
63
63
|
"https://github.com/msclock/cppcheck-wheel",
|
|
64
|
+
"https://msclock.github.io/cppcheck-wheel",
|
|
64
65
|
"https://codecov.io/gh/msclock/cppcheck-wheel",
|
|
65
66
|
"https://github.com/serious-scaffold/ss-pybind11",
|
|
66
67
|
]
|
|
@@ -50,15 +50,15 @@ docs = [
|
|
|
50
50
|
cppcheck = "cppcheck:cppcheck"
|
|
51
51
|
|
|
52
52
|
[project.urls]
|
|
53
|
-
Homepage = "https://github.com/
|
|
54
|
-
"Bug Tracker" = "https://github.com/
|
|
55
|
-
Discussions = "https://github.com/
|
|
56
|
-
Changelog = "https://github.com/
|
|
53
|
+
Homepage = "https://github.com/msclock/cppcheck-wheel"
|
|
54
|
+
"Bug Tracker" = "https://github.com/msclock/cppcheck-wheel/issues"
|
|
55
|
+
Discussions = "https://github.com/msclock/cppcheck-wheel/discussions"
|
|
56
|
+
Changelog = "https://github.com/msclock/cppcheck-wheel/releases"
|
|
57
57
|
|
|
58
58
|
[tool.scikit-build]
|
|
59
59
|
minimum-version = "0.9"
|
|
60
60
|
build-dir = "build/{wheel_tag}"
|
|
61
|
-
cmake.verbose =
|
|
61
|
+
cmake.verbose = false
|
|
62
62
|
logging.level = "DEBUG"
|
|
63
63
|
wheel.py-api = "py3"
|
|
64
64
|
wheel.expand-macos-universal-tags = true
|
|
@@ -66,6 +66,7 @@ metadata.version.provider = "scikit_build_core.metadata.setuptools_scm"
|
|
|
66
66
|
sdist.include = ["src/cppcheck/_version.py"]
|
|
67
67
|
cmake.args = [
|
|
68
68
|
"-DBUILD_TESTING=OFF",
|
|
69
|
+
"-DCMAKE_BUILD_TYPE=ReWithDebInfo", # Required RelWithDebInfo or Release
|
|
69
70
|
"-DCMAKE_TOOLCHAIN_FILE=cmake/vcpkg/vcpkg.toolchain.cmake",
|
|
70
71
|
"-DVCPKG_OVERLAY_TRIPLETS=cmake/vcpkg/triplets",
|
|
71
72
|
"-DVCPKG_OVERLAY_PORTS=cmake/vcpkg/ports"
|
|
@@ -83,7 +84,7 @@ test-skip = ["*-win_arm64", "*-macosx_universal2:arm64"]
|
|
|
83
84
|
[tool.cibuildwheel.linux]
|
|
84
85
|
before-build =[
|
|
85
86
|
'yum install zip -y || apk add zip || true',
|
|
86
|
-
'apt update && apt install zip -y || true',
|
|
87
|
+
'apt update && apt install zip pkg-config -y || true',
|
|
87
88
|
'pip install cmake ninja',
|
|
88
89
|
'cmake --version', 'git --version', 'ninja --version',
|
|
89
90
|
]
|
|
@@ -158,7 +159,6 @@ isort.required-imports = ["from __future__ import annotations"]
|
|
|
158
159
|
[tool.pylint]
|
|
159
160
|
py-version = "3.8"
|
|
160
161
|
ignore-paths = [".*/_version.py"]
|
|
161
|
-
extension-pkg-allow-list = ["cppcheck._core"]
|
|
162
162
|
reports.output-format = "colorized"
|
|
163
163
|
similarities.ignore-imports = "yes"
|
|
164
164
|
messages_control.disable = [
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json",
|
|
3
3
|
"name": "cppcheck-wheel",
|
|
4
4
|
"description": "Package cppcheck as a python wheel.",
|
|
5
|
-
"builtin-baseline": "
|
|
5
|
+
"builtin-baseline": "7adc2e4d49e8d0efc07a369079faa6bc3dbb90f3",
|
|
6
6
|
"homepage": "https://github.com/msclock/cppcheck-wheel",
|
|
7
7
|
"dependencies": [
|
|
8
8
|
{
|
|
@@ -11,8 +11,7 @@
|
|
|
11
11
|
"have-rules"
|
|
12
12
|
]
|
|
13
13
|
},
|
|
14
|
-
"cmake-modules"
|
|
15
|
-
"robotology-cmake-ycm"
|
|
14
|
+
"cmake-modules"
|
|
16
15
|
],
|
|
17
16
|
"overrides": [
|
|
18
17
|
{
|
|
@@ -21,18 +20,14 @@
|
|
|
21
20
|
},
|
|
22
21
|
{
|
|
23
22
|
"name": "cmake-modules",
|
|
24
|
-
"version": "1.6.
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
"name": "robotology-cmake-ycm",
|
|
28
|
-
"version": "0.16.3"
|
|
23
|
+
"version": "1.6.8"
|
|
29
24
|
}
|
|
30
25
|
],
|
|
31
26
|
"vcpkg-configuration": {
|
|
32
27
|
"registries": [
|
|
33
28
|
{
|
|
34
29
|
"kind": "git",
|
|
35
|
-
"baseline": "
|
|
30
|
+
"baseline": "60a98c312d8be8aa0013a69bb5158788702d8700",
|
|
36
31
|
"repository": "https://github.com/msclock/cmake-registry",
|
|
37
32
|
"packages": [
|
|
38
33
|
"cmake-modules",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cppcheck-1.4.1 → cppcheck-1.4.2}/cmake/vcpkg/bootstrap/vcpkg_skip_install_on_reconfigure.cmake
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|