-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
73 lines (62 loc) · 1.57 KB
/
CMakeLists.txt
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
project(org_commontk_xnat)
set(PLUGIN_export_directive "org_commontk_xnat_EXPORT")
find_package(Qt4 4.6.2 COMPONENTS QtScript REQUIRED)
set(PLUGIN_SRCS
ctkActivator.cpp
ctkXnatConnection.cpp
ctkXnatConnectionFactory.cpp
ctkXnatException.cpp
ctkXnatExperiment.cpp
ctkXnatObject.cpp
ctkXnatProject.cpp
ctkXnatReconstruction.cpp
ctkXnatReconstructionFolder.cpp
ctkXnatReconstructionResource.cpp
ctkXnatReconstructionResourceFile.cpp
ctkXnatScan.cpp
ctkXnatScanFolder.cpp
ctkXnatScanResource.cpp
ctkXnatScanResourceFile.cpp
ctkXnatServer.cpp
ctkXnatSettings.cpp
ctkXnatSubject.cpp
)
# Files which should be processed by Qts moc
set(PLUGIN_MOC_SRCS
ctkActivator_p.h
ctkXnatConnection.h
ctkXnatExperiment.h
ctkXnatObject.h
ctkXnatProject.h
ctkXnatReconstruction.h
ctkXnatReconstructionFolder.h
ctkXnatReconstructionResource.h
ctkXnatReconstructionResourceFile.h
ctkXnatScan.h
ctkXnatScanFolder.h
ctkXnatScanResource.h
ctkXnatScanResourceFile.h
ctkXnatServer.h
ctkXnatSubject.h
)
# Qt Designer files which should be processed by Qts uic
set(PLUGIN_UI_FORMS
)
# QRC Files which should be compiled into the plugin
set(PLUGIN_resources
)
#Compute the plugin dependencies
ctkFunctionGetTargetLibraries(PLUGIN_target_libraries)
ctkMacroBuildPlugin(
NAME ${PROJECT_NAME}
EXPORT_DIRECTIVE ${PLUGIN_export_directive}
SRCS ${PLUGIN_SRCS}
MOC_SRCS ${PLUGIN_MOC_SRCS}
UI_FORMS ${PLUGIN_UI_FORMS}
RESOURCES ${PLUGIN_resources}
TARGET_LIBRARIES ${PLUGIN_target_libraries}
)
# Testing
if(BUILD_TESTING)
add_subdirectory(Testing)
endif()