summaryrefslogtreecommitdiffstats
path: root/examples/corelib/ipc
diff options
context:
space:
mode:
Diffstat (limited to 'examples/corelib/ipc')
-rw-r--r--examples/corelib/ipc/CMakeLists.txt14
-rw-r--r--examples/corelib/ipc/localfortuneclient/CMakeLists.txt17
-rw-r--r--examples/corelib/ipc/localfortuneserver/CMakeLists.txt17
-rw-r--r--examples/corelib/ipc/sharedmemory/CMakeLists.txt19
4 files changed, 67 insertions, 0 deletions
diff --git a/examples/corelib/ipc/CMakeLists.txt b/examples/corelib/ipc/CMakeLists.txt
new file mode 100644
index 0000000000..b134a3aa17
--- /dev/null
+++ b/examples/corelib/ipc/CMakeLists.txt
@@ -0,0 +1,14 @@
+# Generated from ipc.pro.
+
+
+if(QT_FEATURE_sharedmemory)
+ add_subdirectory(sharedmemory)
+endif()
+
+if(TARGET Qt::Network)
+
+ if(QT_FEATURE_localserver)
+ add_subdirectory(localfortuneserver)
+ add_subdirectory(localfortuneclient)
+ endif()
+endif()
diff --git a/examples/corelib/ipc/localfortuneclient/CMakeLists.txt b/examples/corelib/ipc/localfortuneclient/CMakeLists.txt
new file mode 100644
index 0000000000..39ef3f4e3f
--- /dev/null
+++ b/examples/corelib/ipc/localfortuneclient/CMakeLists.txt
@@ -0,0 +1,17 @@
+# Generated from localfortuneclient.pro.
+
+#####################################################################
+## localfortuneclient Binary:
+#####################################################################
+
+add_qt_executable(localfortuneclient
+ GUI
+ OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/corelib/ipc/localfortuneclient"
+ INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/corelib/ipc/localfortuneclient"
+ SOURCES
+ client.cpp client.h
+ main.cpp
+ LIBRARIES
+ Qt::Network
+ Qt::Widgets
+)
diff --git a/examples/corelib/ipc/localfortuneserver/CMakeLists.txt b/examples/corelib/ipc/localfortuneserver/CMakeLists.txt
new file mode 100644
index 0000000000..e94028413e
--- /dev/null
+++ b/examples/corelib/ipc/localfortuneserver/CMakeLists.txt
@@ -0,0 +1,17 @@
+# Generated from localfortuneserver.pro.
+
+#####################################################################
+## localfortuneserver Binary:
+#####################################################################
+
+add_qt_executable(localfortuneserver
+ GUI
+ OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/corelib/ipc/localfortuneserver"
+ INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/corelib/ipc/localfortuneserver"
+ SOURCES
+ main.cpp
+ server.cpp server.h
+ LIBRARIES
+ Qt::Network
+ Qt::Widgets
+)
diff --git a/examples/corelib/ipc/sharedmemory/CMakeLists.txt b/examples/corelib/ipc/sharedmemory/CMakeLists.txt
new file mode 100644
index 0000000000..125cfbd243
--- /dev/null
+++ b/examples/corelib/ipc/sharedmemory/CMakeLists.txt
@@ -0,0 +1,19 @@
+# Generated from sharedmemory.pro.
+
+#####################################################################
+## sharedmemory Binary:
+#####################################################################
+
+add_qt_executable(sharedmemory
+ GUI
+ OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/corelib/ipc/sharedmemory"
+ INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/corelib/ipc/sharedmemory"
+ SOURCES
+ dialog.cpp dialog.h dialog.ui
+ main.cpp
+ LIBRARIES
+ Qt::Widgets
+)
+
+#### Keys ignored in scope 1:.:sharedmemory.pro:<NONE>:
+# EXAMPLE_FILES = "*.png"