aboutsummaryrefslogblamecommitdiffstats
path: root/lib/Driver/CMakeLists.txt
blob: ff67c282f47e351d4de3cba7e6e19ca17486b6cb (plain) (tree)
1
2
3
4
5
6
7
8
9
10

                                                       

                                                 
                         
                    



                               
                 


           
           
             
           
            

                   


                                                 
set(LLVM_TARGET_DEFINITIONS DarwinLdOptions.td)
tablegen(LLVM DarwinLdOptions.inc -gen-opt-parser-defs)
add_public_tablegen_target(DriverOptionsTableGen)

add_lld_library(lldDriver
  DarwinLdDriver.cpp

  ADDITIONAL_HEADER_DIRS
  ${LLD_INCLUDE_DIR}/lld/Driver

  LINK_COMPONENTS
    Option
    Support

  LINK_LIBS
    lldCommon
    lldCore
    lldMachO
    lldReaderWriter
    lldYAML
  )

add_dependencies(lldDriver DriverOptionsTableGen)