File: sources.cmake

package info (click to toggle)
openms 1.11.1-5
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 436,688 kB
  • ctags: 150,907
  • sloc: cpp: 387,126; xml: 71,547; python: 7,764; ansic: 2,626; php: 2,499; sql: 737; ruby: 342; sh: 325; makefile: 128
file content (66 lines) | stat: -rw-r--r-- 1,543 bytes parent folder | download
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
### the directory name
set(directory source/VISUAL)

### list all filenames of the directory here
set(sources_list
AxisTickCalculator.C
AxisPainter.C
AxisWidget.C
ColorSelector.C
EnhancedTabBar.C
HistogramWidget.C
LayerData.C
MetaDataBrowser.C
MultiGradient.C
MultiGradientSelector.C
ParamEditor.C
SpectraViewWidget.C
SpectraIdentificationViewWidget.C
Spectrum1DCanvas.C
Spectrum1DWidget.C
Spectrum2DCanvas.C
Spectrum2DWidget.C
Spectrum3DCanvas.C
Spectrum3DOpenGLCanvas.C
Spectrum3DWidget.C
SpectrumCanvas.C
SpectrumWidget.C
ListEditor.C
TOPPASLogWindow.C
TOPPASWidget.C
TOPPASScene.C
TOPPASVertex.C
TOPPASToolVertex.C
TOPPASInputFileListVertex.C
TOPPASOutputFileListVertex.C
TOPPASMergerVertex.C
TOPPASEdge.C
TOPPASTabBar.C
TOPPASTreeView.C
TOPPASResource.C
TOPPASResources.C
TOPPViewBehaviorInterface.C
TOPPViewIdentificationViewBehavior.C
TOPPViewSpectraViewBehavior.C
EnhancedWorkspace.C
EnhancedTabBarWidgetInterface.C
)

### 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(OpenMSVisual_sources ${OpenMSVisual_sources} ${sources})

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


### icons
# add   : icons are added to source/VISUAL/ICONS/resources.qrc
# remove: after removing an icon, you have to rerun 'cmake' to fix the dependencies
QT4_ADD_RESOURCES(qt_resource_file source/VISUAL/ICONS/resources.qrc)
set(OpenMSVisual_sources ${OpenMSVisual_sources} ${qt_resource_file})