Closed emmenlau closed 4 years ago
This PR adds installation instructions for cmake. With this PR, users can use
make install
to install the headers. Afterwards they can use the library in downstream projects with modern cmake syntax like:
find_package(st_tree REQUIRED) [...] target_link_libraries(<target> st_tree)
With modern cmake, linking this interface library passes transitively all cmake properties (like include paths and build flags) from st_tree to the downstream target.
@emmenlau thanks for this! I'll take a look at it ASAP
This PR adds installation instructions for cmake. With this PR, users can use
to install the headers. Afterwards they can use the library in downstream projects with modern cmake syntax like:
With modern cmake, linking this interface library passes transitively all cmake properties (like include paths and build flags) from st_tree to the downstream target.