Warning, /office/calligra/plugins/musicshape/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 add_definitions(-DTRANSLATION_DOMAIN=\"calligra_shape_music\")
0002 
0003 include_directories(
0004     ${FLAKE_INCLUDES}
0005     ${kOWIDGETS_INCLUDES}
0006 )
0007 
0008 add_subdirectory( fonts )
0009 add_subdirectory( pics )
0010 add_subdirectory( core )
0011 if(BUILD_TESTING)
0012     add_subdirectory( tests)
0013 endif()
0014 
0015 ########### Flake Plugin library ###############
0016 
0017 set( musiccore_SRCS
0018     core/Global.cpp
0019     core/Sheet.cpp
0020     core/Part.cpp
0021     core/PartGroup.cpp
0022     core/Staff.cpp
0023     core/Voice.cpp
0024     core/Bar.cpp
0025     core/VoiceBar.cpp
0026     core/VoiceElement.cpp
0027     core/StaffElement.cpp
0028     core/Chord.cpp
0029     core/Note.cpp
0030     core/Clef.cpp
0031     core/KeySignature.cpp
0032     core/TimeSignature.cpp
0033     core/StaffSystem.cpp
0034 
0035     core/MusicXmlWriter.cpp
0036     core/MusicXmlReader.cpp
0037 )
0038 
0039 set (musicshape_LIB_SRCS
0040     MusicDebug.cpp
0041     MusicShape.cpp
0042     MusicShapeFactory.cpp
0043     MusicTool.cpp
0044     MusicToolFactory.cpp
0045     SimpleEntryTool.cpp
0046     SimpleEntryToolFactory.cpp
0047     MusicStyle.cpp
0048     Engraver.cpp
0049     Renderer.cpp
0050     MusicCursor.cpp
0051 
0052     dialogs/PartsWidget.cpp
0053     dialogs/PartDetailsDialog.cpp
0054     dialogs/SimpleEntryWidget.cpp
0055     dialogs/PartsListModel.cpp
0056     dialogs/KeySignatureDialog.cpp
0057     dialogs/StaffElementPreviewWidget.cpp
0058 
0059     actions/AbstractMusicAction.cpp
0060     actions/AbstractNoteMusicAction.cpp
0061     actions/NoteEntryAction.cpp
0062     actions/AccidentalAction.cpp
0063     actions/EraserAction.cpp
0064     actions/DotsAction.cpp
0065     actions/SetClefAction.cpp
0066     actions/TimeSignatureAction.cpp
0067     actions/KeySignatureAction.cpp
0068     actions/RemoveBarAction.cpp
0069     actions/TiedNoteAction.cpp
0070     actions/SelectionAction.cpp
0071     
0072     commands/AddPartCommand.cpp
0073     commands/RemovePartCommand.cpp
0074     commands/ChangePartDetailsCommand.cpp
0075     commands/CreateChordCommand.cpp
0076     commands/AddNoteCommand.cpp
0077     commands/SetAccidentalsCommand.cpp
0078     commands/AddBarsCommand.cpp
0079     commands/RemoveNoteCommand.cpp
0080     commands/RemoveChordCommand.cpp
0081     commands/AddDotCommand.cpp
0082     commands/SetClefCommand.cpp
0083     commands/RemoveStaffElementCommand.cpp
0084     commands/SetTimeSignatureCommand.cpp
0085     commands/SetKeySignatureCommand.cpp
0086     commands/RemoveBarCommand.cpp
0087     commands/MakeRestCommand.cpp
0088     commands/ToggleTiedNoteCommand.cpp
0089 
0090     ${musiccore_SRCS}
0091 )
0092 
0093 ki18n_wrap_ui(musicshape_LIB_SRCS
0094     dialogs/PartsWidget.ui
0095     dialogs/PartDetailsDialog.ui
0096     dialogs/SimpleEntryWidget.ui
0097     dialogs/KeySignatureDialog.ui
0098 )
0099 
0100 add_library(calligra_shape_music MODULE ${musicshape_LIB_SRCS})
0101 calligra_shape_desktop_to_json(calligra_shape_music calligra_shape_music.desktop)
0102 
0103 target_link_libraries(calligra_shape_music flake kowidgets KF5::I18n Qt5::Svg)
0104 install(TARGETS calligra_shape_music DESTINATION ${PLUGIN_INSTALL_DIR}/calligra/shapes)