Skip to content
Snippets Groups Projects
Verified Commit 10d7899a authored by Burak Hançerli's avatar Burak Hançerli :headphones:
Browse files

chore: repo restructure

parent a54c6621
No related branches found
No related tags found
No related merge requests found
Pipeline #48931 failed
......@@ -25,14 +25,19 @@ if(QT_VERSION VERSION_LESS QT_MINIMUM_VERSION)
MESSAGE(FATAL_ERROR "Minimum supported Qt version: ${QT_MINIMUM_VERSION}")
endif()
qt_add_executable(${CMAKE_PROJECT_NAME}
main.cpp
importdummy_wasm.qml
qt_add_executable(${PROJECT_NAME}
design-viewer/main.cpp
design-viewer/importdummy_wasm.qml
)
set_property(TARGET ${CMAKE_PROJECT_NAME} PROPERTY QT_WASM_INITIAL_MEMORY "50MB")
if(WITH_QDS_COMPONENTS)
add_subdirectory(qtquickdesigner-components)
add_dependencies(qtdesignviewer qtquickdesigner-components)
endif()
set_property(TARGET ${PROJECT_NAME} PROPERTY QT_WASM_INITIAL_MEMORY "50MB")
target_link_libraries(${CMAKE_PROJECT_NAME} PRIVATE
target_link_libraries(${PROJECT_NAME} PRIVATE
Qt6::Core
Qt6::Widgets
Qt6::Quick
......@@ -41,8 +46,5 @@ target_link_libraries(${CMAKE_PROJECT_NAME} PRIVATE
Qt6::GuiPrivate
)
qt6_import_qml_plugins(${CMAKE_PROJECT_NAME})
file(COPY ${CMAKE_SOURCE_DIR}/www/ DESTINATION ${CMAKE_BINARY_DIR}/)
qt6_import_qml_plugins(${PROJECT_NAME})
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment