forked from KhronosGroup/SPIRV-LLVM-Translator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
52 lines (51 loc) · 1.13 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
add_llvm_library(LLVMSPIRVLib
LLVMToSPIRVDbgTran.cpp
Mangler/FunctionDescriptor.cpp
Mangler/Mangler.cpp
Mangler/ManglingUtils.cpp
Mangler/ParameterType.cpp
OCL20To12.cpp
OCL20ToSPIRV.cpp
OCL21ToSPIRV.cpp
OCLTypeToSPIRV.cpp
OCLUtil.cpp
SPIRVLowerBool.cpp
SPIRVLowerConstExpr.cpp
SPIRVLowerMemmove.cpp
SPIRVLowerOCLBlocks.cpp
SPIRVLowerSPIRBlocks.cpp
SPIRVReader.cpp
SPIRVRegularizeLLVM.cpp
SPIRVToLLVMDbgTran.cpp
SPIRVToOCL20.cpp
SPIRVUtil.cpp
SPIRVWriter.cpp
SPIRVWriterPass.cpp
TransOCLMD.cpp
libSPIRV/SPIRVBasicBlock.cpp
libSPIRV/SPIRVDebug.cpp
libSPIRV/SPIRVDecorate.cpp
libSPIRV/SPIRVEntry.cpp
libSPIRV/SPIRVFunction.cpp
libSPIRV/SPIRVInstruction.cpp
libSPIRV/SPIRVModule.cpp
libSPIRV/SPIRVStream.cpp
libSPIRV/SPIRVType.cpp
libSPIRV/SPIRVValue.cpp
LINK_COMPONENTS
Analysis
BitWriter
Core
Support
TransformUtils
DEPENDS
intrinsics_gen
)
target_include_directories(LLVMSPIRVLib
PRIVATE
${LLVM_INCLUDE_DIRS}
${LLVM_SPIRV_INCLUDE_DIRS}
${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/libSPIRV
${CMAKE_CURRENT_SOURCE_DIR}/Mangler
)