Files
qt-creator/tests/tools/qml-ast2dot/CMakeLists.txt
Eike Ziller 55fa109b59 CMake build: Use version-less Qt targets
Since we do not support Qt < 5.15 anymore, and as a first step
for getting rid of our special FindQt5.cmake.

Change-Id: Icc5dbaf9b0a3a622b1f609ff114b9decb6d2856c
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2023-01-05 10:13:16 +00:00

14 lines
362 B
CMake

add_qtc_executable(qml_ast2dot
BUILD_DEFAULT OFF
DEPENDS Qt::Core Qt::Gui QmlJS
SOURCES main.cpp
)
extend_qtc_executable(qml_ast2dot
PROPERTIES
OUTPUT_NAME "qml-ast2dot"
LIBRARY_OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
RUNTIME_OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
)