blob: 4500f97af3d1fa307ff7c2078fffd4dc799c0dfe [file]
################################################################################
# Autogenerated by build_tools/bazel_to_cmake/bazel_to_cmake.py from #
# iree/runtime/demo/BUILD #
# #
# Use iree_cmake_extra_content from iree/build_defs.oss.bzl to add arbitrary #
# CMake-only content. #
# #
# To disable autogeneration for this file entirely, delete this header. #
################################################################################
iree_add_all_subdirs()
if (NOT ${IREE_HAL_DRIVER_VMVX} OR NOT ${IREE_TARGET_BACKEND_VMVX})
return()
endif()
iree_cc_binary(
NAME
hello_world_embedded
SRCS
"hello_world_explained.c"
DEFINES
"IREE_RUNTIME_DEMO_LOAD_FILE_FROM_EMBEDDED_DATA"
DEPS
iree::runtime
iree::runtime::testdata::simple_mul_module_c
)
iree_native_test(
NAME
"hello_world_embedded_test"
SRC
::hello_world_embedded
)
iree_cc_binary(
NAME
hello_world_file
SRCS
"hello_world_explained.c"
DEFINES
"IREE_RUNTIME_DEMO_LOAD_FILE_FROM_COMMAND_LINE_ARG"
DEPS
iree::runtime
)
iree_cc_binary(
NAME
hello_world_terse
SRCS
"hello_world_terse.c"
DEPS
iree::runtime
iree::runtime::testdata::simple_mul_module_c
)
iree_native_test(
NAME
"hello_world_terse_test"
SRC
::hello_world_terse
)
### BAZEL_TO_CMAKE_PRESERVES_ALL_CONTENT_BELOW_THIS_LINE ###