MuseScore/src/palette/CMakeLists.txt
2021-08-02 09:12:07 +02:00

84 lines
3.1 KiB
CMake

# 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 palette)
set(MODULE_QRC
${CMAKE_CURRENT_LIST_DIR}/palette.qrc
)
set(MODULE_QML_IMPORT ${CMAKE_CURRENT_LIST_DIR}/qml)
include(${CMAKE_CURRENT_LIST_DIR}/view/widgets/widgets.cmake)
set(MODULE_SRC
${WIDGETS_SRC}
${CMAKE_CURRENT_LIST_DIR}/palettemodule.cpp
${CMAKE_CURRENT_LIST_DIR}/palettemodule.h
${CMAKE_CURRENT_LIST_DIR}/ipaletteconfiguration.h
${CMAKE_CURRENT_LIST_DIR}/palettetypes.h
${CMAKE_CURRENT_LIST_DIR}/internal/paletteconfiguration.cpp
${CMAKE_CURRENT_LIST_DIR}/internal/paletteconfiguration.h
${CMAKE_CURRENT_LIST_DIR}/internal/paletteworkspacesetup.cpp
${CMAKE_CURRENT_LIST_DIR}/internal/paletteworkspacesetup.h
${CMAKE_CURRENT_LIST_DIR}/internal/paletteuiactions.cpp
${CMAKE_CURRENT_LIST_DIR}/internal/paletteuiactions.h
${CMAKE_CURRENT_LIST_DIR}/internal/paletteactionscontroller.cpp
${CMAKE_CURRENT_LIST_DIR}/internal/paletteactionscontroller.h
${CMAKE_CURRENT_LIST_DIR}/internal/ipaletteprovider.h
${CMAKE_CURRENT_LIST_DIR}/internal/paletteprovider.cpp
${CMAKE_CURRENT_LIST_DIR}/internal/paletteprovider.h
${CMAKE_CURRENT_LIST_DIR}/internal/palettecreator.cpp
${CMAKE_CURRENT_LIST_DIR}/internal/palettecreator.h
${CMAKE_CURRENT_LIST_DIR}/internal/palettetree.cpp
${CMAKE_CURRENT_LIST_DIR}/internal/palettetree.h
${CMAKE_CURRENT_LIST_DIR}/internal/palette.cpp
${CMAKE_CURRENT_LIST_DIR}/internal/palette.h
${CMAKE_CURRENT_LIST_DIR}/internal/palettecell.cpp
${CMAKE_CURRENT_LIST_DIR}/internal/palettecell.h
${CMAKE_CURRENT_LIST_DIR}/internal/palettecelliconengine.cpp
${CMAKE_CURRENT_LIST_DIR}/internal/palettecelliconengine.h
${CMAKE_CURRENT_LIST_DIR}/internal/mimedatautils.h
${CMAKE_CURRENT_LIST_DIR}/view/paletterootmodel.cpp
${CMAKE_CURRENT_LIST_DIR}/view/paletterootmodel.h
${CMAKE_CURRENT_LIST_DIR}/view/palettemodel.cpp
${CMAKE_CURRENT_LIST_DIR}/view/palettemodel.h
${CMAKE_CURRENT_LIST_DIR}/view/palettepropertiesmodel.h
${CMAKE_CURRENT_LIST_DIR}/view/palettepropertiesmodel.cpp
${CMAKE_CURRENT_LIST_DIR}/view/palettecellpropertiesmodel.h
${CMAKE_CURRENT_LIST_DIR}/view/palettecellpropertiesmodel.cpp
${CMAKE_CURRENT_LIST_DIR}/view/drumsetpanelview.h
${CMAKE_CURRENT_LIST_DIR}/view/drumsetpanelview.cpp
)
set(MODULE_UI
${WIDGETS_UI}
)
set(MODULE_LINK
qzip
engraving
commonscene
)
include(${PROJECT_SOURCE_DIR}/build/module.cmake)