~s-cecilio/lomse/master

« back to all changes in this revision

Viewing changes to add-sources.cmake

  • Committer: Cecilio Salmeron
  • Date: 2015-03-27 14:55:02 UTC
  • Revision ID: git-v1:e0ef8d3fa5833f4dcd4758c3aac3277963d0eda6
uploadĀ missingĀ files

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#-------------------------------------------------------------------------------------
 
2
# This is part of CMake configuration file for building makefiles and installfiles
 
3
# for the Lomse library
 
4
#-------------------------------------------------------------------------------------
 
5
# This moule is for defining the source files to compile for building the library
 
6
#
 
7
#-------------------------------------------------------------------------------------
 
8
 
 
9
 
 
10
# source files to compile
 
11
 
 
12
set(AGG_FILES
 
13
    ${LOMSE_SRC_DIR}/agg/src/agg_arc.cpp
 
14
    ${LOMSE_SRC_DIR}/agg/src/agg_bezier_arc.cpp
 
15
    ${LOMSE_SRC_DIR}/agg/src/agg_curves.cpp
 
16
    ${LOMSE_SRC_DIR}/agg/src/agg_gsv_text.cpp
 
17
    ${LOMSE_SRC_DIR}/agg/src/agg_line_aa_basics.cpp
 
18
    ${LOMSE_SRC_DIR}/agg/src/agg_rounded_rect.cpp
 
19
    ${LOMSE_SRC_DIR}/agg/src/agg_trans_affine.cpp
 
20
    ${LOMSE_SRC_DIR}/agg/src/agg_vcgen_contour.cpp
 
21
    ${LOMSE_SRC_DIR}/agg/src/agg_vcgen_markers_term.cpp
 
22
    ${LOMSE_SRC_DIR}/agg/src/agg_vcgen_stroke.cpp
 
23
)
 
24
 
 
25
set(DOCUMENT_FILES
 
26
    ${LOMSE_SRC_DIR}/document/lomse_command.cpp
 
27
    ${LOMSE_SRC_DIR}/document/lomse_document.cpp
 
28
    ${LOMSE_SRC_DIR}/document/lomse_document_cursor.cpp
 
29
    ${LOMSE_SRC_DIR}/document/lomse_document_iterator.cpp
 
30
    ${LOMSE_SRC_DIR}/document/lomse_id_assigner.cpp
 
31
)
 
32
 
 
33
set(EXPORTERS_FILES
 
34
    ${LOMSE_SRC_DIR}/exporters/lomse_ldp_exporter.cpp
 
35
    ${LOMSE_SRC_DIR}/exporters/lomse_lmd_exporter.cpp
 
36
)
 
37
 
 
38
set(FILE_SYSTEM_FILES
 
39
    ${LOMSE_SRC_DIR}/file_system/lomse_file_system.cpp
 
40
    ${LOMSE_SRC_DIR}/file_system/lomse_image_reader.cpp
 
41
    ${LOMSE_SRC_DIR}/file_system/lomse_zip_stream.cpp
 
42
)
 
