Files
revng-revng/lib/ABI/CMakeLists.txt
Ivan Krysak 17c128c59b Make ABI depend on ModelPasses
Before now the dependency was the other way around
2023-03-15 10:19:03 +01:00

43 lines
919 B
CMake

#
# This file is distributed under the MIT License. See LICENSE.md for details.
#
revng_add_analyses_library_internal(
revngABI
Analyses/ConvertToCABIFunctionType.cpp
Analyses/ConvertToRawFunctionType.cpp
DefaultFunctionPrototype.cpp
Definition.cpp
FunctionType/Conversion.cpp
FunctionType/Layout.cpp
FunctionType/Support.cpp
RegisterStateDeductions.cpp)
target_link_libraries(
revngABI
revngModel
revngModelPasses
revngPipeline
revngPipes
revngSupport
${LLVM_LIBRARIES})
set(HEADERS_REQUIRING_TTG "${CMAKE_SOURCE_DIR}/include/revng/ABI")
target_tuple_tree_generator(
revngABI
INSTALL
HEADER_DIRECTORY
"ABI"
NAMESPACE
"abi"
ROOT_TYPE
Definition
SCHEMA_PATH
"${CMAKE_BINARY_DIR}/abi-internal-schema.yml"
SCALAR_TYPES
"model::ABI::Values"
"model::Register::Values"
HEADERS
"${HEADERS_REQUIRING_TTG}/Definition.h"
"${HEADERS_REQUIRING_TTG}/ScalarType.h")