1 add_llvm_library(LLVMNVPTXDesc 2 NVPTXMCAsmInfo.cpp 3 NVPTXMCTargetDesc.cpp 4 ) 5 6 add_dependencies(LLVMNVPTXDesc NVPTXCommonTableGen) 7 8 # Hack: we need to include 'main' target directory to grab private headers 9 #include_directories(${CMAKE_CURRENT_SOURCE_DIR}/.. ${CMAKE_CURRENT_BINARY_DIR}/..) 10