Add vm
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user