-
-
Notifications
You must be signed in to change notification settings - Fork 55
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
33 lines (29 loc) · 914 Bytes
/
CMakeLists.txt
File metadata and controls
33 lines (29 loc) · 914 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Copyright (c) 2023 - 2026 Chair for Design Automation, TUM
# Copyright (c) 2025 - 2026 Munich Quantum Software Company GmbH
# All rights reserved.
#
# SPDX-License-Identifier: MIT
#
# Licensed under the MIT License
# Build the compiler pipeline library
add_mlir_library(
MQTCompilerPipeline
CompilerPipeline.cpp
ADDITIONAL_HEADER_DIRS
${MQT_MLIR_SOURCE_INCLUDE_DIR}/mlir/Compiler
LINK_LIBS
PUBLIC
MLIRPass
MLIRTransforms
MLIRTransformUtils
MLIRQCToQCO
MLIRQCOToQC
MLIRQCToQIR
MLIRQCOTransforms
MQT::MLIRSupport
DISABLE_INSTALL)
mqt_mlir_target_use_project_options(MQTCompilerPipeline)
# collect header files
file(GLOB_RECURSE COMPILER_HEADERS_SOURCE "${MQT_MLIR_SOURCE_INCLUDE_DIR}/mlir/Compiler/*.h")
target_sources(MQTCompilerPipeline PUBLIC FILE_SET HEADERS BASE_DIRS ${MQT_MLIR_SOURCE_INCLUDE_DIR}
FILES ${COMPILER_HEADERS_SOURCE})