cimgui-go icon indicating copy to clipboard operation
cimgui-go copied to clipboard

Build time

Open gucio321 opened this issue 1 year ago • 4 comments

I'm wondering why, each change to cimgui-go code triggers build of the whole project that takes (on my machine) about 3 minutes (this is a bit long imo). In fact, because we build all shared libraries my question is: why it takes so long to build go project?

If I remember correctly after running go build with extra C flag for debugging it does many things with gcc. It looks that it compiles cimgui anyway?

gucio321 avatar Feb 26 '24 09:02 gucio321

also I suppose this might be related to #252

gucio321 avatar Feb 26 '24 09:02 gucio321

I've timed the total build of my program with clean cache (go build -a) Adding full build logs (-v -x) to see what's being compiled from cimgui

cimgui-go: 13m52.693s log: cimgui-compile.log

inkyblackness: 10m17.397s log: inky-compile.log

Build with no imgui compiles in similar time as inkyblackness version

Full build script just in case: https://github.com/Wieku/danser-go/blob/dev/dist-win.sh

Wieku avatar Feb 27 '24 22:02 Wieku