Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding cmake installation instructions #20

Merged
merged 1 commit into from
Oct 27, 2019

Conversation

emmenlau
Copy link
Contributor

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.

@erikerlandson
Copy link
Owner

@emmenlau thanks for this! I'll take a look at it ASAP

@erikerlandson erikerlandson merged commit ddf1f93 into erikerlandson:master Oct 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants