-
Notifications
You must be signed in to change notification settings - Fork 71
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: add install target #323
Conversation
@skosukhin |
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.
Thanks again, @skosukhin. Note that we may want to kernel libraries to be visible e.g. when using the C++ front end with the kernel libraries.
What is the full list of data files that you think should be installed?
Currently, the kernel libraries are only auxiliary |
rte
andrrtmgp
libraries together with their module files.TODO:
consider fetching and installing therrtmgp-gas-*.nc
data files fromrrtmgp-data
as there are users who consider them to be part of the library.find_package(rte-rrtmgp)
in the user projects. TheCOMPATIBILITY
is set toSameMinorVersion
, which means that if the users need version1.8
, any1.8.x
version suffices but neither1.7.x
nor1.9.x
do.find_package(rte-rrtmgp)
withCMAKE_PREFIX_PATH
containing/path/to/rte-rrtmgp/build
). This part also required some tweaks for thertekernels
andrrtmgpkernels
object libraries since we don't want to expose them to the users (at least for now).rte-rrtmgp::
namespace so the project is fetchable and addable (withadd_subdirectory
) by the users' application projects.