Mercurial > hg > CbC > CbC_llvm
view mlir/tools/mlir-lsp-server/CMakeLists.txt @ 236:c4bab56944e8 llvm-original
LLVM 16
author | kono |
---|---|
date | Wed, 09 Nov 2022 17:45:10 +0900 |
parents | 79ff65ed7e25 |
children |
line wrap: on
line source
set(LLVM_OPTIONAL_SOURCES null.cpp ) get_property(dialect_libs GLOBAL PROPERTY MLIR_DIALECT_LIBS) get_property(conversion_libs GLOBAL PROPERTY MLIR_CONVERSION_LIBS) set(LLVM_LINK_COMPONENTS Core Support AsmParser ) if(MLIR_INCLUDE_TESTS) set(test_libs MLIRAffineTransformsTestPasses MLIRShapeTestPasses MLIRSPIRVTestPasses MLIRTestAnalysis MLIRTestDialect MLIRTestIR MLIRTestPass MLIRTestReducer MLIRTestRewrite MLIRTestTransformDialect MLIRTestTransforms ) endif() set(LIBS ${dialect_libs} ${conversion_libs} ${test_libs} MLIRAffineAnalysis MLIRAnalysis MLIRDialect MLIRLspServerLib MLIRParser MLIRPass MLIRTransforms MLIRTransformUtils MLIRSupport MLIRIR ) add_mlir_tool(mlir-lsp-server mlir-lsp-server.cpp DEPENDS ${LIBS} ) target_link_libraries(mlir-lsp-server PRIVATE ${LIBS}) llvm_update_compile_flags(mlir-lsp-server) mlir_check_all_link_libraries(mlir-lsp-server)