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