diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-10-26 17:41:07 +0100 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-11-10 13:52:16 +0100 |
commit | 7dd7398388a3872983b5fd4e0f0c4cd1301d22ca (patch) | |
tree | 6153a220bbefdda540f3493d9d553d4ebafecfc1 /examples | |
parent | 97e9419230421f4a5bab190f23bcf946294cf013 (diff) |
CMake: Regenerate examples to set the WIN32_EXECUTABLE property
As well as the MACOSX_BUNDLE properties as necessary.
Task-number: QTBUG-87664
Change-Id: Ib975f6c4fc6676a8a2abfa50dcc43a76efc7d369
Reviewed-by: Sona Kurazyan <sona.kurazyan@qt.io>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/coap/consolecoapclient/CMakeLists.txt | 4 | ||||
-rw-r--r-- | examples/coap/quickmulticastclient/CMakeLists.txt | 4 | ||||
-rw-r--r-- | examples/coap/quicksecureclient/CMakeLists.txt | 4 | ||||
-rw-r--r-- | examples/coap/simplecoapclient/CMakeLists.txt | 4 |
4 files changed, 16 insertions, 0 deletions
diff --git a/examples/coap/consolecoapclient/CMakeLists.txt b/examples/coap/consolecoapclient/CMakeLists.txt index a0291de..c4b3e3d 100644 --- a/examples/coap/consolecoapclient/CMakeLists.txt +++ b/examples/coap/consolecoapclient/CMakeLists.txt @@ -23,6 +23,10 @@ qt_add_executable(testapp coaphandler.cpp coaphandler.h main.cpp ) +set_target_properties(testapp PROPERTIES + WIN32_EXECUTABLE TRUE + MACOSX_BUNDLE TRUE +) target_link_libraries(testapp PUBLIC Qt::Coap Qt::Core diff --git a/examples/coap/quickmulticastclient/CMakeLists.txt b/examples/coap/quickmulticastclient/CMakeLists.txt index d9c4a8c..3d28e64 100644 --- a/examples/coap/quickmulticastclient/CMakeLists.txt +++ b/examples/coap/quickmulticastclient/CMakeLists.txt @@ -25,6 +25,10 @@ qt_add_executable(quickmulticastclient main.cpp qmlcoapmulticastclient.cpp qmlcoapmulticastclient.h ) +set_target_properties(quickmulticastclient PROPERTIES + WIN32_EXECUTABLE TRUE + MACOSX_BUNDLE TRUE +) target_compile_definitions(quickmulticastclient PUBLIC QT_DEPRECATED_WARNINGS ) diff --git a/examples/coap/quicksecureclient/CMakeLists.txt b/examples/coap/quicksecureclient/CMakeLists.txt index 6f3cf3d..5578b68 100644 --- a/examples/coap/quicksecureclient/CMakeLists.txt +++ b/examples/coap/quicksecureclient/CMakeLists.txt @@ -25,6 +25,10 @@ qt_add_executable(quicksecureclient main.cpp qmlcoapsecureclient.cpp qmlcoapsecureclient.h ) +set_target_properties(quicksecureclient PROPERTIES + WIN32_EXECUTABLE TRUE + MACOSX_BUNDLE TRUE +) target_compile_definitions(quicksecureclient PUBLIC QT_DEPRECATED_WARNINGS ) diff --git a/examples/coap/simplecoapclient/CMakeLists.txt b/examples/coap/simplecoapclient/CMakeLists.txt index b69c09d..9f0f28e 100644 --- a/examples/coap/simplecoapclient/CMakeLists.txt +++ b/examples/coap/simplecoapclient/CMakeLists.txt @@ -26,6 +26,10 @@ qt_add_executable(simplecoapclient mainwindow.cpp mainwindow.h mainwindow.ui optiondialog.cpp optiondialog.h optiondialog.ui ) +set_target_properties(simplecoapclient PROPERTIES + WIN32_EXECUTABLE TRUE + MACOSX_BUNDLE TRUE +) target_compile_definitions(simplecoapclient PUBLIC QT_DEPRECATED_WARNINGS ) |