mirror of https://github.com/llvm/circt.git
39 lines
823 B
CMake
39 lines
823 B
CMake
##===- CMakeLists.txt - build definitions for Sim -------------*- cmake -*-===//
|
|
##
|
|
## Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
## See https://llvm.org/LICENSE.txt for license information.
|
|
## SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
##
|
|
##===----------------------------------------------------------------------===//
|
|
##
|
|
##
|
|
##===----------------------------------------------------------------------===//
|
|
|
|
add_circt_dialect_library(CIRCTSim
|
|
SimDialect.cpp
|
|
SimOps.cpp
|
|
SimTypes.cpp
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
${CIRCT_MAIN_INCLUDE_DIR}/circt/Dialect/Sim
|
|
|
|
DEPENDS
|
|
CIRCTHW
|
|
CIRCTSV
|
|
MLIRSimIncGen
|
|
|
|
LINK_COMPONENTS
|
|
Support
|
|
|
|
LINK_LIBS PUBLIC
|
|
CIRCTHW
|
|
CIRCTSeq
|
|
CIRCTSV
|
|
MLIRFuncDialect
|
|
MLIRIR
|
|
MLIRPass
|
|
MLIRTransforms
|
|
)
|
|
|
|
add_subdirectory(Transforms)
|