github DaanDeMeyer/reproc v2.0.0-beta.1

latest releases: v14.2.5, v14.2.4, v14.2.3...
pre-release5 years ago

Breaking Changes

  • C++ wrapper functionality is now available from a separate library reproc++:
    • The BUILD_CXX_WRAPPER CMake option has been renamed to REPROCXX

    • 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.

Don't miss a new reproc release

NewReleases is sending notifications on new releases.