mirror of
https://github.com/PABannier/bark.cpp
synced 2026-03-04 06:00:34 +01:00
14 lines
438 B
CMake
14 lines
438 B
CMake
add_library(common STATIC common.cpp)
|
|
target_include_directories(common PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
|
|
target_compile_features(common PUBLIC cxx_std_11)
|
|
|
|
if (EMSCRIPTEN)
|
|
add_subdirectory(wasm)
|
|
set_target_properties(libmain PROPERTIES FOLDER "libs")
|
|
set_target_properties(${TARGET} PROPERTIES COMPILE_FLAGS "-msimd128")
|
|
else()
|
|
add_subdirectory(main)
|
|
add_subdirectory(server)
|
|
add_subdirectory(quantize)
|
|
endif()
|