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)
|
|
add_checked_subdirectory(crash_reports)
|
|
if (LINUX)
|
|
add_checked_subdirectory(dispatch)
|
|
endif()
|
|
add_checked_subdirectory(expected)
|
|
if (LINUX AND NOT DESKTOP_APP_DISABLE_DBUS_INTEGRATION)
|
|
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 AND NOT DESKTOP_APP_DISABLE_DBUS_INTEGRATION)
|
|
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()
|
|
if (add_cld3_library)
|
|
add_checked_subdirectory(cld3)
|
|
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)
|