cmake build system support
Brought to you by:
raboofje
This patch adds configuration files for cmake build system. It provides great functionality. For example you can generate makefiles or even project files for some IDEs, it also provides configuration and packaging capabilities.
If you are not familiar with cmake, here is an example of building and installing nethogs:
mkdir build
cd build
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
..
make -j2 || exit 1
make install DESTDIR=$PKG || exit 1
patch
Patch is not really informative, so here is description of changes:
* source files moved to 'src' directory
* man page moved to 'man' directory
* CMakeLists.txt added to root, src and man directories
nethogs-0.7.0 with reworked build system
Hello GArik,
Sorry about not responding to this patch, I'll try and do better in the future. If you're still interested in working on this, could you present it as PR on the github project at https://github.com/raboof/notion? Thanks!
Kind regards,
Arnout