tests: disable them on iOS

parent 2bf9f8a2
......@@ -20,47 +20,16 @@
#
############################################################################
set(RTPSEND_SOURCES rtpsend.c)
apply_compile_flags(RTPSEND_SOURCES "CPP" "C")
add_executable(rtpsend ${RTPSEND_SOURCES})
target_link_libraries(rtpsend ortp)
set(RTPRECV_SOURCES rtprecv.c)
apply_compile_flags(RTPRECV_SOURCES "CPP" "C")
add_executable(rtprecv ${RTPRECV_SOURCES})
target_link_libraries(rtprecv ortp)
set(MRTPSEND_SOURCES mrtpsend.c)
apply_compile_flags(MRTPSEND_SOURCES "CPP" "C")
add_executable(mrtpsend ${MRTPSEND_SOURCES})
target_link_libraries(mrtpsend ortp)
set(MRTPRECV_SOURCES mrtprecv.c)
apply_compile_flags(MRTPRECV_SOURCES "CPP" "C")
add_executable(mrtprecv ${RTPRECV_SOURCES})
target_link_libraries(mrtprecv ortp)
set(TEST_TIMER_SOURCES test_timer.c)
apply_compile_flags(TEST_TIMER_SOURCES "CPP" "C")
add_executable(test_timer ${TEST_TIMER_SOURCES})
target_link_libraries(test_timer ortp)
set(TEVRTPSEND_SOURCES tevrtpsend.c)
apply_compile_flags(TEVRTPSEND_SOURCES "CPP" "C")
add_executable(tevrtpsend ${TEVRTPSEND_SOURCES})
target_link_libraries(tevrtpsend ortp)
set(TEVRTPRECV_SOURCES tevrtprecv.c)
apply_compile_flags(TEVRTPRECV_SOURCES "CPP" "C")
add_executable(tevrtprecv ${TEVRTPRECV_SOURCES})
target_link_libraries(tevrtprecv ortp)
set(RTPSEND_STUPID_SOURCES rtpsend_stupid.c)
apply_compile_flags(RTPSEND_STUPID_SOURCES "CPP" "C")
add_executable(rtpsend_stupid ${RTPSEND_STUPID_SOURCES})
target_link_libraries(rtpsend_stupid ortp)
install(TARGETS rtpsend rtprecv mrtpsend mrtprecv test_timer tevrtpsend tevrtprecv rtpsend_stupid
RUNTIME DESTINATION bin
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
)
if (NOT IOS)
list(EXECUTABLES rtpsend rtprecv mrtpsend mrtprecv test_timer tevrtpsend tevrtprecv rtpsend_stupid)
foreach(executable ${EXECUTABLES})
apply_compile_flags(${executable}.c "CPP" "C")
add_executable(${executable} ${executable}.c)
target_link_libraries(${executable} ortp)
endforeach()
install(TARGETS ${EXECUTABLES}
RUNTIME DESTINATION bin
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
)
endif()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment