/usr/include/OpenMS/VISUAL/VISUALIZER/sources.cmake is in libopenms-dev 1.11.1-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 | ### the directory name
set(directory include/OpenMS/VISUAL/VISUALIZER)
### list all MOC filenames of the directory here
set(sources_list
AcquisitionInfoVisualizer.h
AcquisitionVisualizer.h
BaseVisualizerGUI.h
ContactPersonVisualizer.h
DataProcessingVisualizer.h
DigestionVisualizer.h
DocumentIdentifierVisualizer.h
ExperimentalSettingsVisualizer.h
GradientVisualizer.h
HPLCVisualizer.h
InstrumentSettingsVisualizer.h
InstrumentVisualizer.h
IonDetectorVisualizer.h
IonSourceVisualizer.h
MassAnalyzerVisualizer.h
MetaInfoDescriptionVisualizer.h
MetaInfoVisualizer.h
ModificationVisualizer.h
PeptideHitVisualizer.h
PeptideIdentificationVisualizer.h
PrecursorVisualizer.h
ProteinHitVisualizer.h
ProteinIdentificationVisualizer.h
SampleVisualizer.h
ScanWindowVisualizer.h
SoftwareVisualizer.h
SourceFileVisualizer.h
SpectrumSettingsVisualizer.h
TaggingVisualizer.h
ProductVisualizer.h
)
### add path to the filenames
set(sources)
foreach(i ${sources_list})
list(APPEND sources ${directory}/${i})
endforeach(i)
### Apply MOC compiler
QT4_WRAP_CPP(mocced_sources ${sources})
### pass source file list to the upper instance
set(OpenMSVisual_sources ${OpenMSVisual_sources} ${mocced_sources})
source_group("Source Files\\OpenMS\\VISUAL\\VISUALIZER" FILES ${mocced_sources})
### list all header files of the directory here
set(sources_list_h
AcquisitionInfoVisualizer.h
AcquisitionVisualizer.h
BaseVisualizer.h
BaseVisualizerGUI.h
ContactPersonVisualizer.h
DataProcessingVisualizer.h
DigestionVisualizer.h
DocumentIdentifierVisualizer.h
ExperimentalSettingsVisualizer.h
GradientVisualizer.h
HPLCVisualizer.h
InstrumentSettingsVisualizer.h
InstrumentVisualizer.h
IonDetectorVisualizer.h
IonSourceVisualizer.h
MassAnalyzerVisualizer.h
MetaInfoDescriptionVisualizer.h
MetaInfoVisualizer.h
ModificationVisualizer.h
PeptideHitVisualizer.h
PeptideIdentificationVisualizer.h
PrecursorVisualizer.h
ProteinHitVisualizer.h
ProteinIdentificationVisualizer.h
SampleVisualizer.h
ScanWindowVisualizer.h
SoftwareVisualizer.h
SourceFileVisualizer.h
SpectrumSettingsVisualizer.h
TaggingVisualizer.h
ProductVisualizer.h
)
### add path to the filenames
set(sources_h)
foreach(i ${sources_list_h})
list(APPEND sources_h ${directory}/${i})
endforeach(i)
### source group definition
source_group("Header Files\\OpenMS\\VISUAL\\VISUALIZER" FILES ${sources_h})
set(OpenMSVisual_sources_h ${OpenMSVisual_sources_h} ${sources_h})
|