Skip to content

Commit 20b44f9

Browse files
committed
fix(ci): generate cimgui import lib before CMake build
1 parent 9ae604e commit 20b44f9

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎.github/workflows/build.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,9 @@ jobs:
7474
shell: msys2 {0}
7575
run: |
7676
cd StArray.ModManager.Windows/Native
77+
# Generate cimgui import lib from DLL
78+
gendef - ../dlls/cimgui.dll > cimgui.def
79+
dlltool -d cimgui.def -l libcimgui.a -D ../dlls/cimgui.dll
7780
cmake -B build -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=Release
7881
cmake --build build
7982

0 commit comments

Comments
 (0)