chore: Add platform-specific example targets
Someone might want to build only the examples that work on non-POSIX, or the ones that work on POSIX.
This commit is contained in:
parent
40302ddd41
commit
7339aeeae5
@ -7,4 +7,6 @@ target_link_libraries(untar PRIVATE minitar)
|
||||
add_executable(pack EXCLUDE_FROM_ALL pack.c)
|
||||
target_link_libraries(pack PRIVATE minitar)
|
||||
|
||||
add_custom_target(examples DEPENDS list untar pack)
|
||||
add_custom_target(examples DEPENDS list untar pack)
|
||||
add_custom_target(examples-posix DEPENDS list untar pack)
|
||||
add_custom_target(examples-windows DEPENDS list)
|
Loading…
Reference in New Issue
Block a user