blob: c54b7fd4009cd2ae850b48a64976e0d19306e22b [file] [log] [blame]
# Rules for building driver utils library
#----------------------------------------------------------------------
set(LLVM_TARGET_DEFINITIONS GollvmOptions.td)
tablegen(LLVM GollvmOptions.inc -gen-opt-parser-defs)
add_public_tablegen_target(GollvmDriverOptions)
# Include directories needed for this lib.
include_directories(${GOFRONTEND_SOURCE_DIR})
include_directories(${BRIDGE_SOURCE_DIR})
# Gofrontend headers use headers from these packages.
include_directories(${EXTINSTALLDIR}/include)
# A library containing driver utility code.
add_llvm_library(LLVMDriverUtils
GollvmOptions.cpp
DEPENDS
GollvmDriverOptions
)