|
1 | 1 | include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${PROJECT_SOURCE_DIR}/src ${PROJECT_SOURCE_DIR}/src/contrib/SimpleLogger/src) |
2 | 2 | set(NAME application_service_test) |
3 | 3 | set(SRC |
4 | | - ${NAME}.cpp |
5 | | - ${NAME}.hpp |
6 | | - ../../application/command/automation_command.cpp |
7 | | - ../../application/command/composite_command.cpp |
8 | | - ../../application/command/note_edit_command.cpp |
9 | | - ../../application/command/undo_stack.cpp |
10 | | - ../../application/instrument_request.cpp |
11 | | - ../../application/note_converter.cpp |
12 | | - ../../application/position.hpp |
13 | | - ../../application/service/application_service.cpp |
14 | | - ../../application/service/audio_service.cpp |
15 | | - ../../application/service/audio_worker.cpp |
16 | | - ../../application/service/automation_service.cpp |
17 | | - ../../application/service/copy_manager.cpp |
18 | | - ../../application/service/device_service.cpp |
19 | | - ../../application/service/editor_service.cpp |
20 | | - ../../application/service/jack_service.cpp |
21 | | - ../../application/service/keyboard_service.cpp |
22 | | - ../../application/service/midi_service.cpp |
23 | | - ../../application/service/midi_worker.cpp |
24 | | - ../../application/service/midi_worker_in.cpp |
25 | | - ../../application/service/midi_worker_out.cpp |
26 | | - ../../application/service/mixer_service.cpp |
27 | | - ../../application/service/player_service.cpp |
28 | | - ../../application/service/player_worker.cpp |
29 | | - ../../application/service/property_service.cpp |
30 | | - ../../application/service/random_service.cpp |
31 | | - ../../application/service/recent_files_manager.cpp |
32 | | - ../../application/service/selection_service.cpp |
33 | | - ../../application/service/settings_service.cpp |
34 | | - ../../application/service/side_chain_service.cpp |
35 | | - ../../application/state_machine.cpp |
36 | | - ../../common/constants.cpp |
37 | | - ../../common/parameter_mapper.cpp |
38 | | - ../../common/utils.cpp |
39 | | - ../../common/waveform_generator.cpp |
40 | | - ../../domain/devices/bass_synth_device.cpp |
41 | | - ../../domain/devices/device.cpp |
42 | | - ../../domain/devices/device_factory.cpp |
43 | | - ../../domain/devices/drum_synth_constants.cpp |
44 | | - ../../domain/devices/drum_synth_device.cpp |
45 | | - ../../domain/devices/sampler_device.cpp |
46 | | - ../../domain/devices/synth_device.cpp |
47 | | - ../../domain/devices/synth_presets.cpp |
48 | | - ../../domain/devices/wavetable_synth_device.cpp |
49 | | - ../../domain/dsp/adsr_envelope.cpp |
50 | | - ../../domain/dsp/cascaded_svf.cpp |
51 | | - ../../domain/dsp/dc_blocker.cpp |
52 | | - ../../domain/dsp/diode_ladder_filter.cpp |
53 | | - ../../domain/dsp/drum/clap_engine.cpp |
54 | | - ../../domain/dsp/drum/crash_engine.cpp |
55 | | - ../../domain/dsp/drum/hihat_engine.cpp |
56 | | - ../../domain/dsp/drum/kick_engine.cpp |
57 | | - ../../domain/dsp/drum/ride_engine.cpp |
58 | | - ../../domain/dsp/drum/snare_engine.cpp |
59 | | - ../../domain/dsp/drum/tom_engine.cpp |
60 | | - ../../domain/dsp/dsp_component.cpp |
61 | | - ../../domain/dsp/high_pass_filter.cpp |
62 | | - ../../domain/dsp/lfo.cpp |
63 | | - ../../domain/dsp/lfo.cpp |
64 | | - ../../domain/dsp/low_pass_filter.cpp |
65 | | - ../../domain/dsp/multi_engine.cpp |
66 | | - ../../domain/dsp/oversampler.cpp |
67 | | - ../../domain/dsp/panning.cpp |
68 | | - ../../domain/dsp/poly_blep_oscillator.cpp |
69 | | - ../../domain/dsp/svf_filter.cpp |
70 | | - ../../domain/dsp/true_stereo_panner.cpp |
71 | | - ../../domain/dsp/volume.cpp |
72 | | - ../../domain/dsp/wavetable.cpp |
73 | | - ../../domain/dsp/wavetable_oscillator.cpp |
74 | | - ../../domain/effects/all_pass_filter.cpp |
75 | | - ../../domain/effects/auto_panner.cpp |
76 | | - ../../domain/effects/chorus.cpp |
77 | | - ../../domain/effects/clipper.cpp |
78 | | - ../../domain/effects/compressor.cpp |
79 | | - ../../domain/effects/delay.cpp |
80 | | - ../../domain/effects/effect.cpp |
81 | | - ../../domain/effects/effect_factory.cpp |
82 | | - ../../domain/effects/effect_rack.cpp |
83 | | - ../../domain/effects/eq_8_band_parametric.cpp |
84 | | - ../../domain/effects/panner.cpp |
85 | | - ../../domain/effects/reverb.cpp |
86 | | - ../../domain/effects/saturator.cpp |
87 | | - ../../domain/midi/midi_address.cpp |
88 | | - ../../domain/midi/midi_cc_automation.cpp |
89 | | - ../../domain/midi/midi_cc_data.cpp |
90 | | - ../../domain/midi/midi_cc_setting.cpp |
91 | | - ../../domain/midi/midi_note_data.cpp |
92 | | - ../../domain/midi/pitch_bend_automation.cpp |
93 | | - ../../domain/midi/pitch_bend_data.cpp |
94 | | - ../../domain/tracker/arpeggiator.cpp |
95 | | - ../../domain/tracker/automation.cpp |
96 | | - ../../domain/tracker/automation_location.cpp |
97 | | - ../../domain/tracker/column.cpp |
98 | | - ../../domain/tracker/column_settings.cpp |
99 | | - ../../domain/tracker/event.cpp |
100 | | - ../../domain/tracker/event_data.cpp |
101 | | - ../../domain/tracker/instrument.cpp |
102 | | - ../../domain/tracker/instrument_settings.cpp |
103 | | - ../../domain/tracker/interpolator.cpp |
104 | | - ../../domain/tracker/line.cpp |
105 | | - ../../domain/tracker/line_event.cpp |
106 | | - ../../domain/tracker/mixer_unit.cpp |
107 | | - ../../domain/tracker/note_data.cpp |
108 | | - ../../domain/tracker/note_data_manipulator.cpp |
109 | | - ../../domain/tracker/parameter.cpp |
110 | | - ../../domain/tracker/parameter_container.cpp |
111 | | - ../../domain/tracker/pattern.cpp |
112 | | - ../../domain/tracker/play_order.cpp |
113 | | - ../../domain/tracker/song.cpp |
114 | | - ../../domain/tracker/track.cpp |
115 | | - ../../domain/utility/dbtp_meter.cpp |
116 | | - ../../domain/utility/lufs_meter.cpp |
117 | | - ../../domain/utility/rta.cpp |
118 | | - ../../infra/audio/audio_engine.cpp |
119 | | - ../../infra/audio/audio_file_recorder.cpp |
120 | | - ../../infra/audio/audio_file_streamer.cpp |
121 | | - ../../infra/audio/audio_player.cpp |
122 | | - ../../infra/audio/audio_recorder.cpp |
123 | | - ../../infra/audio/backend/sndfile_reader.cpp |
124 | | - ../../infra/audio/implementation/jack/audio_player_jack.cpp |
125 | | - ../../infra/audio/implementation/jack/audio_recorder_jack.cpp |
126 | | - ../../infra/audio/implementation/librtaudio/audio_player_rt_audio.cpp |
127 | | - ../../infra/audio/implementation/librtaudio/audio_recorder_rt_audio.cpp |
128 | | - ../../infra/audio/real_time_worker_pool.cpp |
129 | | - ../../infra/data_service.cpp |
130 | | - ../../infra/midi/implementation/librtmidi/midi_in_rt_midi.cpp |
131 | | - ../../infra/midi/implementation/librtmidi/midi_out_rt_midi.cpp |
132 | | - ../../infra/midi/midi_backend.cpp |
133 | | - ../../infra/midi/midi_backend_in.cpp |
134 | | - ../../infra/midi/midi_backend_out.cpp |
135 | | - ../../infra/midi/midi_cc_mapping.cpp |
136 | | - ../../infra/midi/midi_port.cpp |
137 | | - ../../infra/settings.cpp |
138 | | - ../../infra/xml/nahd_xml_reader.cpp |
139 | | - ../../infra/xml/nahd_xml_writer.cpp |
140 | | - ../../view/controllers/device_controller.cpp |
141 | | - ../../view/controllers/drum_synth_controller.cpp |
142 | | -) |
| 4 | +${NAME}.cpp |
| 5 | + ${NAME}.hpp) |
143 | 6 | qt_add_executable(${NAME} ${SRC}) |
144 | 7 | set_target_properties(${NAME} PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${UNIT_TEST_BASE_DIR}) |
145 | 8 | add_test(${NAME} ${UNIT_TEST_BASE_DIR}/${NAME}) |
146 | | -target_link_libraries(${NAME} PRIVATE Qt${QT_VERSION_MAJOR}::Test Qt${QT_VERSION_MAJOR}::Gui PkgConfig::RTMIDI SimpleLogger PkgConfig::JACK PkgConfig::SNDFILE PkgConfig::RTAUDIO) |
| 9 | +target_link_libraries(${NAME} PRIVATE ApplicationLib Argengine_static CommonLib DomainLib InfraLib SimpleLogger_static ViewLib Qt${QT_VERSION_MAJOR}::Test Qt${QT_VERSION_MAJOR}::Gui PkgConfig::RTMIDI SimpleLogger_static PkgConfig::JACK PkgConfig::SNDFILE PkgConfig::RTAUDIO) |
147 | 10 | if(JACK_FOUND) |
148 | 11 | target_compile_definitions(${NAME} PRIVATE HAVE_JACK) |
149 | 12 | endif() |
0 commit comments