mirror of
https://github.com/redstrate/Novus.git
synced 2025-04-23 04:27:45 +00:00
This consolidates the bunch of duplicated code we have in a bunch of SDK applications. It sets up standard stuff like the menu bar, etc.
20 lines
672 B
CMake
20 lines
672 B
CMake
# SPDX-FileCopyrightText: 2023 Joshua Goins <josh@redstrate.com>
|
|
# SPDX-License-Identifier: CC0-1.0
|
|
|
|
add_library(novus-common STATIC)
|
|
target_sources(novus-common PRIVATE
|
|
include/aboutdata.h
|
|
include/filecache.h
|
|
include/novusmainwindow.h
|
|
include/settings.h
|
|
include/utility.h
|
|
src/aboutdata.cpp
|
|
src/filecache.cpp
|
|
src/novusmainwindow.cpp
|
|
src/settings.cpp
|
|
src/utility.cpp)
|
|
target_include_directories(novus-common PUBLIC
|
|
include
|
|
PRIVATE
|
|
${CMAKE_BINARY_DIR})
|
|
target_link_libraries(novus-common PUBLIC Qt6::Core Qt6::Widgets KF6::CoreAddons KF6::ConfigCore KF6::XmlGui physis)
|