# 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
    block.c
    br.c
    br_if.c
    br_table.c
    call.c
    call_indirect.c
    current_memory.c
    drop.c
    else.c
    end.c
    get_local.c
    get_global.c
    grow_memory.c
    i32_add.c
    i32_and.c
    i32_const.c
    i32_eq.c
    i32_eqz.c
    i32_ge_s.c
    i32_ge_u.c
    i32_gt_s.c
    i32_gt_u.c
    i32_load.c
    i32_load8_u.c
    i32_le_s.c
    i32_le_u.c
    i32_lt_s.c
    i32_lt_u.c
    i32_mul.c
    i32_ne.c
    i32_or.c
    i32_shl.c
    i32_shr_s.c
    i32_shr_u.c
    i32_store.c
    i32_store8.c
    i32_sub.c
    i32_xor.c
    i64_const.c
    i64_store.c
    if.c
    loop.c
    nop.c
    return.c
    select.c
    set_global.c
    set_local.c
    tee_local.c
    tostr.c
    unreachable.c
)

add_subdirectory(check)
