Skip to content

Commit

Permalink
List source files in src/common explicitly
Browse files Browse the repository at this point in the history
In order to select an implementation based on platform/cpu/whatnot,
the files inside src/common should be listed explicitly.

Signed-off-by: Jarkko Sakkinen <[email protected]>
  • Loading branch information
jarkkojs committed Jan 16, 2019
1 parent 890dbb5 commit f659cbe
Showing 1 changed file with 69 additions and 10 deletions.
79 changes: 69 additions & 10 deletions premake5.lua
Original file line number Diff line number Diff line change
Expand Up @@ -133,16 +133,75 @@ function plugincommon()
targetprefix ""
targetname "Surge"

files {
"src/common/**.cpp",
"src/common/**.h",
"libs/xml/tinyxml.cpp",
"libs/xml/tinyxmlerror.cpp",
"libs/xml/tinyxmlparser.cpp",
"libs/filesystem/filesystem.cpp",
"src/common/vt_dsp/*.cpp",
"src/common/thread/*.cpp",
}
files {
"src/common/dsp/effect/ConditionerEffect.cpp",
"src/common/dsp/effect/DistortionEffect.cpp",
"src/common/dsp/effect/DualDelayEffect.cpp",
"src/common/dsp/effect/Effect.cpp",
"src/common/dsp/effect/FreqshiftEffect.cpp",
"src/common/dsp/effect/PhaserEffect.cpp",
"src/common/dsp/effect/Reverb1Effect.cpp",
"src/common/dsp/effect/Reverb2Effect.cpp",
"src/common/dsp/effect/RotarySpeakerEffect.cpp",
"src/common/dsp/effect/VocoderEffect.cpp",
"src/common/dsp/AdsrEnvelope.cpp",
"src/common/dsp/BiquadFilter.cpp",
"src/common/dsp/BiquadFilterSSE2.cpp",
"src/common/dsp/DspUtilities.cpp",
"src/common/dsp/FilterCoefficientMaker.cpp",
"src/common/dsp/FMOscillator.cpp",
"src/common/dsp/LfoModulationSource.cpp",
"src/common/dsp/Oscillator.cpp",
"src/common/dsp/QuadFilterChain.cpp",
"src/common/dsp/QuadFilterUnit.cpp",
"src/common/dsp/SampleAndHoldOscillator.cpp",
"src/common/dsp/SurgeSuperOscillator.cpp",
"src/common/dsp/SurgeVoice.cpp",
"src/common/dsp/VectorizedSvfFilter.cpp",
"src/common/dsp/Wavetable.cpp",
"src/common/dsp/WavetableOscillator.cpp",
"src/common/dsp/WindowOscillator.cpp",
"src/common/gui/CAboutBox.cpp",
"src/common/gui/CCursorHidingControl.cpp",
"src/common/gui/CDIBitmap.cpp",
"src/common/gui/CEffectSettings.cpp",
"src/common/gui/CHSwitch2.cpp",
"src/common/gui/CLFOGui.cpp",
"src/common/gui/CModulationSourceButton.cpp",
"src/common/gui/CNumberField.cpp",
"src/common/gui/COscillatorDisplay.cpp",
"src/common/gui/CPatchBrowser.cpp",
"src/common/gui/CScalableBitmap.cpp",
"src/common/gui/CSnapshotMenu.cpp",
"src/common/gui/CSurgeSlider.cpp",
"src/common/gui/CSurgeVuMeter.cpp",
"src/common/gui/CSwitchControl.cpp",
"src/common/gui/PopupEditorDialog.cpp",
"src/common/gui/SurgeBitmaps.cpp",
"src/common/gui/SurgeGUIEditor.cpp",
"src/common/thread/CriticalSection.cpp",
"src/common/util/FpuState.cpp",
"src/common/vt_dsp/basic_dsp.cpp",
"src/common/vt_dsp/halfratefilter.cpp",
"src/common/vt_dsp/lipol.cpp",
"src/common/vt_dsp/macspecific.cpp",
"src/common/AbstractSynthesizer.cpp",
"src/common/CpuArchitecture.cpp",
"src/common/Parameter.cpp",
"src/common/precompiled.cpp",
"src/common/Sample.cpp",
"src/common/SampleLoadRiffWave.cpp",
"src/common/SurgeError.cpp",
"src/common/SurgePatch.cpp",
"src/common/SurgeStorage.cpp",
"src/common/SurgeStorageLoadWavetable.cpp",
"src/common/SurgeSynthesizer.cpp",
"src/common/SurgeSynthesizerIO.cpp",
"libs/xml/tinyxml.cpp",
"libs/xml/tinyxmlerror.cpp",
"libs/xml/tinyxmlparser.cpp",
"libs/filesystem/filesystem.cpp",
}

includedirs {
"src/common",
Expand Down

0 comments on commit f659cbe

Please sign in to comment.