Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,7 @@ help:
@echo " - Make PlantUML graph : make plantuml"
@echo " - Make Doxygen docmumentation : make docu"
@echo " - Make Uncrustify Code Beautifier : make uncrustify"
@echo " - Enable compatibility with non-C++17 : make non-c++17"

# Download PlantUML from http://plantuml.com/download.html
# and put it into the root of the project directory
Expand All @@ -257,6 +258,12 @@ uncrustify:
uncrustify -c SatPI.uncrustify --replace $(HEADERS)
@echo uncrustify Done

# Enable compatibility with non-C++17 compilers
# wget -P backports/ https://github.com/Barracuda09/SATPI/pull/173.diff
non-c++17:
patch -p1 < backports/173.diff
@echo patching Done

checkcpp:
~/cppcheck/cppcheck -DENIGMA -DLIBDVBCSA -DDVB_API_VERSION=5 -DDVB_API_VERSION_MINOR=5 -I ./src --enable=all --std=posix --std=c++11 ./src 1> cppcheck.log 2>&1

Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,10 @@ Build
- To buils just run (Or some other build you like)<br/>
`make debug`<br/>

- If you see building errors, then perhaps your toolchain is not C++17 compatible. In this case try this before compiling:

`make non-c++17`<br/>

- If you like to build the documentation, use:

`make docu (!! you need Doxygen and Graphviz/dot !!)`<br/>
Expand Down
Loading