qsswraper/CMakeLists.txt

22 lines
743 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(QsswraperQrc "${CMAKE_CURRENT_LIST_DIR}/qss.qrc")
list(APPEND RESOURCES ${QsswraperQrc})
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})
include_directories(${CMAKE_CURRENT_LIST_DIR})