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

Modernize CMake file with target-based includes. #192

Merged
merged 1 commit into from
Dec 6, 2018

Conversation

no-more-secrets
Copy link
Contributor

This will associate include directories with individual targets
using target_include_directories() instead of setting them at the
directory level, which is the old style. This allows the library
to be used as a sub-directory of a parent project whose targets
depend on this one and CMake will handle transitive include
directories based on the PUBLIC and PRIVATE parameter values
we give.

Also, create some namespace'd aliases for the two ucl targets,
which is also in line with modern style.

Tested building both the ucl and lua-ucl targets.

Fixes #190

This will associate include directories with individual targets
using target_include_directories() instead of setting them at the
directory level, which is the old style. This allows the library
to be used as a sub-directory of a parent project whose targets
depend on this one and CMake will handle transitive include
directories based on the PUBLIC/PRIVATE parameter values we give.

Also, create some namespace'd aliases for the two ucl targets,
which is also in line with modern style.

Tested building both the ucl and lua-ucl targets.

Fixes vstakhov#190
@no-more-secrets
Copy link
Contributor Author

ping!

@vstakhov
Copy link
Owner

vstakhov commented Dec 6, 2018

Merged, thank you. Sorry for a delay.

@vstakhov vstakhov merged commit 5edd549 into vstakhov:master Dec 6, 2018
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.

None yet

2 participants