Warning, /maui/mauiman/lib/src/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 0002 include_directories( 0003 ${CMAKE_CURRENT_SOURCE_DIR} 0004 ${CMAKE_CURRENT_BINARY_DIR} 0005 0006 ${CMAKE_CURRENT_SOURCE_DIR}/modules) 0007 0008 set(mauiman_HDRS 0009 settingsstore.h 0010 modules/backgroundmanager.h 0011 modules/thememanager.h 0012 modules/screenmanager.h 0013 modules/formfactormanager.h 0014 modules/accessibilitymanager.h 0015 modules/inputdevicesmanager.h 0016 mauimanutils.h) 0017 0018 set(mauiman_SRCS 0019 settingsstore.cpp 0020 modules/backgroundmanager.cpp 0021 modules/thememanager.cpp 0022 modules/screenmanager.cpp 0023 modules/formfactormanager.cpp 0024 modules/accessibilitymanager.cpp 0025 modules/inputdevicesmanager.cpp 0026 mauimanutils.cpp) 0027 0028 add_library(${PROJECT_NAME}${MAUI_MAJOR_VERSION} 0029 SHARED 0030 ${mauiman_SRCS}) 0031 0032 generate_export_header(${PROJECT_NAME}${MAUI_MAJOR_VERSION} BASE_NAME MauiMan) 0033 0034 target_include_directories(${PROJECT_NAME}${MAUI_MAJOR_VERSION} 0035 INTERFACE "$<INSTALL_INTERFACE:${KDE_INSTALL_INCLUDEDIR}/MauiMan${MAUI_MAJOR_VERSION}>") 0036 0037 target_include_directories(${PROJECT_NAME}${MAUI_MAJOR_VERSION} PUBLIC "$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR};${CMAKE_CURRENT_BINARY_DIR};>") 0038 0039 if(UNIX AND NOT APPLE AND NOT ANDROID) 0040 target_link_libraries(${PROJECT_NAME}${MAUI_MAJOR_VERSION} PRIVATE Qt${QT_MAJOR_VERSION}::DBus) 0041 0042 if (QT_MAJOR_VERSION STREQUAL "5") 0043 target_link_libraries(${PROJECT_NAME}${MAUI_MAJOR_VERSION} PRIVATE Qt5SystemInfo) 0044 endif() 0045 endif() 0046 0047 target_link_libraries(${PROJECT_NAME}${MAUI_MAJOR_VERSION} 0048 PRIVATE 0049 Qt${QT_MAJOR_VERSION}::Core 0050 Qt${QT_MAJOR_VERSION}::Gui) 0051 0052 install(FILES 0053 ${mauiman_HDRS} 0054 ${CMAKE_CURRENT_BINARY_DIR}/mauiman_export.h 0055 DESTINATION ${KDE_INSTALL_INCLUDEDIR}/MauiMan${MAUI_MAJOR_VERSION} 0056 COMPONENT Devel) 0057 0058 install(TARGETS ${PROJECT_NAME}${MAUI_MAJOR_VERSION} EXPORT MauiMan${MAUI_MAJOR_VERSION}Targets ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})