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

Use the CMake INTERFACE_INCLUDE_DIRECTORIES feature #15

Open
wants to merge 38 commits into
base: master
Choose a base branch
from

Conversation

chrisemblhh
Copy link
Contributor

Requires CMake >= 2.8.11

Libraries can be tagged with the header file directories required to use them. This avoids having to manage the header file directories manually.

INTERFACE_INCLUDE_DIRECTORIES and related commands were
first added in CMake 2.8.11
... because of target_include_directories on libsaxsdocument
Don't call include_directories() for libraries which
have INTERFACE_INCLUDE_DIRECTORIES set
Don't call include_directories() for libraries which
have INTERFACE_INCLUDE_DIRECTORIES set
Conflicts:
	libsaxsdocument/python/CMakeLists.txt
	libsaxsdocument/python/ChangeLog
@chrisemblhh
Copy link
Contributor Author

Merging this will depend on having a sufficiently new CMake installed on all the build machines

@chatcannon
Copy link

Presumably you have dropped support for Ubuntu 12.04 and older by now, so this can be merged.

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.

3 participants