Skip to content

Conversation

@nemequ
Copy link

@nemequ nemequ commented Jun 24, 2016

This makes it relatively easy for CMake-based projects to bundle libdivsufsort instead of creating a hard external dependency. With this patch, they can simply add_subdirectory(libdivsufsort), and divsufsort_{LIBRARIES,INCLUDE_DIRS,DEFINITIONS} will be set to the appropriate values. libdivsufsort will be built as a static library, and installation will be disabled.

You can see an example of how it can be used at https://github.com/nemequ/bce/tree/bundle-libdivsufsort

This makes it relatively easy for CMake-based projects to bundle
libdivsufsort instead of creating a hard external dependency.  With
this patch, they can simply add_subdirectory(libdivsufsort), and
divsufsort_{LIBRARIES,INCLUDE_DIRS,DEFINITIONS} will be set to the
appropriate values.  libdivsufsort will be built as a static library,
and installation will be disabled.
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.

2 participants