qt6windows7/tests/manual/wasm/eventloop/asyncify_exec/CMakeLists.txt

13 lines
339 B
CMake
Raw Normal View History

2023-10-30 06:33:08 +08:00
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: BSD-3-Clause
qt_internal_add_manual_test(asyncify_exec
SOURCES
main.cpp
LIBRARIES
Qt::Core
)
# Enable asyncify for this test. Also enable optimizations in order to reduce the binary size.
target_link_options(asyncify_exec PUBLIC -sASYNCIFY -Os)