summaryrefslogtreecommitdiff
path: root/scripts/example-project/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/example-project/CMakeLists.txt')
-rw-r--r--scripts/example-project/CMakeLists.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/example-project/CMakeLists.txt b/scripts/example-project/CMakeLists.txt
new file mode 100644
index 00000000..0ff3bb32
--- /dev/null
+++ b/scripts/example-project/CMakeLists.txt
@@ -0,0 +1,11 @@
+cmake_minimum_required(VERSION 3.16)
+project(example CXX)
+
+enable_testing()
+
+find_package(wabt REQUIRED)
+
+add_executable(example example.cpp)
+target_link_libraries(example PRIVATE wabt::wabt)
+
+add_test(NAME example COMMAND example)