This commit is contained in:
2026-04-29 12:02:03 -05:00
parent 54729c1e14
commit c9984d0985
5 changed files with 111 additions and 64 deletions

View File

@@ -65,6 +65,8 @@ add_library(lib${PROJECT_NAME} SHARED
src/bytecode/bytecode.hh
src/bytecode/bytecodeprototype.hh
src/common/overloaded.hh
src/vm/code.cc
src/vm/code.hh
)
target_compile_options(lib${PROJECT_NAME} PRIVATE ${warnings})
@@ -74,7 +76,8 @@ target_compile_options(lib${PROJECT_NAME} PRIVATE ${warnings})
#
add_executable(${PROJECT_NAME}-bytecode-test src/bytecode/tests.cc
src/bytecode/constant.hh)
src/bytecode/constant.hh
src/vm/instruction.hh)
target_link_libraries(${PROJECT_NAME}-bytecode-test lib${PROJECT_NAME} gtest_main)
add_test(NAME tyche_bytecode_test COMMAND ${PROJECT_NAME}-bytecode-test)