43
 
 
44
set(GRAPHIC_MODEL_FILES
 
45
    ${LOMSE_SRC_DIR}/graphic_model/lomse_box_score_page.cpp
 
46
    ${LOMSE_SRC_DIR}/graphic_model/lomse_box_slice.cpp
 
47
    ${LOMSE_SRC_DIR}/graphic_model/lomse_box_slice_instr.cpp
 
48
    ${LOMSE_SRC_DIR}/graphic_model/lomse_box_system.cpp
 
49
    ${LOMSE_SRC_DIR}/graphic_model/lomse_caret.cpp
 
50
    ${LOMSE_SRC_DIR}/graphic_model/lomse_caret_positioner.cpp
 
51
    ${LOMSE_SRC_DIR}/graphic_model/lomse_glyphs.cpp
 
52
    ${LOMSE_SRC_DIR}/graphic_model/lomse_gm_basic.cpp
 
53
    ${LOMSE_SRC_DIR}/graphic_model/lomse_graphical_model.cpp
 
54
    ${LOMSE_SRC_DIR}/graphic_model/lomse_handler.cpp
 
55
    ${LOMSE_SRC_DIR}/graphic_model/lomse_overlays_generator.cpp
 
56
    ${LOMSE_SRC_DIR}/graphic_model/lomse_selections.cpp
 
57
    ${LOMSE_SRC_DIR}/graphic_model/lomse_shape_barline.cpp
 
58
    ${LOMSE_SRC_DIR}/graphic_model/lomse_shape_base.cpp
 
59
    ${LOMSE_SRC_DIR}/graphic_model/lomse_shape_beam.cpp
 
60
    ${LOMSE_SRC_DIR}/graphic_model/lomse_shape_brace_bracket.cpp
 
61
    ${LOMSE_SRC_DIR}/graphic_model/lomse_shape_line.cpp
 
62
    ${LOMSE_SRC_DIR}/graphic_model/lomse_shape_note.cpp
 
63
    ${LOMSE_SRC_DIR}/graphic_model/lomse_shape_staff.cpp
 
64
    ${LOMSE_SRC_DIR}/graphic_model/lomse_shape_text.cpp
 
65
    ${LOMSE_SRC_DIR}/graphic_model/lomse_shape_tie.cpp
 
66
    ${LOMSE_SRC_DIR}/graphic_model/lomse_shape_tuplet.cpp
 
67
    ${LOMSE_SRC_DIR}/graphic_model/lomse_shapes.cpp
 
68
    ${LOMSE_SRC_DIR}/graphic_model/lomse_shapes_storage.cpp
 
69
    ${LOMSE_SRC_DIR}/graphic_model/lomse_sizers.cpp
 
70
    ${LOMSE_SRC_DIR}/graphic_model/lomse_time_grid.cpp
 
71
    ${LOMSE_SRC_DIR}/graphic_model/lomse_visual_effect.cpp
 
72
    
 
73
    ${LOMSE_SRC_DIR}/graphic_model/engravers/lomse_accidentals_engraver.cpp
 
74
    ${LOMSE_SRC_DIR}/graphic_model/engravers/lomse_beam_engraver.cpp
 
75
    ${LOMSE_SRC_DIR}/graphic_model/engravers/lomse_barline_engraver.cpp
 
76
    ${LOMSE_SRC_DIR}/graphic_model/engravers/lomse_chord_engraver.cpp
 
77
    ${LOMSE_SRC_DIR}/graphic_model/engravers/lomse_clef_engraver.cpp
 
78
    ${LOMSE_SRC_DIR}/graphic_model/engravers/lomse_engraver.cpp
 
79
    ${LOMSE_SRC_DIR}/graphic_model/engravers/lomse_engrouters.cpp
 
80
    ${LOMSE_SRC_DIR}/graphic_model/engravers/lomse_fermata_engraver.cpp
 
81
    ${LOMSE_SRC_DIR}/graphic_model/engravers/lomse_instrument_engraver.cpp
 
82
    ${LOMSE_SRC_DIR}/graphic_model/engravers/lomse_key_engraver.cpp
 
83
    ${LOMSE_SRC_DIR}/graphic_model/engravers/lomse_line_engraver.cpp
 
84
    ${LOMSE_SRC_DIR}/graphic_model/engravers/lomse_metronome_engraver.cpp
 
85
    ${LOMSE_SRC_DIR}/graphic_model/engravers/lomse_note_engraver.cpp
 
86
    ${LOMSE_SRC_DIR}/graphic_model/engravers/lomse_rest_engraver.cpp
 
87
    ${LOMSE_SRC_DIR}/graphic_model/engravers/lomse_slur_engraver.cpp
 
88
    ${LOMSE_SRC_DIR}/graphic_model/engravers/lomse_text_engraver.cpp
 
89
    ${LOMSE_SRC_DIR}/graphic_model/engravers/lomse_tie_engraver.cpp
 
90
    ${LOMSE_SRC_DIR}/graphic_model/engravers/lomse_time_engraver.cpp
 
91
    ${LOMSE_SRC_DIR}/graphic_model/engravers/lomse_tuplet_engraver.cpp
 
92
 
 
93
    ${LOMSE_SRC_DIR}/graphic_model/layouters/lomse_blocks_container_layouter.cpp
 
94
    ${LOMSE_SRC_DIR}/graphic_model/layouters/lomse_document_layouter.cpp
 
95
    ${LOMSE_SRC_DIR}/graphic_model/layouters/lomse_inlines_container_layouter.cpp
 
96
    ${LOMSE_SRC_DIR}/graphic_model/layouters/lomse_layouter.cpp
 
97
    ${LOMSE_SRC_DIR}/graphic_model/layouters/lomse_score_layouter.cpp
 
98
    ${LOMSE_SRC_DIR}/graphic_model/layouters/lomse_score_meter.cpp
 
99
    ${LOMSE_SRC_DIR}/graphic_model/layouters/lomse_staffobjs_cursor.cpp
 
100
    ${LOMSE_SRC_DIR}/graphic_model/layouters/lomse_system_layouter.cpp
 
101
    ${LOMSE_SRC_DIR}/graphic_model/layouters/lomse_table_layouter.cpp
 
102
    ${LOMSE_SRC_DIR}/graphic_model/layouters/lomse_text_splitter.cpp
 
103
)
 
