BorisSchaeling / boost-process

Boost.Process is a library to manage system processes
Boost Software License 1.0
32 stars 20 forks source link

CMakeified. #12

Open alamaison opened 8 years ago

alamaison commented 8 years ago

This PR add a CMake interface-library target for Boost.Process. If you're not familiar with CMake, this is useful, even for a header-only library like Boost.Process, because it allows client project to automatically inherit the correct include paths, compiler flags and link libraries to use Boost.Process. It's a bit like how pkg-config works for autotools.

Also, I'm adding this package to the Hunter package manager - a CMake-based package manager for C++. This PR already uses Hunter to resolve the Boost dependency, but that can be overridden by setting HUNTER_ENABLED=OFF.