]> git.ipfire.org Git - thirdparty/vectorscan.git/commit
Add CMake options for more build granularity 233/head
authorBrad Larsen <bradford.larsen@praetorian.com>
Wed, 6 Mar 2024 21:32:12 +0000 (16:32 -0500)
committerBrad Larsen <bradford.larsen@praetorian.com>
Wed, 6 Mar 2024 21:32:12 +0000 (16:32 -0500)
commitbd7423f4f0a02c226951760268b131043d93ee95
tree451fdd9b91c7629b20d03fbc1380e94519c8e01d
parent71f3e7d99448dcbab99d79c67f4a49eb68ccab1e
Add CMake options for more build granularity

This adds three new CMake options, all defaulting to true, making it
possible to opt-out of building parts of Vectorscan that are not
essential for deployment of the matching runtime.

These new options:

- `BUILD_UNIT`: control whether the `unit` directory is included
- `BUILD_DOC`: control whether the `doc` directory is included
- `BUILD_TOOLS`: control whether the `tools` directory is included
CMakeLists.txt