From 99b0ed42a3752f26c818703b740faf8afe108253 Mon Sep 17 00:00:00 2001 From: Cristian Adam Date: Mon, 30 Sep 2019 18:24:41 +0200 Subject: [PATCH] CMake Build: Add cpaster tool Fixes: QTCREATORBUG-22805 Change-Id: Ib63b9e9896e73789b234b3c4be4cde447e60fdf4 Reviewed-by: Eike Ziller --- src/plugins/cpaster/CMakeLists.txt | 2 ++ src/plugins/cpaster/frontend/CMakeLists.txt | 10 ++++++++++ 2 files changed, 12 insertions(+) create mode 100644 src/plugins/cpaster/frontend/CMakeLists.txt diff --git a/src/plugins/cpaster/CMakeLists.txt b/src/plugins/cpaster/CMakeLists.txt index 6e17d5c43bf..d631177c4e3 100644 --- a/src/plugins/cpaster/CMakeLists.txt +++ b/src/plugins/cpaster/CMakeLists.txt @@ -1,3 +1,5 @@ +add_subdirectory(frontend) + add_qtc_plugin(CodePaster PLUGIN_DEPENDS Core TextEditor DEFINES CPASTER_PLUGIN_GUI diff --git a/src/plugins/cpaster/frontend/CMakeLists.txt b/src/plugins/cpaster/frontend/CMakeLists.txt new file mode 100644 index 00000000000..9adc4e2e0c1 --- /dev/null +++ b/src/plugins/cpaster/frontend/CMakeLists.txt @@ -0,0 +1,10 @@ +add_qtc_executable(cpaster + DEPENDS Core Utils Qt5::Network + SOURCES + argumentscollector.cpp argumentscollector.h + main.cpp + ../pastebindotcomprotocol.cpp ../pastebindotcomprotocol.h + ../pastecodedotxyzprotocol.cpp ../pastecodedotxyzprotocol.h + ../protocol.cpp ../protocol.h + ../urlopenprotocol.cpp ../urlopenprotocol.h +)