[CMake] Add SQLITECPP_INCLUDE_SCRIPT option by past-due · Pull Request #313 · SRombauts/SQLiteCpp (original) (raw)

Add a SQLITECPP_INCLUDE_SCRIPT option to support disabling the addition of config & script files to the library.
(The default is ON, replicating current behavior.)

Adds flexibility without requiring library users to modify the CMakeLists.txt directly.
Also, this is needed for a dependent program that automatically packages the library source (as a dependency) in a source tarball "snapshot" and wants to exclude files not needed for building via CMake locally (.git* and such) to save space and reduce the overall file count.