qsswraper/CMakeLists.txt

20 lines
672 B
CMake
Raw Normal View History

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})
set(QsswraperQrc "${CMAKE_CURRENT_LIST_DIR}/qss.qrc")
list(APPEND RESOURCES ${QsswraperQrc})
set(QsswraperUI "${CMAKE_CURRENT_LIST_DIR}/forms/qsstoast.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})