From 56250a226f583a0e11f8f98dc3cd94a7149b068c Mon Sep 17 00:00:00 2001 From: apio Date: Thu, 19 Jan 2023 22:44:01 +0100 Subject: [PATCH] chore: Add a CMake target to build all examples --- examples/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index a7c9476..3eb4d8e 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -2,4 +2,6 @@ add_executable(list EXCLUDE_FROM_ALL list.c) target_link_libraries(list PRIVATE minitar) add_executable(untar EXCLUDE_FROM_ALL untar.c) -target_link_libraries(untar PRIVATE minitar) \ No newline at end of file +target_link_libraries(untar PRIVATE minitar) + +add_custom_target(examples DEPENDS list untar) \ No newline at end of file