mirror of
https://github.com/browsermt/bergamot-translator.git
synced 2024-10-26 05:43:59 +03:00
2e5daac978
* Updated marian-dev submodule - cmake changes required after the submodule update * Added workflows for building custom marian on mac and ubuntu * Renamed cmake option - Renamed USE_WASM_COMPATIBLE_SOURCES to USE_WASM_COMPATIBLE_SOURCE - Use proper compile defnitions
17 lines
760 B
CMake
17 lines
760 B
CMake
add_executable(bergamot-translator-app bergamot-translator-app.cpp)
|
|
target_link_libraries(bergamot-translator-app PRIVATE bergamot-translator)
|
|
|
|
add_executable(bergamot-translator-app-bytearray bergamot-translator-app-bytearray.cpp)
|
|
target_link_libraries(bergamot-translator-app-bytearray PRIVATE bergamot-translator)
|
|
|
|
if (NOT USE_WASM_COMPATIBLE_SOURCE)
|
|
add_executable(service-cli service-cli.cpp)
|
|
target_link_libraries(service-cli PRIVATE bergamot-translator)
|
|
|
|
add_executable(service-cli-bytearray service-cli-bytearray.cpp)
|
|
target_link_libraries(service-cli-bytearray PRIVATE bergamot-translator)
|
|
|
|
add_executable(marian-decoder-new marian-decoder-new.cpp)
|
|
target_link_libraries(marian-decoder-new PRIVATE bergamot-translator)
|
|
endif()
|