Closed tandf closed 1 year ago
Hi there thanks for this, but could you please open an issue so we can discuss further the need for this patch there?
Sorry for being pedantic, but I'm not sure this patch is needed in the first place, since you could use llvmir_attach_bc_targets
to the library CMake target separately; this only saves a line and I'm not convinced that "hiding" this behaviour is good for the user since it will go on and generate all the intermediate by-products for a target that we might not be interested in.
This discussion is moved to #25
Example
Both b.cpp and a.cpp will be used to generate the IR.