eidheim / tiny-process-library

A small platform independent library making it simple to create and stop new processes in C++, as well as writing to stdin and reading from stdout and stderr of a new process
MIT License
338 stars 73 forks source link

Convert tiny-process-library in a cmake library #6

Closed dacap closed 8 years ago

dacap commented 8 years ago

In this way we can use target_link_libraries() to use tiny-process-library on our own executable targets.

Also we've remove CMAKE_SOURCE_DIR because we need to search for tiny-process-library source files in the current source dir (instead of the root global source dir, which could be other if we use tiny-process-library as a submodule).