2022-06-30 14:11:18 +00:00
|
|
|
qt_internal_add_manual_test(promise_auto
|
|
|
|
SOURCES
|
|
|
|
promise_main.cpp
|
|
|
|
../qtwasmtestlib/qtwasmtestlib.cpp
|
2022-07-25 15:50:38 +00:00
|
|
|
LIBRARIES
|
2022-06-30 14:11:18 +00:00
|
|
|
Qt::Core
|
|
|
|
Qt::CorePrivate
|
|
|
|
)
|
|
|
|
|
|
|
|
include_directories(../qtwasmtestlib/)
|
|
|
|
|
|
|
|
add_custom_command(
|
|
|
|
TARGET promise_auto POST_BUILD
|
|
|
|
COMMAND ${CMAKE_COMMAND} -E copy
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/promise_auto.html
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/promise_auto.html)
|
|
|
|
|
|
|
|
add_custom_command(
|
|
|
|
TARGET promise_auto POST_BUILD
|
|
|
|
COMMAND ${CMAKE_COMMAND} -E copy
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/../qtwasmtestlib/qtwasmtestlib.js
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/qtwasmtestlib.js)
|
2022-07-04 07:57:27 +00:00
|
|
|
|
|
|
|
qt_internal_add_manual_test(files_auto
|
|
|
|
SOURCES
|
|
|
|
files_main.cpp
|
|
|
|
../qtwasmtestlib/qtwasmtestlib.cpp
|
2023-04-13 07:38:02 +00:00
|
|
|
LIBRARIES
|
2022-07-04 07:57:27 +00:00
|
|
|
Qt::Core
|
|
|
|
Qt::CorePrivate
|
|
|
|
Qt::GuiPrivate
|
|
|
|
)
|
|
|
|
|
|
|
|
include_directories(../qtwasmtestlib/)
|
|
|
|
|
|
|
|
add_custom_command(
|
|
|
|
TARGET files_auto POST_BUILD
|
|
|
|
COMMAND ${CMAKE_COMMAND} -E copy
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/files_auto.html
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/files_auto.html)
|
|
|
|
|
|
|
|
add_custom_command(
|
|
|
|
TARGET files_auto POST_BUILD
|
|
|
|
COMMAND ${CMAKE_COMMAND} -E copy
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/../qtwasmtestlib/qtwasmtestlib.js
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/qtwasmtestlib.js)
|
2022-10-20 12:05:58 +00:00
|
|
|
|
|
|
|
qt_internal_add_manual_test(qwasmcompositor_auto
|
|
|
|
SOURCES
|
|
|
|
qwasmcompositor_main.cpp
|
|
|
|
../qtwasmtestlib/qtwasmtestlib.cpp
|
2023-04-13 07:38:02 +00:00
|
|
|
LIBRARIES
|
2022-10-20 12:05:58 +00:00
|
|
|
Qt::Core
|
|
|
|
Qt::CorePrivate
|
|
|
|
Qt::GuiPrivate
|
|
|
|
)
|
|
|
|
|
|
|
|
include_directories(../qtwasmtestlib/)
|
|
|
|
|
|
|
|
add_custom_command(
|
|
|
|
TARGET qwasmcompositor_auto POST_BUILD
|
|
|
|
COMMAND ${CMAKE_COMMAND} -E copy
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/qwasmcompositor_auto.html
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/qwasmcompositor_auto.html)
|
|
|
|
|
|
|
|
add_custom_command(
|
|
|
|
TARGET qwasmcompositor_auto POST_BUILD
|
|
|
|
COMMAND ${CMAKE_COMMAND} -E copy
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/../qtwasmtestlib/qtwasmtestlib.js
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/qtwasmtestlib.js)
|
|
|
|
|
|
|
|
target_link_options(qwasmcompositor_auto PRIVATE -sASYNCIFY -Os)
|