-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathGlobal-DynamicLibraryModule.cmake
81 lines (60 loc) · 1.58 KB
/
Global-DynamicLibraryModule.cmake
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
## Copyright (c) 2018 Advanced Micro Devices, Inc. All rights reserved.
cmake_minimum_required(VERSION 3.5.1)
## Define Dynamic library module directory
set(DYNAMIC_LIBRARY_MODULE ${COMMON_DIR}/Src/DynamicLibraryModule)
## Include directory
set(ADDITIONAL_INCLUDE_DIRECTORIES ${ADDITIONAL_INCLUDE_DIRECTORIES}
${DYNAMIC_LIBRARY_MODULE})
set(DLM_HEADERS
DynamicLibraryModule.h)
set(DLM_SRC
DynamicLibraryModule.cpp)
## ACL Module
set(DLM_ACL_MODULE_HEADERS
ACLModule.h)
set(DLM_ACL_MODULE_SRC
ACLModule.cpp)
## CAL Module
set(DLM_CAL_MODULE_HEADERS
CALModule.h)
set(DLM_CAL_MODULE_SRC
CALModule.cpp)
## DXX Module
set(DLM_DXX_MODULE_HEADERS
DXXModule.h)
set(DLM_DXX_MODULE_SRC
DXXModule.cpp)
## Define HSA autogenerated headers
set(DLM_HSA_AUTO_HEADERS
HSADebuggerRTModuleDecls.h
HSADebuggerRTModuleFuncTables.h
HSARTModuleDecls.h
HSARTModuleFuncTables.h
HSAToolsRTModuleDecls.h
HSAToolsRTModuleFuncTables.h
ROCProfilerModuleDecls.h
ROCProfilerModuleFuncTables.h)
## HSA Module
set(DLM_HSA_MODULE_HEADERS
HSADebuggerRTModule.h
HSAModule.h
HSAToolsRTModule.h)
set(DLM_HSA_MODULE_SRC
HSADebuggerRTModule.cpp
HSAModule.cpp
HSAToolsRTModule.cpp)
## OpenGL Module
set(DLM_OPEN_GL_HEADERS
OpenGLModule.h)
set(DLM_OPEN_GL_SRC
OpenGLModule.cpp)
## OpenCL Module
set(DLM_OPEN_CL_HEADERS
OpenCLModule.h)
set(DLM_OPEN_CL_SRC
OpenCLModule.cpp)
## ROCProfiler Module
set(DLM_ROC_PROFILER_HEADERS
ROCProfilerModule.h)
set(DLM_ROC_PROFILER_SRC
ROCProfilerModule.cpp)