albertodemichelis / squirrel

Official repository for the programming language Squirrel
http://www.squirrel-lang.org
MIT License
895 stars 149 forks source link

Add cmake option to disable binary install. #202

Open j-zeppenfeld opened 4 years ago

j-zeppenfeld commented 4 years ago

There is currently an option to install only the binaries, without headers, using -DSQ_DISABLE_HEADER_INSTALLER=ON.

It would be useful to have an option to install only the headers and libraries, but no binaries, using e.g. -DSQ_DISABLE_BINARY_INSTALLER=ON.

The latter would be very useful in a pure development environment where the squirrel compiler and interpreter binaries are not needed. (Specifically, in our case, for a Yocto build where we would like to avoid having the Squirrel binaries in the image).