Commit Graph

3 Commits

Author SHA1 Message Date
Axel Sommerfeldt a4a2357355 CMake build support revised
- Compiler options '-Wall -pedantic' added
- Definition of _XOPEN_SOURCE_EXTENDED added
- Template configuration header file src/config.h.cmake added
- README updated

See also: https://github.com/irontec/sngrep/pull/462
2023-11-29 16:27:00 +01:00
Axel Sommerfeldt 356f2474ba CMake build adapted to older versions of 'libpcap' which don't provide a pkg-config file
Furthermore CPACK_PACKAGE_NAME and CPACK_PACKAGE_VERSION are set explicitly since this is needed for older CMake versions.

(Tested on Debian Stretch with CMake 3.7.2)
2023-11-29 16:27:00 +01:00
Axel Sommerfeldt 4b96af3389 Support for building sngrep using CMake added 2023-11-29 16:27:00 +01:00