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

Feature request: basis_install_package #594

Open
jvegh opened this issue Apr 24, 2016 · 2 comments
Open

Feature request: basis_install_package #594

jvegh opened this issue Apr 24, 2016 · 2 comments

Comments

@jvegh
Copy link

jvegh commented Apr 24, 2016

Especially the non-developer (i.e. end-user) type users have difficulties with correctly install all required packages, in the correct order and version numebrs. In addition to basis_find_package it would be great to have basis_install_package. :)

@schuhschuh
Copy link
Contributor

schuhschuh commented Apr 25, 2016

What you are looking for should be related to #514 and #274. Personally I prefer the super-build approach because during CMake configuration there shouldn't be any build or installation steps taking place. While this feature is not readily available in BASIS yet, you could write a single CMakeLists.txt for the superbuild of all dependencies + your software.

See the documentation for two variants of the super-build approach, one that firstly installs BASIS via bootstrapping at configure time and other dependencies using a super-build, and the second where all dependencies incl. BASIS are part of the super-build. For the latter there is an example CMakeLists.txt I have written for another project which uses BASIS as well. Note that this CMakeLists.txt can be located anywhere but is not the top-level or any other CMakeLists.txt of your actual project with the dependencies. In the DRAMMS project, I have put it in a folder named build.

@ahundt
Copy link
Contributor

ahundt commented May 2, 2016

On mac/linux I use brew/linuxbrew if the dependencies are widely used ones. That makes them much easier to install.

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