From 5399e01c18eea5c1d59c08fbdba84ae88c337982 Mon Sep 17 00:00:00 2001 From: Leander Beernaert Date: Mon, 3 Jun 2019 13:11:37 +0200 Subject: CMake Port for QtNetworkAuth Convert the QtNetworkAuth project to be compatible with the cmake build system. Includes tests and examples. Added header guard to twitter.h to work with CMake's moc setup. Change-Id: I0762e0b53f4e3194c969655e4c3deae21768b327 Reviewed-by: Simon Hausmann Reviewed-by: Alexandru Croitor --- examples/oauth/twittertimeline/CMakeLists.txt | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 examples/oauth/twittertimeline/CMakeLists.txt (limited to 'examples/oauth/twittertimeline/CMakeLists.txt') diff --git a/examples/oauth/twittertimeline/CMakeLists.txt b/examples/oauth/twittertimeline/CMakeLists.txt new file mode 100644 index 0000000..c7654be --- /dev/null +++ b/examples/oauth/twittertimeline/CMakeLists.txt @@ -0,0 +1,25 @@ +# Generated from twittertimeline.pro. + +##################################################################### +## twittertimeline Binary: +##################################################################### + +add_qt_executable(twittertimeline + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/oauth/twittertimeline" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/oauth/twittertimeline" + SOURCES + main.cpp + twitter.cpp twitter.h + twitterdialog.ui + twittertimelinemodel.cpp twittertimelinemodel.h + PUBLIC_LIBRARIES + Qt::Network + Qt::NetworkAuth + Qt::Widgets + ENABLE_AUTOGEN_TOOLS + uic +) + +#### Keys ignored in scope 1:.:.:twittertimeline.pro:: +# CONFIG = "-app_bundle" -- cgit v1.2.3