23 lines
704 B
CMake
23 lines
704 B
CMake
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})
|
|
|
|
set(QsswraperUI "${CMAKE_CURRENT_LIST_DIR}/forms/qsstoast.ui")
|
|
list(APPEND QsswraperUI "${CMAKE_CURRENT_LIST_DIR}/forms/process.ui")
|
|
|
|
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})
|
|
message("qss wraper add source " ${QsswraperSource})
|
|
|
|
include_directories(${CMAKE_CURRENT_LIST_DIR})
|
|
|