diff options
author | Tobias Hunger <tobias.hunger@qt.io> | 2019-03-20 13:41:37 +0100 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@qt.io> | 2019-03-26 15:25:39 +0000 |
commit | aa50b377a7d904e35cf3a26e4c8a054108011ffd (patch) | |
tree | ff45946e5779357aa547f00a8b5b9d0119a2b8f2 /examples/widgets/tools/echoplugin | |
parent | 05ebd62f099b51b160a06e1257007bf437355fae (diff) |
CMake: Add widgets examples
Change-Id: Ib6142b93df066e3658eb189b50ca74c455fe7e56
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'examples/widgets/tools/echoplugin')
-rw-r--r-- | examples/widgets/tools/echoplugin/CMakeLists.txt | 4 | ||||
-rw-r--r-- | examples/widgets/tools/echoplugin/echowindow/CMakeLists.txt | 33 | ||||
-rw-r--r-- | examples/widgets/tools/echoplugin/plugin/CMakeLists.txt | 22 |
3 files changed, 59 insertions, 0 deletions
diff --git a/examples/widgets/tools/echoplugin/CMakeLists.txt b/examples/widgets/tools/echoplugin/CMakeLists.txt new file mode 100644 index 0000000000..b848e08e72 --- /dev/null +++ b/examples/widgets/tools/echoplugin/CMakeLists.txt @@ -0,0 +1,4 @@ +# Generated from echoplugin.pro. + +add_subdirectory(echowindow) +add_subdirectory(plugin) diff --git a/examples/widgets/tools/echoplugin/echowindow/CMakeLists.txt b/examples/widgets/tools/echoplugin/echowindow/CMakeLists.txt new file mode 100644 index 0000000000..3c9082db07 --- /dev/null +++ b/examples/widgets/tools/echoplugin/echowindow/CMakeLists.txt @@ -0,0 +1,33 @@ +# Generated from echowindow.pro. + +##################################################################### +## echoplugin Binary: +##################################################################### + +add_qt_executable(echoplugin + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tools/echoplugin" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tools/echoplugin" + SOURCES + echointerface.h + echowindow.cpp echowindow.h + main.cpp + LIBRARIES + Qt::Widgets +) + +#### Keys ignored in scope 1:.:echowindow.pro:<NONE>: +# CONFIG = "install_ok" +# QMAKE_PROJECT_NAME = "echopluginwindow" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 3:.:echowindow.pro:CONFIG(debug,release OR debug): +# DESTDIR = "../debug/" + +#### Keys ignored in scope 4:.:echowindow.pro:CONFIG(release,release OR debug): +# DESTDIR = "../release/" + +#### Keys ignored in scope 5:.:echowindow.pro:else: +# DESTDIR = "../" diff --git a/examples/widgets/tools/echoplugin/plugin/CMakeLists.txt b/examples/widgets/tools/echoplugin/plugin/CMakeLists.txt new file mode 100644 index 0000000000..7250a7e0a6 --- /dev/null +++ b/examples/widgets/tools/echoplugin/plugin/CMakeLists.txt @@ -0,0 +1,22 @@ +# Generated from plugin.pro. + +##################################################################### +## qtLibraryTargetechoplugin Module: +##################################################################### + +add_qt_plugin(echoplugin_plugin TYPE plugin # special case + SOURCES + echoplugin.cpp echoplugin.h + INCLUDE_DIRECTORIES + ../echowindow + LIBRARIES + Qt::Widgets +) + +#### Keys ignored in scope 1:.:plugin.pro:<NONE>: +# CONFIG = "plugin" "install_ok" +# DESTDIR = "../plugins" +# EXAMPLE_FILES = "echoplugin.json" +# INSTALLS = "target" +# TEMPLATE = "lib" +# target.path = "$$[QT_INSTALL_EXAMPLES]/widgets/tools/echoplugin/plugins" |