Spaces:
Running
Running
cmake : add submodule whisper.spm
Browse files- .gitmodules +3 -0
- CMakeLists.txt +5 -0
- bindings/ios +1 -0
.gitmodules
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[submodule "bindings/ios"]
|
| 2 |
+
path = bindings/ios
|
| 3 |
+
url = https://github.com/ggerganov/whisper.spm
|
CMakeLists.txt
CHANGED
|
@@ -9,6 +9,11 @@ if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
|
|
| 9 |
set(WHISPER_STANDALONE ON)
|
| 10 |
include(cmake/GitVars.cmake)
|
| 11 |
include(cmake/BuildTypes.cmake)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
else()
|
| 13 |
set(WHISPER_STANDALONE OFF)
|
| 14 |
endif()
|
|
|
|
| 9 |
set(WHISPER_STANDALONE ON)
|
| 10 |
include(cmake/GitVars.cmake)
|
| 11 |
include(cmake/BuildTypes.cmake)
|
| 12 |
+
|
| 13 |
+
# configure project version
|
| 14 |
+
if (EXISTS "${CMAKE_SOURCE_DIR}/bindings/ios/Makefile-tmpl")
|
| 15 |
+
configure_file(${CMAKE_SOURCE_DIR}/bindings/ios/Makefile-tmpl ${CMAKE_SOURCE_DIR}/bindings/ios/Makefile @ONLY)
|
| 16 |
+
endif()
|
| 17 |
else()
|
| 18 |
set(WHISPER_STANDALONE OFF)
|
| 19 |
endif()
|
bindings/ios
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
Subproject commit d5a7c79a98589387f1c55c33de9faa894e70713d
|