This commit is contained in:
2026-01-19 23:10:09 +08:00
parent 1a66d45204
commit 2839c0daff
17 changed files with 2274 additions and 46 deletions

View File

@@ -15,6 +15,9 @@ set(LIB_SOURCES
src/value.cpp
src/interpreter.cpp
src/state.cpp
src/chunk.cpp
src/compiler.cpp
src/vm.cpp
)
# Library headers
@@ -26,6 +29,11 @@ set(LIB_HEADERS
src/value.h
src/interpreter.h
src/state.h
src/chunk.h
src/compiler.h
src/vm.h
src/opcode.h
src/exceptions.h
)
if(CAMELLYA_BUILD_STATIC)
@@ -63,6 +71,7 @@ if(CAMELLYA_BUILD_TESTS)
add_executable(camellya_tests
tests/test_basic.cpp
tests/test_utf8.cpp
tests/test_vm.cpp
)
target_include_directories(camellya_tests