Skip to content
Snippets Groups Projects
  • Chris Bieneman's avatar
    [CMake] Cleanup TableGen include flags · 1b5f563a
    Chris Bieneman authored
    It is kinda crazy to have llvm/include and llvm/lib/Target in the include path for every tablegen invocation for every tablegen-like tool.
    
    This patch removes those flags from the tablgen function that is called everywhere by instead creating a variable LLVM_TABLEGEN_FLAGS which is setup in the LLVM source directories.
    
    This removes TableGen.cmake's dependency on LLVM_MAIN_SRC_DIR, and LLVM_MAIN_INCLUDE_DIR.
    
    llvm-svn: 288770
    1b5f563a
CMakeLists.txt 35.73 KiB