mirror of
https://github.com/vel21ripn/nDPI.git
synced 2026-04-29 15:39:42 +00:00
Add support for out-of-tree builds (#2993)
Initial work to support out-of-tree builds ``` ./autogen.sh mkdir build cd build ../configure make make check ``` IMPORTANT: `autogen.sh` doesn't call `configure` automatically anymore!! You have to do: `./autogen.sh && ./configure --$OPTIONS`. A little bit annoying but the pattern `autogen && configure && make` is very common on Linux. Known issues: * `make doc` doesn't work in out-of-tree builds, yet * Windows/MinGW/DPDK (out-of-tree) builds have not been tested, so it is unlikely they work See: #2992
This commit is contained in:
parent
e9751cec26
commit
6ab338928c
26 changed files with 308 additions and 180 deletions
4
.github/workflows/build_docker.yml
vendored
4
.github/workflows/build_docker.yml
vendored
|
|
@ -50,7 +50,7 @@ jobs:
|
|||
"apt-get -y update &&
|
||||
apt-get -y install git wdiff colordiff autoconf automake libtool pkg-config gettext libjson-c-dev flex bison libpcap-dev rrdtool librrd-dev &&
|
||||
git config --global --add safe.directory $(realpath .) &&
|
||||
env CC=gcc ./autogen.sh --enable-option-checking=fatal --enable-debug-messages &&
|
||||
env CC=gcc ./autogen.sh && ./configure --enable-option-checking=fatal --enable-debug-messages &&
|
||||
make -j $(nproc) all &&
|
||||
make -C example ndpiSimpleIntegration &&
|
||||
make -C rrdtool &&
|
||||
|
|
@ -74,7 +74,7 @@ jobs:
|
|||
"apt-get -y update &&
|
||||
apt-get -y install git wdiff colordiff autoconf automake libtool pkg-config gettext libjson-c-dev flex bison libpcap-dev rrdtool librrd-dev &&
|
||||
git config --global --add safe.directory $(realpath .) &&
|
||||
env CC=gcc ./autogen.sh --enable-option-checking=fatal --enable-debug-messages &&
|
||||
env CC=gcc ./autogen.sh && ./configure --enable-option-checking=fatal --enable-debug-messages &&
|
||||
make -j $(nproc) all &&
|
||||
make -C example ndpiSimpleIntegration &&
|
||||
make -C rrdtool &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue