# --------------------------------------------------------------------------
# the directory name
set(directory source/EXAMPLES)

# --------------------------------------------------------------------------
# list all filenames of the directory here
set(executables_list
Tutorial_AASequence
Tutorial_Clustering
Tutorial_ComparatorUtils
Tutorial_DPosition
Tutorial_DRange
Tutorial_Element
Tutorial_EmpiricalFormula
Tutorial_FeatureFinder
Tutorial_FeatureMap
Tutorial_FileIO
Tutorial_FileIO_mzML
Tutorial_FileIO_Consumer
Tutorial_GaussFilter
Tutorial_Labeled
Tutorial_MSExperiment
Tutorial_MSSpectrum
Tutorial_MapAlignment
Tutorial_MetaInfo
Tutorial_Param
Tutorial_PeakPickerCWT
Tutorial_RangeManager
Tutorial_Residue
Tutorial_SavitzkyGolayFilter
Tutorial_TOFCalibration
Tutorial_TheoreticalSpectrumGenerator
Tutorial_MorphologicalFilter
Tutorial_Unlabeled
Tutorial_typeAsString
Tutorial_PeakIntensityPredictor
)

# --------------------------------------------------------------------------
# pass source file list to the upper instance
set(EXAMPLES_executables ${EXAMPLES_executables} ${executables_list})

# --------------------------------------------------------------------------
set(executables_list
Tutorial_GUI_Spectrum1D
Tutorial_GUI_ParamEditor
Tutorial_GUI_ListEditor
)

# pass source file list to the upper instance
set(GUI_EXAMPLES_executables ${GUI_EXAMPLES_executables} ${executables_list})

# --------------------------------------------------------------------------
# add filenames to Visual Studio solution tree
set(sources_VS)
foreach(i ${executables_list})
	list(APPEND sources_VS "${i}.cpp")
endforeach(i)
source_group("EXAMPLES" FILES ${sources_VS})
