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

Automatically propagate public headers to other projects with CMake #90

Merged
merged 1 commit into from
Jul 11, 2016
Merged

Conversation

4brunu
Copy link
Contributor

@4brunu 4brunu commented Jul 11, 2016

I'm adding SQLiteCpp to my project with CMake, using add_subdirectory.

The problem I found is that I need to manually add the path to the public header files (SQLiteCpp/include/ and SQLiteCpp/sqlite3), since they are not propagated automatically.

This PR add the target_include_directories so that the projects that include SQLiteCpp don't need to include the path to the public header files manually.

@coveralls
Copy link

coveralls commented Jul 11, 2016

Coverage Status

Coverage remained the same at 97.368% when pulling d78c4d5 on 4brunu:master into 57d991b on SRombauts:master.

@SRombauts
Copy link
Owner

Hi @4brunu,

Thank you for this contribution, it is appreciated!

Cheers!

@SRombauts SRombauts merged commit 2fbdfa4 into SRombauts:master Jul 11, 2016
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

3 participants