MordechaiHadad / bob

A version manager for neovim
MIT License
1.45k stars 35 forks source link

Compiles Debug build on Windows, but RelWithDebugInfo on Linux #203

Closed sid-6581 closed 5 months ago

sid-6581 commented 6 months ago

When I run bob use <commit>, on both Windows and Linux, the Linux build is correctly built as RelWithDebugInfo, but the Windows build is Debug.

MordechaiHadad commented 6 months ago

Yes at the time I added building from source I didn't really know how to set it as Release with debug info for windows since it doesn't use cmake, maybe it's time to know how to do this.

MordechaiHadad commented 5 months ago

@sid-6581 can you confirm this works?

sid-6581 commented 5 months ago

@sid-6581 can you confirm this works?

Unfortunately that didn't work, since -D isn't a valid option for --build. Let me try to get it to work and I'll give you the code I have so you can modify the PR you already have.