From af6a530bb8c74d21fd860f7d0f256d5798fe184c Mon Sep 17 00:00:00 2001 From: deniskovalchuk Date: Thu, 14 Sep 2023 02:02:49 +0300 Subject: [PATCH] Add integration example --- README.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0dbe68a..01ac67c 100644 --- a/README.md +++ b/README.md @@ -87,7 +87,21 @@ Other examples can be found in the [examples](examples) folder. ## Integration -TODO +```cmake +cmake_minimum_required(VERSION 3.14) +project(application) + +include(FetchContent) +FetchContent_Declare( + libftp + GIT_REPOSITORY https://github.com/deniskovalchuk/ftp-client.git + GIT_TAG master +) +FetchContent_MakeAvailable(libftp) + +add_executable(application main.cpp) +target_link_libraries(application ftp::ftp) +``` ## Building