cmake_minimum_required(VERSION 3.28)
project(connectivity_probe LANGUAGES CXX ASM)

if(NOT EXISTS "${SYMBIAN_SDK_PREFIX}/cmake/SymbianApp.cmake")
  message(FATAL_ERROR "Select an exported Symbian SDK")
endif()
include(SymbianPic)
include(SymbianApp)
if(NOT TARGET Symbian::Connectivity)
  message(FATAL_ERROR "The selected SDK does not provide Symbian::Connectivity")
endif()
symbian_add_executable(connectivity_probe probe.cc)
target_link_libraries(connectivity_probe PRIVATE Symbian::Connectivity)
target_link_options(connectivity_probe PRIVATE --gc-sections)
