Files
psil/test/vm/CMakeLists.txt
2023-12-29 00:38:20 +01:00

47 lines
721 B
CMake

add_executable(
VMTest
VMTest.cpp
)
target_link_libraries(
VMTest
vm
GTest::gtest_main
)
add_executable(
VMWithParserTest
VMWithParserTest.cpp
)
target_link_libraries(
VMWithParserTest
vm
GTest::gtest_main
)
add_executable(
GCTest
GCTest.cpp
)
target_link_libraries(
GCTest
vm
GTest::gtest_main
)
add_executable(
CompilerTest
CompilerTest.cpp
)
target_link_libraries(
CompilerTest
vm
GTest::gtest_main
)
include(GoogleTest)
gtest_discover_tests(VMTest)
gtest_discover_tests(VMWithParserTest)
gtest_discover_tests(GCTest)
gtest_discover_tests(CompilerTest)