104
 
 
105
set(GUI_CONTROLS_FILES
 
106
    ${LOMSE_SRC_DIR}/gui_controls/lomse_button_ctrl.cpp
 
107
    ${LOMSE_SRC_DIR}/gui_controls/lomse_checkbox_ctrl.cpp
 
108
    ${LOMSE_SRC_DIR}/gui_controls/lomse_hyperlink_ctrl.cpp
 
109
    ${LOMSE_SRC_DIR}/gui_controls/lomse_score_player_ctrl.cpp
 
110
    ${LOMSE_SRC_DIR}/gui_controls/lomse_static_text_ctrl.cpp
 
111
    ${LOMSE_SRC_DIR}/gui_controls/lomse_progress_bar_ctrl.cpp
 
112
)
 
113
 
 
114
set(INTERNAL_MODEL_FILES
 
115
    ${LOMSE_SRC_DIR}/internal_model/lomse_im_algorithms.cpp
 
116
    ${LOMSE_SRC_DIR}/internal_model/lomse_im_attributes.cpp
 
117
    ${LOMSE_SRC_DIR}/internal_model/lomse_im_factory.cpp
 
118
    ${LOMSE_SRC_DIR}/internal_model/lomse_im_figured_bass.cpp
 
119
    ${LOMSE_SRC_DIR}/internal_model/lomse_im_note.cpp
 
120
    ${LOMSE_SRC_DIR}/internal_model/lomse_internal_model.cpp
 
121
    ${LOMSE_SRC_DIR}/internal_model/lomse_score_utilities.cpp
 
122
)
 
123
 
 
124
set(MODULE_FILES
 
125
    ${LOMSE_SRC_DIR}/module/lomse_doorway.cpp
 
126
    ${LOMSE_SRC_DIR}/module/lomse_events.cpp
 
127
    ${LOMSE_SRC_DIR}/module/lomse_events_dispatcher.cpp
 
128
    ${LOMSE_SRC_DIR}/module/lomse_image.cpp
 
129
    ${LOMSE_SRC_DIR}/module/lomse_injectors.cpp
 
130
    ${LOMSE_SRC_DIR}/module/lomse_logger.cpp
 
131
    ${LOMSE_SRC_DIR}/module/lomse_pitch.cpp
 
132
    ${LOMSE_SRC_DIR}/module/lomse_time.cpp
 
133
)
 
134
 
 
135
set(MVC_FILES
 
136
    ${LOMSE_SRC_DIR}/mvc/lomse_graphic_view.cpp
 
137
    ${LOMSE_SRC_DIR}/mvc/lomse_interactor.cpp
 
138
    ${LOMSE_SRC_DIR}/mvc/lomse_presenter.cpp 
 
139
    ${LOMSE_SRC_DIR}/mvc/lomse_tasks.cpp
 
140
    ${LOMSE_SRC_DIR}/mvc/lomse_view.cpp
 
141
)
 
