mirror of
https://github.com/revng/revng
synced 2026-06-21 14:07:57 +00:00
17c128c59b
Before now the dependency was the other way around
43 lines
919 B
CMake
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")
|