llvm-project/llvm/lib/Target/NVPTX/MCTargetDesc/CMakeLists.txt

10 lines
293 B
CMake

add_llvm_library(LLVMNVPTXDesc
NVPTXMCAsmInfo.cpp
NVPTXMCTargetDesc.cpp
)
add_dependencies(LLVMNVPTXDesc NVPTXCommonTableGen)
# Hack: we need to include 'main' target directory to grab private headers
#include_directories(${CMAKE_CURRENT_SOURCE_DIR}/.. ${CMAKE_CURRENT_BINARY_DIR}/..)