chore: Add a CMake target to build all examples

This commit is contained in:
apio 2023-01-19 22:44:01 +01:00
parent d8faf424ad
commit 56250a226f
Signed by: apio
GPG Key ID: B8A7D06E42258954

View File

@ -3,3 +3,5 @@ target_link_libraries(list PRIVATE minitar)
add_executable(untar EXCLUDE_FROM_ALL untar.c) add_executable(untar EXCLUDE_FROM_ALL untar.c)
target_link_libraries(untar PRIVATE minitar) target_link_libraries(untar PRIVATE minitar)
add_custom_target(examples DEPENDS list untar)