142
 
 
143
set(PARSER_FILES
 
144
    ${LOMSE_SRC_DIR}/parser/lomse_analyser.cpp
 
145
    ${LOMSE_SRC_DIR}/parser/lomse_compiler.cpp
 
146
    ${LOMSE_SRC_DIR}/parser/lomse_ldp_elements.cpp
 
147
    ${LOMSE_SRC_DIR}/parser/lomse_ldp_factory.cpp
 
148
    ${LOMSE_SRC_DIR}/parser/lomse_linker.cpp
 
149
    ${LOMSE_SRC_DIR}/parser/lomse_model_builder.cpp
 
150
    ${LOMSE_SRC_DIR}/parser/lomse_reader.cpp
 
151
    ${LOMSE_SRC_DIR}/parser/lomse_staffobjs_table.cpp
 
152
    ${LOMSE_SRC_DIR}/parser/lomse_tokenizer.cpp
 
153
    ${LOMSE_SRC_DIR}/parser/lomse_xml_parser.cpp
 
154
 
 
155
    ${LOMSE_SRC_DIR}/parser/ldp/lomse_ldp_analyser.cpp
 
156
    ${LOMSE_SRC_DIR}/parser/ldp/lomse_ldp_compiler.cpp
 
157
    ${LOMSE_SRC_DIR}/parser/ldp/lomse_ldp_parser.cpp
 
158
 
 
159
    ${LOMSE_SRC_DIR}/parser/lmd/lomse_lmd_analyser.cpp
 
160
    ${LOMSE_SRC_DIR}/parser/lmd/lomse_lmd_compiler.cpp
 
161
 
 
162
    ${LOMSE_SRC_DIR}/parser/mxl/lomse_mxl_analyser.cpp
 
163
    ${LOMSE_SRC_DIR}/parser/mxl/lomse_mxl_compiler.cpp
 
164
)
 
165
 
 
166
set(RENDER_FILES
 
167
    ${LOMSE_SRC_DIR}/render/lomse_calligrapher.cpp
 
168
    ${LOMSE_SRC_DIR}/render/lomse_font_freetype.cpp
 
169
    ${LOMSE_SRC_DIR}/render/lomse_font_storage.cpp
 
170
    ${LOMSE_SRC_DIR}/render/lomse_renderer.cpp
 
171
    ${LOMSE_SRC_DIR}/render/lomse_screen_drawer.cpp
 
172
)
 
173
 
 
174
set(SCORE_FILES
 
175
    ${LOMSE_SRC_DIR}/score/lomse_score_iterator.cpp
 
176
)
 
177
 
 
178
set(SOUND_FILES
 
179
    ${LOMSE_SRC_DIR}/sound/lomse_midi_table.cpp
 
180
    ${LOMSE_SRC_DIR}/sound/lomse_score_player.cpp
 
181
)
 
182
 
 
183
set(LOMSE_PACKAGES_FILES
 
184
    ${LOMSE_PKG_DIR}/minizip/unzip.c
 
185
    ${LOMSE_PKG_DIR}/minizip/ioapi.c
 
186
)
 
187
 
 
188
if(WIN32)
 
189
    set(PLATFORM_FILES
 
190
        ${LOMSE_SRC_DIR}/agg/src/platform/win32/agg_win32_bmp.cpp
 
191
    )
 
192
elseif(UNIX)
 
193
    set(PLATFORM_FILES
 
194
        
 
195
    )
 
196
endif()
 
197
 
 
198
set(ALL_LOMSE_SOURCES 
 
199
    ${AGG_FILES} ${DOCUMENT_FILES} ${EXPORTERS_FILES} ${FILE_SYSTEM_FILES}
 
200
    ${GRAPHIC_MODEL_FILES} ${GUI_CONTROLS_FILES} ${INTERNAL_MODEL_FILES} 
 
201
    ${MODULE_FILES} ${MVC_FILES}
 
202
    ${PARSER_FILES} ${RENDER_FILES} ${SCORE_FILES} 
 
203
    ${SOUND_FILES} ${PLATFORM_FILES} ${LOMSE_PACKAGES_FILES}
 
204
)
 
205
 
 
206