Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I wrote CMakeList.txt files that use cmake to generate Makefiles.
This makes it easier for any user to write to install and has the same behaviour as the current Makefiles. The main advantage is that it looks for dependencies and adds the corresponding libraries.
So to build bioplib, it would be something like this:
Note that all other original make recipies are included in the CMakeList.txt, e.g.
make shared
.The root CMakeList.txt file also calls another CMakeList.txt file in the test/ directory which builds the test files.
(I also moved the test directory to the project directory to make it easier to find..)
I hope this is helpful, as I found it really convenient to install bioplib this way on my machine and I am working on something similar with bioptools!