diff --git a/.gitignore b/.gitignore index 6ec82c5..f37d11b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ test/** !test/test.cpp !test/example.cpp +!test/CMakeLists.txt build/ diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt new file mode 100644 index 0000000..6985390 --- /dev/null +++ b/test/CMakeLists.txt @@ -0,0 +1,7 @@ +add_executable(mio.test test.cpp) +target_link_libraries(mio.test PRIVATE mio::mio) +add_test(NAME mio.test COMMAND mio.test) + +add_executable(mio.example example.cpp) +target_link_libraries(mio.example PRIVATE mio::mio) +add_test(NAME mio.example COMMAND mio.example)