mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-11-04 00:02:21 +08:00
19 lines
532 B
CMake
19 lines
532 B
CMake
include_directories(backend)
|
|
include_directories(dbus)
|
|
include_directories(pages)
|
|
include_directories(utils)
|
|
include_directories(widgets)
|
|
|
|
# https://cmake.org/cmake/help/v3.12/command/file.html#glob-recurse
|
|
file(GLOB_RECURSE HEADERS CONFIGURE_DEPENDS
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/*.h"
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/*.hpp"
|
|
)
|
|
|
|
file(GLOB_RECURSE SOURCES CONFIGURE_DEPENDS
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/*.cpp"
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/*.ui"
|
|
)
|
|
|
|
qt6_add_resources(QRC_FILE ${CMAKE_CURRENT_SOURCE_DIR}/assets/assets.qrc)
|