### the directory name
set(directory source/QC)

### list all filenames of the directory here
set(sources_list
  Contaminants.cpp
  FragmentMassError.cpp
  FWHM.cpp
  MissedCleavages.cpp
  Ms2IdentificationRate.cpp
  Ms2SpectrumStats.cpp
  MzCalibration.cpp
  PeptideMass.cpp
  PSMExplainedIonCurrent.cpp
  QCBase.cpp
  RTAlignment.cpp
  SpectrumCount.cpp
  DBSuitability.cpp
  TIC.cpp
)

### add path to the filenames
set(sources)
foreach(i ${sources_list})
  list(APPEND sources ${directory}/${i})
endforeach(i)

### pass source file list to the upper instance
set(OpenMS_sources ${OpenMS_sources} ${sources})

### source group definition
source_group("Source Files\\QC" FILES ${sources})
