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

Better CMake #128

Open
kunaltyagi opened this issue Jan 18, 2020 · 0 comments
Open

Better CMake #128

kunaltyagi opened this issue Jan 18, 2020 · 0 comments

Comments

@kunaltyagi
Copy link

A uniform interface to access the libraries/headers without having to manually type in the include directory or the library name would be nice.

Several projects use ${project_NAME}_LIBRARIES variable for all the libraries along with set_target_properties(${target} PROPERTIES INTERFACE_COMPILE_...) to make it autodiscover.

Others use INTERFACE "$<BUILD_INTERFACE:...>" "$<INSTALL_INTERFACE:$<INSTALL_PREFIX>/${CMAKE_INSTALL_INCLUDEDIR}>")

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

No branches or pull requests

1 participant