1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
|
# --------------------------------------------------------------------------
# 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_Enzyme
Tutorial_EmpiricalFormula
Tutorial_FeatureFinder
Tutorial_FeatureMap
Tutorial_FileIO
Tutorial_FileIO_mzML
Tutorial_FileIO_Consumer
Tutorial_GaussFilter
Tutorial_IdentificationClasses
Tutorial_Labeled
Tutorial_MSChromatogram
Tutorial_MSExperiment
Tutorial_MSSpectrum
Tutorial_MapAlignment
Tutorial_MetaInfo
Tutorial_Param
Tutorial_PeakPickerCWT
Tutorial_Precursor
Tutorial_RangeManager
Tutorial_Residue
Tutorial_ResidueModification
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})
|