From 271affc124234d80cb33825d6af9b5b949bbfc36 Mon Sep 17 00:00:00 2001 From: Roy Shilkrot Date: Wed, 20 Nov 2024 15:45:59 -0500 Subject: [PATCH] Refactor CMakeLists.txt for cloud translation sources formatting --- .../cloud-translation/CMakeLists.txt | 21 ++++++++++--------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/src/translation/cloud-translation/CMakeLists.txt b/src/translation/cloud-translation/CMakeLists.txt index dee765a..d6bb1af 100644 --- a/src/translation/cloud-translation/CMakeLists.txt +++ b/src/translation/cloud-translation/CMakeLists.txt @@ -1,11 +1,12 @@ # add source files -target_sources(${CMAKE_PROJECT_NAME} PRIVATE - # ${CMAKE_SOURCE_DIR}/src/translation/cloud-translation/aws.cpp - ${CMAKE_SOURCE_DIR}/src/translation/cloud-translation/azure.cpp - ${CMAKE_SOURCE_DIR}/src/translation/cloud-translation/claude.cpp - ${CMAKE_SOURCE_DIR}/src/translation/cloud-translation/curl-helper.cpp - ${CMAKE_SOURCE_DIR}/src/translation/cloud-translation/deepl.cpp - ${CMAKE_SOURCE_DIR}/src/translation/cloud-translation/google-cloud.cpp - ${CMAKE_SOURCE_DIR}/src/translation/cloud-translation/openai.cpp - ${CMAKE_SOURCE_DIR}/src/translation/cloud-translation/papago.cpp - ${CMAKE_SOURCE_DIR}/src/translation/cloud-translation/translation-cloud.cpp) +target_sources( + ${CMAKE_PROJECT_NAME} + PRIVATE # ${CMAKE_SOURCE_DIR}/src/translation/cloud-translation/aws.cpp + ${CMAKE_SOURCE_DIR}/src/translation/cloud-translation/azure.cpp + ${CMAKE_SOURCE_DIR}/src/translation/cloud-translation/claude.cpp + ${CMAKE_SOURCE_DIR}/src/translation/cloud-translation/curl-helper.cpp + ${CMAKE_SOURCE_DIR}/src/translation/cloud-translation/deepl.cpp + ${CMAKE_SOURCE_DIR}/src/translation/cloud-translation/google-cloud.cpp + ${CMAKE_SOURCE_DIR}/src/translation/cloud-translation/openai.cpp + ${CMAKE_SOURCE_DIR}/src/translation/cloud-translation/papago.cpp + ${CMAKE_SOURCE_DIR}/src/translation/cloud-translation/translation-cloud.cpp)