Breaking Changes
- C++ wrapper functionality is now available from a separate library reproc++:
-
The
BUILD_CXX_WRAPPER
CMake option has been renamed toREPROCXX
-
The include namespace for the C++ API has changed from reproc to reproc++. For example:
#include "reproc/reproc.hpp"
is now#include "reproc++/reproc.hpp"
. -
To use the C++ API you now have to link against reproc++ instead of reproc:
target_link_libraries(myapp reproc::reproc++)
-
Both libraries (reproc and reproc++) are installed to the system completely separately. To find reproc in CMake:
find_package(reproc)
. To find reproc++ in CMake:find_package(reproc++)
.find_package(reproc++)
automatically makes sure reproc is available.
-
Moving the C++ functionality to a completely separate library that depends on reproc was inspired by this talk: https://www.youtube.com/watch?v=sBP17HQAQjk&feature=youtu.be.
The rest of the changes is internal refactoring and documentation updates/additions.