~ubuntu-branches/ubuntu/wily/openms/wily

« back to all changes in this revision

Viewing changes to include/OpenMS/FORMAT/OPTIONS/sources.cmake

  • Committer: Package Import Robot
  • Author(s): Filippo Rusconi
  • Date: 2013-12-20 11:30:16 UTC
  • mfrom: (5.1.2 sid)
  • Revision ID: package-import@ubuntu.com-20131220113016-wre5g9bteeheq6he
Tags: 1.11.1-3
* remove version number from libbost development package names;
* ensure that AUTHORS is correctly shipped in all packages.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
### the directory name
 
2
set(directory include/OpenMS/FORMAT/OPTIONS)
 
3
 
 
4
### list all MOC filenames of the directory here
 
5
set(sources_list
 
6
)
 
7
 
 
8
### add path to the filenames
 
9
set(sources)
 
10
foreach(i ${sources_list})
 
11
  list(APPEND sources ${directory}/${i})
 
12
endforeach(i)
 
13
 
 
14
### Apply MOC compiler
 
15
QT4_WRAP_CPP(mocced_sources ${sources})
 
16
 
 
17
### pass source file list to the upper instance
 
18
set(OpenMS_sources ${OpenMS_sources} ${mocced_sources})
 
19
 
 
20
source_group("Source Files\\OpenMS\\FORMAT\\OPTIONS" FILES ${mocced_sources})
 
21
 
 
22
### list all header files of the directory here
 
23
set(sources_list_h
 
24
FeatureFileOptions.h
 
25
PeakFileOptions.h
 
26
)
 
27
 
 
28
### add path to the filenames
 
29
set(sources_h)
 
30
foreach(i ${sources_list_h})
 
31
        list(APPEND sources_h ${directory}/${i})
 
32
endforeach(i)
 
33
 
 
34
### source group definition
 
35
source_group("Header Files\\OpenMS\\FORMAT\\OPTIONS" FILES ${sources_h})
 
36
 
 
37
set(OpenMS_sources_h ${OpenMS_sources_h} ${sources_h})
 
38