2021-04-05 09:48:25 +00:00
|
|
|
cmake_minimum_required(VERSION 3.5)
|
|
|
|
|
|
|
|
message("configure qsswraper for " ${PROJECT_NAME})
|
|
|
|
|
|
|
|
aux_source_directory(${CMAKE_CURRENT_LIST_DIR} DIRSRCS)
|
|
|
|
aux_source_directory(${CMAKE_CURRENT_LIST_DIR} FORMS)
|
|
|
|
|
|
|
|
set(QsswraperSource ${DIRSRCS})
|
|
|
|
list(APPEND SOURCES ${QsswraperSource})
|
2021-07-15 13:59:22 +00:00
|
|
|
|
2021-04-05 09:48:25 +00:00
|
|
|
set(QsswraperUI "${CMAKE_CURRENT_LIST_DIR}/forms/qsstoast.ui")
|
2021-05-01 06:08:52 +00:00
|
|
|
list(APPEND QsswraperUI "${CMAKE_CURRENT_LIST_DIR}/forms/process.ui")
|
|
|
|
|
2021-04-05 09:48:25 +00:00
|
|
|
list(APPEND UIS ${QsswraperUI})
|
|
|
|
set(QsswraperHeader "${CMAKE_CURRENT_LIST_DIR}/Qss.h")
|
|
|
|
list(APPEND HEADERS ${QsswraperHeader})
|
|
|
|
|
|
|
|
message("qss wraper add include dir " ${CMAKE_CURRENT_LIST_DIR})
|
2021-07-12 15:31:30 +00:00
|
|
|
message("qss wraper add source " ${QsswraperSource})
|
|
|
|
|
2021-04-05 09:48:25 +00:00
|
|
|
include_directories(${CMAKE_CURRENT_LIST_DIR})
|
|
|
|
|