add QAD valuetreeeditor util

This commit is contained in:
2022-12-20 10:04:37 +03:00
parent dc2419dcad
commit cce1b6a0c4
13 changed files with 496 additions and 127 deletions

View File

@@ -0,0 +1,19 @@
project(valuetreeeditor)
if(APPLE)
set(APP_ICON "")
elseif(WIN32)
set(APP_ICON "icons/valuetreeeditor.ico")
else()
set(APP_ICON "icons/valuetreeeditor.png")
endif()
set(APP_INFO "Editor for PIValueTree")
qad_application(${PROJECT_NAME} "Gui;Widgets" "qad_utils;qad_widgets;qad_application;qad_piqt_utils")
if (NOT DEFINED ANDROID_PLATFORM)
foreach (_qv_ IN ITEMS 5 6)
if (${LOCAL_FOUND${_qv_}})
import_version(${PROJECT_NAME}${_qv_} ${PROJECT_NAME})
import_deploy_properties(${PROJECT_NAME}${_qv_} ${PROJECT_NAME})
deploy_target(${PROJECT_NAME}${_qv_} DEPLOY_DIR ${CMAKE_CURRENT_BINARY_DIR} DESTINATION ${ROOT_DIR}/release ADD_MANIFEST)
endif()
endforeach()
endif()