Skip to content

Add a Cmake build#43

Open
moonwatcher wants to merge 6 commits intomasterfrom
cmake_conversion
Open

Add a Cmake build#43
moonwatcher wants to merge 6 commits intomasterfrom
cmake_conversion

Conversation

@moonwatcher
Copy link
Contributor

This PR adds the ability to build pheniqs with CMake. It also allows to fetch and build the dependencies into the executable if they are not present on the host. A corresponding markdown instruction file is also added.

rm -rf build; mkdir build
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release;
cmake --build build -j$(nproc)

To force fetching dependencies

rm -rf build; mkdir build
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release \
      -DVENDOR_ZLIB=ON \
      -DVENDOR_BZIP2=ON \
      -DVENDOR_LZMA=ON \
      -DVENDOR_HTSLIB=ON \
      -DBUILD_STATIC=ON
cmake --build build -j$(nproc)

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

Successfully merging this pull request may close these issues.

1 participant

Comments