summaryrefslogtreecommitdiff
path: root/scripts/example-project/CMakeLists.txt
blob: 0ff3bb32619f639f6286e48bccc25538d6aa8d62 (plain)
1
2
3
4
5
6
7
8
9
10
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)