8000 CMake addition request · Issue #222 · USCiLab/cereal · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

CMake addition request #222

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

Closed
robiwano opened this issue Aug 21, 2015 · 3 comments
Closed

CMake addition request #222

robiwano opened this issue Aug 21, 2015 · 3 comments
Milestone

Comments

@robiwano
Copy link

With the following addition it is extremely easy to add cereal to CMake based projects:

ADD_LIBRARY(cereal INTERFACE)

TARGET_INCLUDE_DIRECTORIES(
cereal
INTERFACE include
)

When a project uses TARGET_LINK_LIBRARIES(target ... cereal ... ), include paths will be set automatically for the given target.

@AzothAmmo
Copy link
Contributor

Do you think you can create a pull request for this?

@robiwano
Copy link
Author
robiwano commented Sep 3, 2015

Don't know currently how that works, just recently took the great "git plunge" :) Shall see what I can do.

@tamaskenez
Copy link

I continued this issue in #254

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants
0