aboutsummaryrefslogtreecommitdiffstats
path: root/liblfvm/tests/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'liblfvm/tests/CMakeLists.txt')
-rw-r--r--liblfvm/tests/CMakeLists.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/liblfvm/tests/CMakeLists.txt b/liblfvm/tests/CMakeLists.txt
new file mode 100644
index 0000000..e8b9c88
--- /dev/null
+++ b/liblfvm/tests/CMakeLists.txt
@@ -0,0 +1,16 @@
+# This source code is released into the public domain.
+
+add_executable(liblfvm.test
+ vm_config.cc
+)
+
+target_link_libraries(liblfvm.test PRIVATE
+ liblfvm
+ Catch2::Catch2WithMain
+)
+
+find_package(Catch2 REQUIRED)
+
+include(CTest)
+include(Catch)
+catch_discover_tests(liblfvm.test)