From f214d4cedf52701309b4c4af32b0c7f07f87024f Mon Sep 17 00:00:00 2001 From: Bastian Dehn Date: Wed, 22 Oct 2025 21:33:07 +0200 Subject: [PATCH] update readme with cppcheck --- readme.md | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/readme.md b/readme.md index 26d133c..e846f73 100644 --- a/readme.md +++ b/readme.md @@ -5,15 +5,16 @@ for the [scanner s2000w series](https://support.alarisworld.com/de-de/s2080w-sca It communicate with the scanner over the network. (RESTful API) **IMPORTANT NOTE** -No guarantee of correctness and no guarantee of up-to-dateness. It is a private -project, i want to use the Kodak Alaris S2080W Scanner over the network under +No guarantee of correctness and no guarantee of up-to-dateness. It is a private +project, i want to use the Kodak Alaris S2080W Scanner over the network under Debian. Original Dokumentation for the Scanner find under the Kodak Alaris Website. -https://support.alarisworld.com/de-de/s2080w-scanner#Software +https://www.kodakalaris.com/en/scanners/s2080w-scanner **VERSION NOTE** -- Version v1.1.6 has profiles to switch compatible with firmware 230802 or min options +- Version v1.1.6 and higher has profiles to switch compatible with + firmware 230802 or min options - Version v1.1.0 are compatible with firmware version 241201 - Version v1.0.36 and below are compatible with firmware version 230802 @@ -44,7 +45,7 @@ https://support.alarisworld.com/de-de/s2080w-scanner#Software ### Test dependencies - [cmocka](https://api.cmocka.org/) - test framwork -- [cppcheck](http://cppcheck.net/) - static code analysis +- [cppcheck](https://sourceforge.net/p/cppcheck/wiki/Home/) - static code analysis ## Build @@ -122,20 +123,20 @@ username = "muster" install develop dependencies ```bash -sudo apt-get install libcmocka-dev lcov +sudo apt-get install libcmocka-dev lcov cppcheck ``` build with tests and run it ```bash -cmake -DRUN_TESTS=on .. +cmake -DCMAKE_BUILD_TYPE=Debug -DRUN_TESTS=ON .. make ``` build with debug symboles and debug prints ```bash -cmake -DCMAKE_BUILD_TYPE=Debug .. +cmake -DCMAKE_BUILD_TYPE=Debug -DRUN_TESTS=OFF .. make ``` -- 2.47.3