mirror of
https://github.com/revng/revng
synced 2026-06-21 14:07:57 +00:00
1d91ed9beb
The `tuple_tree_generator` component was still heavily treating C++ as a special citizen. This commit normalizes the situation.
29 lines
727 B
CMake
29 lines
727 B
CMake
#
|
|
# This file is distributed under the MIT License. See LICENSE.md for details.
|
|
#
|
|
|
|
revng_add_executable(revng-efa-extractcfg Main.cpp)
|
|
|
|
target_link_libraries(revng-efa-extractcfg revngEarlyFunctionAnalysis)
|
|
|
|
target_include_directories(
|
|
revng-efa-extractcfg PRIVATE ${CMAKE_CURRENT_BINARY_DIR}
|
|
${CMAKE_CURRENT_SOURCE_DIR})
|
|
|
|
target_tuple_tree_generator(
|
|
revng-efa-extractcfg
|
|
HEADERS
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/DecoratedFunction.h"
|
|
NAMESPACE
|
|
revng
|
|
SCHEMA_PATH
|
|
"${CMAKE_CURRENT_BINARY_DIR}/schema.yml"
|
|
HEADERS_PATH
|
|
"${CMAKE_CURRENT_BINARY_DIR}/Generated"
|
|
INCLUDE_PATH_PREFIX
|
|
"."
|
|
SCALAR_TYPES
|
|
"MetaAddress"
|
|
"efa::FunctionMetadata"
|
|
"model::FunctionAttribute::Values")
|