# nanowasm, a tiny WebAssembly/Wasm interpreter
# Copyright (C) 2023-2025  Xavier Del Campo Romero
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at https://mozilla.org/MPL/2.0/.

target_sources(${PROJECT_NAME} PRIVATE
    arithm.c
    break.c
    call.c
    call_function.c
    call_import.c
    call_indirect.c
    check_magic.c
    check_version.c
    find_function.c
    find_local.c
    find_param.c
    get_function_type.c
    get_import_type.c
    init_data.c
    init_globals.c
    mem_imm.c
    section.c
    set_local.c
    start_block.c
    unary.c
    unwind.c
)

add_subdirectory(section)
