CMake build: Re-add qtcreatorcrashhandler

On Linux for Debug configurations, like it was for the qmake build.

Change-Id: I9ffc8687010ba7900203520c1609f7112c5434be
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This commit is contained in:
Eike Ziller
2022-06-20 11:18:37 +02:00
parent 64d52bb8c3
commit 17129dc931

View File

@@ -1,11 +1,10 @@
if (LINUX) # Debug build only!
add_qtc_executable(qtcreatorcrashhandler
DEPENDS Utils Qt5::Widgets
SOURCES
backtracecollector.cpp backtracecollector.h
crashhandler.cpp crashhandler.h
crashhandlerdialog.cpp crashhandlerdialog.h crashhandlerdialog.ui
main.cpp
utils.cpp utils.h
)
endif()
add_qtc_executable(qtcreatorcrashhandler
CONDITION UNIX AND NOT APPLE AND (CMAKE_BUILD_TYPE STREQUAL "Debug")
DEPENDS app_version Utils Qt5::Widgets
SOURCES
backtracecollector.cpp backtracecollector.h
crashhandler.cpp crashhandler.h
crashhandlerdialog.cpp crashhandlerdialog.h crashhandlerdialog.ui
main.cpp
utils.cpp utils.h
)