gnumaniacs/netsniff-ng — pull request #24 by eroullit (2011-12-23 11:02:20+00:00)
Title: Cmake curvetun

This pull request regroups all changes needed to integrate NaCl in the CMake build process.

First of all, NaCl is considered by the build process as an external resource which can be found on the target using `FIND_PACKAGE(LibNaCl)`.

Second of all, the script `build_nacl.sh` is here to facilitate NaCl build. It is only needed to invoke it once and it follows this syntax:`./build_nacl.sh `.
When done, it also calls `nacl_path.sh` which generates a `nacl_path.cmake` where CMake will search for NaCl build paths.

After that, curvetun can be built using the classical CMake build command.

Scripts are documented using POD and INSTALL has been updated accordingly.