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.
core/session/CMakeLists.txt

31 lines
952 B
CMake

project(cutefish-session)
set(TARGET cutefish-session)
set(SOURCES
application.cpp
main.cpp
process.cpp
processmanager.cpp
networkproxymanager.cpp
powermanager/power.cpp
powermanager/powerproviders.cpp
)
qt6_add_dbus_adaptor(DBUS_SOURCES
com.cutefish.Session.xml
application.h Application
sessionadaptor SessionAdaptor)
set_source_files_properties(${DBUS_SOURCES} PROPERTIES SKIP_AUTOGEN ON)
add_executable(${TARGET} ${SOURCES} ${DBUS_SOURCES})
target_link_libraries(${TARGET}
Qt6::Core
Qt6::DBus
)
install(TARGETS ${TARGET} DESTINATION ${CMAKE_INSTALL_BINDIR})
install(PROGRAMS cutefish-kwin-wayland-session cutefish-wayland-session DESTINATION ${CMAKE_INSTALL_BINDIR})
install(FILES cutefish-applications.menu DESTINATION /etc/xdg/menus/)
install(FILES cutefish-wayland.desktop DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/wayland-sessions/)