You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
fishui/src/CMakeLists.txt

51 lines
1.1 KiB
CMake

5 years ago
set(TARGET FishUI)
5 years ago
set(MODULE_VERSION "1.0")
set(SOURCES
5 years ago
fishui.cpp
5 years ago
iconthemeprovider.cpp
thememanager.cpp
shadowhelper/windowshadow.cpp
shadowhelper/boxshadowrenderer.cpp
shadowhelper/tileset.cpp
blurhelper/windowblur.cpp
blurhelper/windowblur.h
windowhelper.cpp
5 years ago
iconitem.cpp
5 years ago
newiconitem.cpp
5 years ago
managedtexturenode.cpp
5 years ago
wheelhandler.cpp
desktop/menupopupwindow.cpp
5 years ago
5 years ago
fishui.qrc
fish-style/style.qrc
5 years ago
)
add_library(${TARGET} SHARED ${SOURCES})
target_link_libraries (${TARGET}
PUBLIC
Qt5::Core
Qt5::Gui
Qt5::DBus
PRIVATE
Qt5::Qml
Qt5::Quick
Qt5::QuickControls2
Qt5::GuiPrivate
Qt5::X11Extras
5 years ago
KF5::WindowSystem
)
generate_export_header(${TARGET} BASE_NAME ${TARGET})
install(TARGETS ${TARGET} EXPORT ${TARGET}Targets ${INSTALL_TARGETS_DEFAULT_ARGS})
install(TARGETS ${TARGET} DESTINATION ${INSTALL_QMLDIR}/${TARGET})
# Install Controls
install(DIRECTORY controls/ DESTINATION ${INSTALL_QMLDIR}/${TARGET})
# INSTALL STYLE
5 years ago
install(DIRECTORY fish-style DESTINATION ${INSTALL_QMLDIR}/QtQuick/Controls.2)