Prepare first release
This commit is contained in:
parent
be65971e97
commit
a6ae752649
|
@ -127,3 +127,7 @@ compile_commands.json
|
||||||
|
|
||||||
#debian build system
|
#debian build system
|
||||||
/debian
|
/debian
|
||||||
|
|
||||||
|
/release_files
|
||||||
|
*.lha
|
||||||
|
|
||||||
|
|
15
Makefile.os4
15
Makefile.os4
|
@ -803,3 +803,18 @@ externals/tinyxml2/tinyxml2.o: externals/tinyxml2/tinyxml2.cpp externals/tinyxml
|
||||||
tools/dmake.o: tools/dmake.cpp cli/filelister.h lib/config.h lib/pathmatch.h
|
tools/dmake.o: tools/dmake.cpp cli/filelister.h lib/config.h lib/pathmatch.h
|
||||||
$(CXX) ${INCLUDE_FOR_LIB} $(CPPFLAGS) $(CPPFILESDIR) $(CXXFLAGS) $(UNDEF_STRICT_ANSI) -c -o tools/dmake.o tools/dmake.cpp
|
$(CXX) ${INCLUDE_FOR_LIB} $(CPPFLAGS) $(CPPFILESDIR) $(CXXFLAGS) $(UNDEF_STRICT_ANSI) -c -o tools/dmake.o tools/dmake.cpp
|
||||||
|
|
||||||
|
|
||||||
|
release: cppcheck
|
||||||
|
mkdir -p release/cppcheck
|
||||||
|
cp -r release_files/* release/cppcheck/
|
||||||
|
cp -r cfg release/cppcheck/
|
||||||
|
cp -r addons release/cppcheck/
|
||||||
|
cp -r platforms release/cppcheck/
|
||||||
|
cp cppcheck release/cppcheck/cppcheck
|
||||||
|
strip release/cppcheck/cppcheck
|
||||||
|
cp COPYING release/cppcheck/
|
||||||
|
cp AUTHORS release/cppcheck/
|
||||||
|
cp README-Amiga.md release/cppcheck/
|
||||||
|
lha -aeqr3 a cppcheck.lha release/
|
||||||
|
rm -rf release
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,37 @@
|
||||||
|
# cppcheck
|
||||||
|
|
||||||
|
This is the port of cppcheck 2.8 to AmigaOS 4.
|
||||||
|
|
||||||
|
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 have very few false positives.
|
||||||
|
Cppcheck is designed to be able to analyze your C/C++ code even if it has
|
||||||
|
non-standard syntax (common in embedded projects).
|
||||||
|
|
||||||
|
### Installation
|
||||||
|
|
||||||
|
Extract the archive wherever you want and start using it. You might want
|
||||||
|
to add its folder at your system PATH, so that it can be accessed by
|
||||||
|
anywhere. Make sure that all the files that are contained in this archive
|
||||||
|
are available where you have the executable.
|
||||||
|
|
||||||
|
The simplest way to use it is by running it in a shell like
|
||||||
|
|
||||||
|
```bash
|
||||||
|
cppcheck Work:program/src
|
||||||
|
```
|
||||||
|
|
||||||
|
Please, read the manual on different ways to use it. There are many
|
||||||
|
different options to make it work better and faster for you.
|
||||||
|
|
||||||
|
### Support
|
||||||
|
|
||||||
|
If you like what I am doing and my ports and you would like to support me,
|
||||||
|
and my future releases please visit https://ko-fi.com/walkero where you
|
||||||
|
can find all the latest updates by me and you can donate.
|
||||||
|
|
||||||
|
### Changelog
|
||||||
|
|
||||||
|
2.8r1 (2022-09-22)
|
||||||
|
* First public release
|
||||||
|
|
|
@ -82,7 +82,7 @@ static char exename[1024] = {0};
|
||||||
|
|
||||||
#if defined(__amigaos4__)
|
#if defined(__amigaos4__)
|
||||||
static const char *stack __attribute__((used)) = "$STACK:102400";
|
static const char *stack __attribute__((used)) = "$STACK:102400";
|
||||||
static const char *version __attribute__((used)) = "\0$VER: cppcheck 2.9 (28.07.2022)";
|
static const char *version __attribute__((used)) = "\0$VER: cppcheck 2.8 (22.09.2022)";
|
||||||
#endif
|
#endif
|
||||||
/**
|
/**
|
||||||
* Main function of cppcheck
|
* Main function of cppcheck
|
||||||
|
|
Loading…
Reference in New Issue