mirror of
https://invent.kde.org/system/dolphin
synced 2024-08-21 09:20:13 +00:00
Use directly autorcc
This commit is contained in:
parent
2393049df5
commit
953b253676
|
@ -181,10 +181,9 @@ set(dolphinpart_SRCS
|
|||
dolphinpart.cpp
|
||||
dolphinpart_ext.cpp
|
||||
dolphindebug.cpp
|
||||
dolphinpart.qrc
|
||||
)
|
||||
|
||||
qt5_add_resources(dolphinpart_SRCS dolphinpart.qrc)
|
||||
|
||||
add_library(dolphinpart MODULE ${dolphinpart_SRCS})
|
||||
kcoreaddons_desktop_to_json(dolphinpart ${CMAKE_CURRENT_BINARY_DIR}/dolphinpart.desktop)
|
||||
|
||||
|
@ -255,6 +254,7 @@ set(dolphinstatic_SRCS
|
|||
views/zoomlevelinfo.cpp
|
||||
dolphindebug.cpp
|
||||
global.cpp
|
||||
dolphin.qrc
|
||||
)
|
||||
|
||||
if(HAVE_BALOO)
|
||||
|
@ -292,8 +292,6 @@ kconfig_add_kcfg_files(dolphinstatic_SRCS GENERATE_MOC
|
|||
settings/dolphin_generalsettings.kcfgc
|
||||
)
|
||||
|
||||
qt5_add_resources(dolphinstatic_SRCS dolphin.qrc)
|
||||
|
||||
qt5_generate_dbus_interface(${CMAKE_CURRENT_SOURCE_DIR}/dolphinmainwindow.h org.kde.DolphinMainWindow.xml)
|
||||
qt5_add_dbus_adaptor(dolphinstatic_SRCS ${CMAKE_CURRENT_BINARY_DIR}/org.kde.DolphinMainWindow.xml dolphinmainwindow.h DolphinMainWindow)
|
||||
qt5_add_dbus_interface(dolphinstatic_SRCS ${CMAKE_CURRENT_BINARY_DIR}/org.kde.DolphinMainWindow.xml dolphinmainwindowinterface)
|
||||
|
|
|
@ -62,8 +62,7 @@ TEST_NAME viewpropertiestest
|
|||
LINK_LIBRARIES dolphinprivate dolphinstatic Qt5::Test)
|
||||
|
||||
# DolphinMainWindowTest
|
||||
set(dolphinmainwindowtest_SRCS dolphinmainwindowtest.cpp)
|
||||
qt5_add_resources(dolphinmainwindowtest_SRCS ${CMAKE_SOURCE_DIR}/src/dolphin.qrc)
|
||||
set(dolphinmainwindowtest_SRCS dolphinmainwindowtest.cpp ${CMAKE_SOURCE_DIR}/src/dolphin.qrc)
|
||||
|
||||
ecm_add_test(${dolphinmainwindowtest_SRCS}
|
||||
TEST_NAME dolphinmainwindowtest
|
||||
|
|
Loading…
Reference in a new issue