CMakeLists.txt 273 Bytes
Newer Older
1
2
3
4
if(WIN32 OR CYGWIN)
  set(LLVM_LINK_COMPONENTS Core Support)
endif()

5
6
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DLLVM_BUILD_DIR=${PROJECT_BINARY_DIR}")

Yifan Zhao's avatar
Yifan Zhao committed
7
add_llvm_library( LLVMDFG2LLVM_OpenCL
8
  MODULE
Yifan Zhao's avatar
Yifan Zhao committed
9
  DFG2LLVM_OpenCL.cpp
10
11
12
13
14

  DEPENDS
  intrinsics_gen
  PLUGIN_TOOL
  opt
kotsifa2's avatar
kotsifa2 committed
15
  )