accellera-official / systemc

SystemC Reference Implementation
https://systemc.org/overview/systemc/
Apache License 2.0
451 stars 145 forks source link

Make the docs and examples build optional #23

Open alainsanguinetti opened 2 years ago

alainsanguinetti commented 2 years ago

Hello, for embedding this library in a larger project, the docs and examples files generate an unnecessary overhead. There is currently no possibility to make the configure and build skip those folders so it's not possible to remove them without heavy modification of the Makefiles.

I propose to make the configure and build of those folders optional, so that they are only built on demand by the user and that they can be completely removed from the folder if necessary.

maehne commented 2 years ago

I agree that providing this option is sensible. This should also be implemented in the CMake-based build system.