/usr/include/OpenMS/VISUAL/APPLICATIONS/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 | ### the directory name
set(directory include/OpenMS/VISUAL/APPLICATIONS)
### list all MOC filenames of the directory here
set(sources_list
IDEvaluationBase.h
INIFileEditorWindow.h
TOPPViewBase.h
TOPPASBase.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\\APPLICATIONS" FILES ${mocced_sources})
### list all header files of the directory here
set(sources_list_h
IDEvaluationBase.h
INIFileEditorWindow.h
TOPPViewBase.h
TOPPASBase.h
MISC/QApplicationTOPP.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\\APPLICATIONS" FILES ${sources_h})
set(OpenMSVisual_sources_h ${OpenMSVisual_sources_h} ${sources_h})
|