Desktop App Toolkit uses GLib as the D-Bus library for quite long time, but GLib is not only a D-Bus library, it's more a basic library providing native Linux APIs implementing various specs. The situation right now is that DESKTOP_APP_DISABLE_DBUS_INTEGRATION disables not only D-Bus code but all the native API integration such as MIME handling or .desktop file parsing. In other words, the option disables native Linux APIs on Linux what is absurd and doesn't have any sense.
73 lines
2.2 KiB
CMake
73 lines
2.2 KiB
CMake
# This file is part of Desktop App Toolkit,
|
|
# a set of libraries for developing nice desktop applications.
|
|
#
|
|
# For license and copyright information please follow this link:
|
|
# https://github.com/desktop-app/legal/blob/master/LEGAL
|
|
|
|
macro(add_checked_subdirectory name)
|
|
if (NOT DEFINED desktop_app_skip_libs
|
|
OR NOT ${name} IN_LIST desktop_app_skip_libs)
|
|
add_subdirectory(${name})
|
|
endif()
|
|
endmacro()
|
|
|
|
add_checked_subdirectory(angle)
|
|
add_checked_subdirectory(auto_updates)
|
|
if (add_cld3_library)
|
|
add_checked_subdirectory(cld3)
|
|
endif()
|
|
add_checked_subdirectory(crash_reports)
|
|
if (LINUX)
|
|
add_checked_subdirectory(dispatch)
|
|
endif()
|
|
add_checked_subdirectory(expected)
|
|
if (LINUX AND TARGET Qt::DBus)
|
|
add_checked_subdirectory(fcitx_qt5)
|
|
if (NOT DESKTOP_APP_DISABLE_X11_INTEGRATION)
|
|
add_checked_subdirectory(fcitx5_qt)
|
|
endif()
|
|
endif()
|
|
add_checked_subdirectory(ffmpeg)
|
|
if (LINUX)
|
|
add_checked_subdirectory(glib)
|
|
add_checked_subdirectory(glibmm)
|
|
endif()
|
|
add_checked_subdirectory(gsl)
|
|
if (LINUX AND NOT DESKTOP_APP_DISABLE_X11_INTEGRATION)
|
|
add_checked_subdirectory(hime_qt)
|
|
endif()
|
|
if (add_hunspell_library)
|
|
add_checked_subdirectory(hunspell)
|
|
endif()
|
|
add_checked_subdirectory(iconv)
|
|
if (LINUX AND NOT DESKTOP_APP_DISABLE_JEMALLOC)
|
|
add_checked_subdirectory(jemalloc)
|
|
endif()
|
|
add_checked_subdirectory(jpeg)
|
|
add_checked_subdirectory(kcoreaddons)
|
|
add_checked_subdirectory(kimageformats)
|
|
add_checked_subdirectory(lz4)
|
|
add_checked_subdirectory(minizip)
|
|
if (LINUX)
|
|
add_checked_subdirectory(nimf_qt5)
|
|
endif()
|
|
add_checked_subdirectory(openal)
|
|
add_checked_subdirectory(openssl)
|
|
add_checked_subdirectory(opus)
|
|
add_checked_subdirectory(qt)
|
|
add_checked_subdirectory(qr_code_generator)
|
|
add_checked_subdirectory(ranges)
|
|
add_checked_subdirectory(rlottie)
|
|
add_checked_subdirectory(rnnoise)
|
|
add_checked_subdirectory(ton)
|
|
add_checked_subdirectory(variant)
|
|
add_checked_subdirectory(vpx)
|
|
if (LINUX AND NOT DESKTOP_APP_DISABLE_WAYLAND_INTEGRATION)
|
|
add_checked_subdirectory(wayland_client)
|
|
endif()
|
|
add_checked_subdirectory(webrtc)
|
|
if (LINUX AND NOT DESKTOP_APP_DISABLE_X11_INTEGRATION)
|
|
add_checked_subdirectory(xcb)
|
|
endif()
|
|
add_checked_subdirectory(xxhash)
|
|
add_checked_subdirectory(zlib)
|