2014-11-13 01:04:59 +02:00
|
|
|
project(kdewidgets)
|
|
|
|
|
2015-09-01 01:05:33 +03:00
|
|
|
if(ENABLE_TESTING)
|
|
|
|
add_subdirectory(tests)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
add_subdirectory(pics)
|
2014-11-13 01:04:59 +02:00
|
|
|
|
2016-03-14 21:37:05 +00:00
|
|
|
include_directories(
|
|
|
|
${KDE4_KIO_INCLUDES}
|
|
|
|
${CMAKE_SOURCE_DIR}/kutils/kmediaplayer
|
2016-04-27 23:02:44 +00:00
|
|
|
# for the export header
|
|
|
|
${CMAKE_BINARY_DIR}/kutils/kmediaplayer
|
2016-03-14 21:37:05 +00:00
|
|
|
)
|
2014-11-13 01:04:59 +02:00
|
|
|
|
|
|
|
########### next target ###############
|
|
|
|
|
2015-11-01 15:08:31 +02:00
|
|
|
add_executable(makekdewidgets makekdewidgets.cpp)
|
2014-11-13 01:04:59 +02:00
|
|
|
|
2015-09-01 01:05:33 +03:00
|
|
|
target_link_libraries(makekdewidgets ${KDE4_KDECORE_LIBS})
|
2014-11-13 01:04:59 +02:00
|
|
|
|
2015-11-01 15:08:31 +02:00
|
|
|
install(
|
|
|
|
TARGETS makekdewidgets
|
|
|
|
EXPORT kdelibsToolsTargets
|
|
|
|
${INSTALL_TARGETS_DEFAULT_ARGS}
|
|
|
|
)
|
2014-11-13 01:04:59 +02:00
|
|
|
|
|
|
|
########### next target ###############
|
|
|
|
|
2022-10-28 19:59:11 +03:00
|
|
|
if(QT_QTUITOOLS_FOUND)
|
2016-03-10 16:15:40 +00:00
|
|
|
kde4_add_widget(kdewidgets_SRCS kde.widgets)
|
2014-11-13 01:04:59 +02:00
|
|
|
|
2016-03-10 16:15:40 +00:00
|
|
|
kde4_add_plugin(kdewidgets ${kdewidgets_SRCS})
|
2014-11-13 01:04:59 +02:00
|
|
|
|
2016-09-03 00:05:54 +00:00
|
|
|
target_link_libraries(kdewidgets ${KDE4_KIO_LIBS} ${KDE4_KMEDIAPLAYER_LIBS})
|
2014-11-13 01:04:59 +02:00
|
|
|
|
2016-03-06 14:59:19 +00:00
|
|
|
install(
|
|
|
|
TARGETS kdewidgets
|
2022-10-10 15:05:17 +03:00
|
|
|
DESTINATION ${KDE4_PLUGIN_INSTALL_DIR}/plugins/designer
|
2016-03-06 14:59:19 +00:00
|
|
|
)
|
2022-10-28 19:59:11 +03:00
|
|
|
endif(QT_QTUITOOLS_FOUND)
|
2014-11-13 01:04:59 +02:00
|
|
|
|