cmake : add submodule whisper.spm

pull/128/head
Georgi Gerganov 2022-11-07 20:50:24 +02:00
parent c30bffc8a5
commit 4c66b6a828
No known key found for this signature in database
GPG Key ID: 449E073F9DC10735
3 changed files with 9 additions and 0 deletions

3
.gitmodules vendored 100644
View File

@ -0,0 +1,3 @@
[submodule "bindings/ios"]
path = bindings/ios
url = https://github.com/ggerganov/whisper.spm

View File

@ -9,6 +9,11 @@ if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
set(WHISPER_STANDALONE ON)
include(cmake/GitVars.cmake)
include(cmake/BuildTypes.cmake)
# configure project version
if (EXISTS "${CMAKE_SOURCE_DIR}/bindings/ios/Makefile-tmpl")
configure_file(${CMAKE_SOURCE_DIR}/bindings/ios/Makefile-tmpl ${CMAKE_SOURCE_DIR}/bindings/ios/Makefile @ONLY)
endif()
else()
set(WHISPER_STANDALONE OFF)
endif()

1
bindings/ios 160000

@ -0,0 +1 @@
Subproject commit d5a7c79a98589387f1c55c33de9faa894e70713d