-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Cmake edit with 'make install' target #8
Conversation
before i can merge this: have you signed a Google CLA? https://developers.google.com/open-source/cla/individual |
Done ;) |
should 'make install' not also copy the headers from include/ to /usr/local/include (on linux)? |
of course.. let me fix this.. |
ok done, sorry. |
COMPONENT library) | ||
INSTALL( | ||
DIRECTORY "${PROJECT_SOURCE_DIR}/include/benchmark" | ||
DESTINATION include |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how do you feel about installing from include/ to include/ so they'll end up in /usr/local/include/benchmark/... ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, everything ends up in include/benchmark/
%%%%> make install
[ 85%] Built target benchmark
[100%] Built target benchmark_test
Install the project...
-- Install configuration: ""
-- Installing: /usr/local/lib/libbenchmark.a
-- Installing: /usr/local/include/benchmark
-- Up-to-date: /usr/local/include/benchmark/benchmark.h
-- Up-to-date: /usr/local/include/benchmark/macros.h
Cmake edit with 'make install' target
Minor pull request to enhance cmake build system: