mirror of
https://github.com/chidiwilliams/buzz.git
synced 2026-03-14 22:55:46 +01:00
Will revert to using windows dll from backup (#880)
This commit is contained in:
parent
218b16cbad
commit
ecb85aeb92
2 changed files with 5 additions and 1 deletions
5
Makefile
5
Makefile
|
|
@ -67,10 +67,15 @@ else
|
|||
endif
|
||||
|
||||
buzz/$(LIBWHISPER):
|
||||
ifeq ($(OS),Windows_NT)
|
||||
cp dll_backup/whisper.dll buzz || true
|
||||
cp dll_backup/SDL2.dll buzz || true
|
||||
else
|
||||
cmake -S whisper.cpp -B whisper.cpp/build/ $(CMAKE_FLAGS)
|
||||
cmake --build whisper.cpp/build --verbose
|
||||
cp whisper.cpp/build/bin/Debug/$(LIBWHISPER) buzz || true
|
||||
cp whisper.cpp/build/$(LIBWHISPER) buzz || true
|
||||
endif
|
||||
|
||||
buzz/whisper_cpp.py: buzz/$(LIBWHISPER) translation_mo
|
||||
cd buzz && ctypesgen ../whisper.cpp/whisper.h -lwhisper -o whisper_cpp.py
|
||||
|
|
|
|||
|
|
@ -35,7 +35,6 @@ Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{
|
|||
|
||||
[Files]
|
||||
Source: {#AppSourcePath}; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
|
||||
Source: "dll_backup"; DestDir: "{app}\dll_backup"; Flags: ignoreversion recursesubdirs createallsubdirs
|
||||
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
|
||||
|
||||
[Icons]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue