CMake Build: Add cpaster tool

Fixes: QTCREATORBUG-22805
Change-Id: Ib63b9e9896e73789b234b3c4be4cde447e60fdf4
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Cristian Adam
2019-09-30 18:24:41 +02:00
parent 2c45abef4b
commit 99b0ed42a3
2 changed files with 12 additions and 0 deletions

View File

@@ -1,3 +1,5 @@
add_subdirectory(frontend)
add_qtc_plugin(CodePaster
PLUGIN_DEPENDS Core TextEditor
DEFINES CPASTER_PLUGIN_GUI

View File

@@ -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
)