Currently the glue buildfile in the root of the imgui repository loads the cxx module and then decides which packages to load based on its cxx.target.class value. Here is what it looks like:
The problem with this approach is that, when used together with bdep, the packages could be configured for a different compiler (and thus target). But this can be fixed relatively easily by instead querying cxx.target.class from the libimgui package:
Currently the glue
buildfile
in the root of theimgui
repository loads thecxx
module and then decides which packages to load based on itscxx.target.class
value. Here is what it looks like:The problem with this approach is that, when used together with
bdep
, the packages could be configured for a different compiler (and thus target). But this can be fixed relatively easily by instead queryingcxx.target.class
from thelibimgui
package: