Files
revng-revng/tools/efa/extractcfg/CMakeLists.txt
Alessandro Di Federico 1d91ed9beb tuple_tree_generator: make C++ just a regular backend
The `tuple_tree_generator` component was still heavily treating C++ as a
special citizen.
This commit normalizes the situation.
2022-08-11 16:20:42 +02:00

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")