# SPDX-License-Identifier: GPL-3.0-only
# MuseScore-CLA-applies
#
# MuseScore
# Music Composition & Notation
#
# Copyright (C) 2021 MuseScore BVBA and others
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 3 as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <https://www.gnu.org/licenses/>.

set(MODULE accessibility)

set(MODULE_SRC
    ${CMAKE_CURRENT_LIST_DIR}/accessibilitymodule.cpp
    ${CMAKE_CURRENT_LIST_DIR}/accessibilitymodule.h
    ${CMAKE_CURRENT_LIST_DIR}/iaccessible.h
    ${CMAKE_CURRENT_LIST_DIR}/iaccessibilitycontroller.h
    ${CMAKE_CURRENT_LIST_DIR}/iaccessibilityconfiguration.h
    ${CMAKE_CURRENT_LIST_DIR}/iqaccessibleinterfaceregister.h

    ${CMAKE_CURRENT_LIST_DIR}/internal/accessibilitycontroller.cpp
    ${CMAKE_CURRENT_LIST_DIR}/internal/accessibilitycontroller.h
    ${CMAKE_CURRENT_LIST_DIR}/internal/accessibleobject.cpp
    ${CMAKE_CURRENT_LIST_DIR}/internal/accessibleobject.h
    ${CMAKE_CURRENT_LIST_DIR}/internal/accessiblestub.cpp
    ${CMAKE_CURRENT_LIST_DIR}/internal/accessiblestub.h
    ${CMAKE_CURRENT_LIST_DIR}/internal/accessibleiteminterface.cpp
    ${CMAKE_CURRENT_LIST_DIR}/internal/accessibleiteminterface.h
    ${CMAKE_CURRENT_LIST_DIR}/internal/accessibilityconfiguration.cpp
    ${CMAKE_CURRENT_LIST_DIR}/internal/accessibilityconfiguration.h
    ${CMAKE_CURRENT_LIST_DIR}/internal/qaccessibleinterfaceregister.cpp
    ${CMAKE_CURRENT_LIST_DIR}/internal/qaccessibleinterfaceregister.h
    )

if (OS_IS_LIN)
# it needed to send a spontaneous event by activating navigation
set(MODULE_INCLUDE
    ${Qt5Core_PRIVATE_INCLUDE_DIRS}
    )
endif()

include(${PROJECT_SOURCE_DIR}/build/module.cmake)
