#7 cmake build system support

open
nobody
None
5
2016-01-01
2010-01-01
GArik
No

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

Discussion

  • GArik

    GArik - 2010-01-01

    patch

     
  • GArik

    GArik - 2010-01-01

    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

     
  • GArik

    GArik - 2010-01-01

    nethogs-0.7.0 with reworked build system

     
  • Arnout Engelen

    Arnout Engelen - 2016-01-01

    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

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks