~s-cecilio/lomse/master

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
#-------------------------------------------------------------------------------------
# This is part of CMake configuration file for building makefiles and installfiles
# for the Lomse library
#-------------------------------------------------------------------------------------
# This moule is for defining the source files to compile for building the library
#
#-------------------------------------------------------------------------------------


# source files to compile

set(AGG_FILES
    ${LOMSE_SRC_DIR}/agg/src/agg_arc.cpp
    ${LOMSE_SRC_DIR}/agg/src/agg_bezier_arc.cpp
    ${LOMSE_SRC_DIR}/agg/src/agg_curves.cpp
    ${LOMSE_SRC_DIR}/agg/src/agg_gsv_text.cpp
    ${LOMSE_SRC_DIR}/agg/src/agg_line_aa_basics.cpp
    ${LOMSE_SRC_DIR}/agg/src/agg_rounded_rect.cpp
    ${LOMSE_SRC_DIR}/agg/src/agg_trans_affine.cpp
    ${LOMSE_SRC_DIR}/agg/src/agg_vcgen_contour.cpp
    ${LOMSE_SRC_DIR}/agg/src/agg_vcgen_markers_term.cpp
    ${LOMSE_SRC_DIR}/agg/src/agg_vcgen_stroke.cpp
)

set(DOCUMENT_FILES
    ${LOMSE_SRC_DIR}/document/lomse_command.cpp
    ${LOMSE_SRC_DIR}/document/lomse_document.cpp
    ${LOMSE_SRC_DIR}/document/lomse_document_cursor.cpp
    ${LOMSE_SRC_DIR}/document/lomse_document_iterator.cpp
    ${LOMSE_SRC_DIR}/document/lomse_id_assigner.cpp
)

set(EXPORTERS_FILES
    ${LOMSE_SRC_DIR}/exporters/lomse_ldp_exporter.cpp
    ${LOMSE_SRC_DIR}/exporters/lomse_lmd_exporter.cpp
)

set(FILE_SYSTEM_FILES
    ${LOMSE_SRC_DIR}/file_system/lomse_file_system.cpp
    ${LOMSE_SRC_DIR}/file_system/lomse_image_reader.cpp
    ${LOMSE_SRC_DIR}/file_system/lomse_zip_stream.cpp
)

set(GRAPHIC_MODEL_FILES
    ${LOMSE_SRC_DIR}/graphic_model/lomse_box_score_page.cpp
    ${LOMSE_SRC_DIR}/graphic_model/lomse_box_slice.cpp
    ${LOMSE_SRC_DIR}/graphic_model/lomse_box_slice_instr.cpp
    ${LOMSE_SRC_DIR}/graphic_model/lomse_box_system.cpp
    ${LOMSE_SRC_DIR}/graphic_model/lomse_caret.cpp
    ${LOMSE_SRC_DIR}/graphic_model/lomse_caret_positioner.cpp
    ${LOMSE_SRC_DIR}/graphic_model/lomse_glyphs.cpp
    ${LOMSE_SRC_DIR}/graphic_model/lomse_gm_basic.cpp
    ${LOMSE_SRC_DIR}/graphic_model/lomse_graphical_model.cpp
    ${LOMSE_SRC_DIR}/graphic_model/lomse_handler.cpp
    ${LOMSE_SRC_DIR}/graphic_model/lomse_overlays_generator.cpp
    ${LOMSE_SRC_DIR}/graphic_model/lomse_selections.cpp
    ${LOMSE_SRC_DIR}/graphic_model/lomse_shape_barline.cpp
    ${LOMSE_SRC_DIR}/graphic_model/lomse_shape_base.cpp
    ${LOMSE_SRC_DIR}/graphic_model/lomse_shape_beam.cpp
    ${LOMSE_SRC_DIR}/graphic_model/lomse_shape_brace_bracket.cpp
    ${LOMSE_SRC_DIR}/graphic_model/lomse_shape_line.cpp
    ${LOMSE_SRC_DIR}/graphic_model/lomse_shape_note.cpp
    ${LOMSE_SRC_DIR}/graphic_model/lomse_shape_staff.cpp
    ${LOMSE_SRC_DIR}/graphic_model/lomse_shape_text.cpp
    ${LOMSE_SRC_DIR}/graphic_model/lomse_shape_tie.cpp
    ${LOMSE_SRC_DIR}/graphic_model/lomse_shape_tuplet.cpp
    ${LOMSE_SRC_DIR}/graphic_model/lomse_shapes.cpp
    ${LOMSE_SRC_DIR}/graphic_model/lomse_shapes_storage.cpp
    ${LOMSE_SRC_DIR}/graphic_model/lomse_sizers.cpp
    ${LOMSE_SRC_DIR}/graphic_model/lomse_time_grid.cpp
    ${LOMSE_SRC_DIR}/graphic_model/lomse_visual_effect.cpp
    
    ${LOMSE_SRC_DIR}/graphic_model/engravers/lomse_accidentals_engraver.cpp
    ${LOMSE_SRC_DIR}/graphic_model/engravers/lomse_beam_engraver.cpp
    ${LOMSE_SRC_DIR}/graphic_model/engravers/lomse_barline_engraver.cpp
    ${LOMSE_SRC_DIR}/graphic_model/engravers/lomse_chord_engraver.cpp
    ${LOMSE_SRC_DIR}/graphic_model/engravers/lomse_clef_engraver.cpp
    ${LOMSE_SRC_DIR}/graphic_model/engravers/lomse_engraver.cpp
    ${LOMSE_SRC_DIR}/graphic_model/engravers/lomse_engrouters.cpp
    ${LOMSE_SRC_DIR}/graphic_model/engravers/lomse_fermata_engraver.cpp
    ${LOMSE_SRC_DIR}/graphic_model/engravers/lomse_instrument_engraver.cpp
    ${LOMSE_SRC_DIR}/graphic_model/engravers/lomse_key_engraver.cpp
    ${LOMSE_SRC_DIR}/graphic_model/engravers/lomse_line_engraver.cpp
    ${LOMSE_SRC_DIR}/graphic_model/engravers/lomse_metronome_engraver.cpp
    ${LOMSE_SRC_DIR}/graphic_model/engravers/lomse_note_engraver.cpp
    ${LOMSE_SRC_DIR}/graphic_model/engravers/lomse_rest_engraver.cpp
    ${LOMSE_SRC_DIR}/graphic_model/engravers/lomse_slur_engraver.cpp
    ${LOMSE_SRC_DIR}/graphic_model/engravers/lomse_text_engraver.cpp
    ${LOMSE_SRC_DIR}/graphic_model/engravers/lomse_tie_engraver.cpp
    ${LOMSE_SRC_DIR}/graphic_model/engravers/lomse_time_engraver.cpp
    ${LOMSE_SRC_DIR}/graphic_model/engravers/lomse_tuplet_engraver.cpp

    ${LOMSE_SRC_DIR}/graphic_model/layouters/lomse_blocks_container_layouter.cpp
    ${LOMSE_SRC_DIR}/graphic_model/layouters/lomse_document_layouter.cpp
    ${LOMSE_SRC_DIR}/graphic_model/layouters/lomse_inlines_container_layouter.cpp
    ${LOMSE_SRC_DIR}/graphic_model/layouters/lomse_layouter.cpp
    ${LOMSE_SRC_DIR}/graphic_model/layouters/lomse_score_layouter.cpp
    ${LOMSE_SRC_DIR}/graphic_model/layouters/lomse_score_meter.cpp
    ${LOMSE_SRC_DIR}/graphic_model/layouters/lomse_staffobjs_cursor.cpp
    ${LOMSE_SRC_DIR}/graphic_model/layouters/lomse_system_layouter.cpp
    ${LOMSE_SRC_DIR}/graphic_model/layouters/lomse_table_layouter.cpp
    ${LOMSE_SRC_DIR}/graphic_model/layouters/lomse_text_splitter.cpp
)

set(GUI_CONTROLS_FILES
    ${LOMSE_SRC_DIR}/gui_controls/lomse_button_ctrl.cpp
    ${LOMSE_SRC_DIR}/gui_controls/lomse_checkbox_ctrl.cpp
    ${LOMSE_SRC_DIR}/gui_controls/lomse_hyperlink_ctrl.cpp
    ${LOMSE_SRC_DIR}/gui_controls/lomse_score_player_ctrl.cpp
    ${LOMSE_SRC_DIR}/gui_controls/lomse_static_text_ctrl.cpp
    ${LOMSE_SRC_DIR}/gui_controls/lomse_progress_bar_ctrl.cpp
)

set(INTERNAL_MODEL_FILES
    ${LOMSE_SRC_DIR}/internal_model/lomse_im_algorithms.cpp
    ${LOMSE_SRC_DIR}/internal_model/lomse_im_attributes.cpp
    ${LOMSE_SRC_DIR}/internal_model/lomse_im_factory.cpp
    ${LOMSE_SRC_DIR}/internal_model/lomse_im_figured_bass.cpp
    ${LOMSE_SRC_DIR}/internal_model/lomse_im_note.cpp
    ${LOMSE_SRC_DIR}/internal_model/lomse_internal_model.cpp
    ${LOMSE_SRC_DIR}/internal_model/lomse_score_utilities.cpp
)

set(MODULE_FILES
    ${LOMSE_SRC_DIR}/module/lomse_doorway.cpp
    ${LOMSE_SRC_DIR}/module/lomse_events.cpp
    ${LOMSE_SRC_DIR}/module/lomse_events_dispatcher.cpp
    ${LOMSE_SRC_DIR}/module/lomse_image.cpp
    ${LOMSE_SRC_DIR}/module/lomse_injectors.cpp
    ${LOMSE_SRC_DIR}/module/lomse_logger.cpp
    ${LOMSE_SRC_DIR}/module/lomse_pitch.cpp
    ${LOMSE_SRC_DIR}/module/lomse_time.cpp
)

set(MVC_FILES
    ${LOMSE_SRC_DIR}/mvc/lomse_graphic_view.cpp
    ${LOMSE_SRC_DIR}/mvc/lomse_interactor.cpp
    ${LOMSE_SRC_DIR}/mvc/lomse_presenter.cpp 
    ${LOMSE_SRC_DIR}/mvc/lomse_tasks.cpp
    ${LOMSE_SRC_DIR}/mvc/lomse_view.cpp
)

set(PARSER_FILES
    ${LOMSE_SRC_DIR}/parser/lomse_analyser.cpp
    ${LOMSE_SRC_DIR}/parser/lomse_compiler.cpp
    ${LOMSE_SRC_DIR}/parser/lomse_ldp_elements.cpp
    ${LOMSE_SRC_DIR}/parser/lomse_ldp_factory.cpp
    ${LOMSE_SRC_DIR}/parser/lomse_linker.cpp
    ${LOMSE_SRC_DIR}/parser/lomse_model_builder.cpp
    ${LOMSE_SRC_DIR}/parser/lomse_reader.cpp
    ${LOMSE_SRC_DIR}/parser/lomse_staffobjs_table.cpp
    ${LOMSE_SRC_DIR}/parser/lomse_tokenizer.cpp
    ${LOMSE_SRC_DIR}/parser/lomse_xml_parser.cpp

    ${LOMSE_SRC_DIR}/parser/ldp/lomse_ldp_analyser.cpp
    ${LOMSE_SRC_DIR}/parser/ldp/lomse_ldp_compiler.cpp
    ${LOMSE_SRC_DIR}/parser/ldp/lomse_ldp_parser.cpp

    ${LOMSE_SRC_DIR}/parser/lmd/lomse_lmd_analyser.cpp
    ${LOMSE_SRC_DIR}/parser/lmd/lomse_lmd_compiler.cpp

    ${LOMSE_SRC_DIR}/parser/mxl/lomse_mxl_analyser.cpp
    ${LOMSE_SRC_DIR}/parser/mxl/lomse_mxl_compiler.cpp
)

set(RENDER_FILES
    ${LOMSE_SRC_DIR}/render/lomse_calligrapher.cpp
    ${LOMSE_SRC_DIR}/render/lomse_font_freetype.cpp
    ${LOMSE_SRC_DIR}/render/lomse_font_storage.cpp
    ${LOMSE_SRC_DIR}/render/lomse_renderer.cpp
    ${LOMSE_SRC_DIR}/render/lomse_screen_drawer.cpp
)

set(SCORE_FILES
    ${LOMSE_SRC_DIR}/score/lomse_score_iterator.cpp
)

set(SOUND_FILES
    ${LOMSE_SRC_DIR}/sound/lomse_midi_table.cpp
    ${LOMSE_SRC_DIR}/sound/lomse_score_player.cpp
)

set(LOMSE_PACKAGES_FILES
    ${LOMSE_PKG_DIR}/minizip/unzip.c
    ${LOMSE_PKG_DIR}/minizip/ioapi.c
)

if(WIN32)
    set(PLATFORM_FILES
        ${LOMSE_SRC_DIR}/agg/src/platform/win32/agg_win32_bmp.cpp
    )
elseif(UNIX)
    set(PLATFORM_FILES
        
    )
endif()

set(ALL_LOMSE_SOURCES 
    ${AGG_FILES} ${DOCUMENT_FILES} ${EXPORTERS_FILES} ${FILE_SYSTEM_FILES}
    ${GRAPHIC_MODEL_FILES} ${GUI_CONTROLS_FILES} ${INTERNAL_MODEL_FILES} 
    ${MODULE_FILES} ${MVC_FILES}
    ${PARSER_FILES} ${RENDER_FILES} ${SCORE_FILES} 
    ${SOUND_FILES} ${PLATFORM_FILES} ${LOMSE_PACKAGES_FILES}
)