From 1971b9240a3bb46a67f3f79ffe1fe0801f4f290b Mon Sep 17 00:00:00 2001 From: Andrey Astafyev Date: Mon, 20 Feb 2023 11:41:20 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9A=D0=BE=D0=BC=D0=BC=D0=B5=D0=BD=D1=82?= =?UTF-8?q?=D0=B0=D1=80=D0=B8=D0=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CMakeLists.txt | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0dfa1b1..1463957 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14,6 +14,7 @@ set(${PROJECT_NAME}_AUTHOR_EMAIL "dev@246060.ru") # Рекомендуемый способ подключения MyxCMake include(cmake/myx_setup.cmake) +# Используемые библиотеки if(PROJECT_IS_TOP_LEVEL) myx_add_external_target(myx-example-interface-library GIT_REPOSITORY git@gitlab.2:myx/examples/myx-example-interface-library) @@ -21,25 +22,6 @@ if(PROJECT_IS_TOP_LEVEL) GIT_REPOSITORY git@gitlab.2:myx/examples/myx-example-object-library) endif() -#add_subdirectory(${PROJECT_SOURCE_DIR}/modules/myx-example-interface-library ${CMAKE_BINARY_DIR}/myx-example-interface-library EXCLUDE_FROM_ALL) -#add_subdirectory(${PROJECT_SOURCE_DIR}/modules/myx-example-object-library ${CMAKE_BINARY_DIR}/myx-example-object-library EXCLUDE_FROM_ALL) - -#if(PROJECT_IS_TOP_LEVEL) -# FetchContent_Add(myx-example-interface-library -# GIT_REPOSITORY git@gitlab.2:myx/examples/myx-example-interface-library -# GIT_PATH myx/examples/myx-example-interface-library -# GIT_REMOTE origin -# ) - -# FetchContent_Add(myx-example-object-library -# GIT_REPOSITORY git@gitlab.2:myx/examples/myx-example-object-library -# GIT_PATH myx/examples/myx-example-object-library -# GIT_REMOTE origin -# ) -#else() -# include(myx_add_subdirectories.cmake) -#endif() - # Цель для создания исполняемого файла myx_add_executable(${PROJECT_NAME})