cmake_minimum_required(VERSION 3.10)
find_package(LLVM 8 REQUIRED CONFIG)
list(APPEND CMAKE_MODULE_PATH “${LLVM_CMAKE_DIR}”)
Copyright By PowCoder代写 加微信 powcoder
include(HandleLLVMOptions)
include(AddLLVM)
message(STATUS “Found LLVM ${LLVM_PACKAGE_VERSION}”)
add_definitions(${LLVM_DEFINITIONS})
include_directories(${LLVM_INCLUDE_DIRS} include)
link_directories(${LLVM_LIBRARY_DIRS})
add_llvm_library(PrereqPass MODULE
src/Prereqs.cpp
程序代写 CS代考 加微信: powcoder QQ: 1823890830 Email: powcoder@163.com