I would like to create a CppSourceSet outside of a binary. This is a common sourceset that will be used by a number of binaries via the sourceset lib dependency and is header only. (In effect creating a private set of header files that are not publicly exported) by the binaries.
I could create this as a prebuilt library but I notice that the sourceset lib can take a sourceset as a dependency and so would like to exploit this. Hence leading to the question as to how to create a sourceset?
Attempting to ‘new’ a CppSourceSet I get ‘you cannot create an isntance from an abstract interface’.
Any assistance would be appreciated.