Warning, /libraries/kpublictransport/src/tools/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 # SPDX-FileCopyrightText: 2020 Volker Krause <vkrause@kde.org> 0002 # SPDX-License-Identifier: BSD-3-Clause 0003 0004 add_executable(endpointprobe endpointprobe.cpp) 0005 target_link_libraries(endpointprobe Qt::Network) 0006 add_custom_target(run-endpoint-probe COMMAND endpointprobe ${CMAKE_SOURCE_DIR}/src/lib/networks) 0007 0008 add_executable(otpprobe 0009 otpprobe.cpp 0010 ../lib/geo/geojson.cpp 0011 ../lib/geo/convexhull.cpp 0012 ) 0013 target_link_libraries(otpprobe Qt::Gui Qt::Network) 0014 add_custom_target(run-otp-probe COMMAND otpprobe ${CMAKE_SOURCE_DIR}/src/lib/networks) 0015 0016 add_executable(gbfsprobe gbfsprobe.cpp) 0017 target_link_libraries(gbfsprobe Qt::Network KPublicTransport) 0018 add_custom_target(run-gbfs-probe COMMAND gbfsprobe ${CMAKE_SOURCE_DIR}/src/lib/gbfs/gbfs-feeds.json WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}) 0019 0020 add_executable(hafas-mgate-probe 0021 hafas-mgate-probe.cpp 0022 ) 0023 target_link_libraries(hafas-mgate-probe PRIVATE Qt::Gui Qt::Network KPublicTransport) 0024 add_custom_target(run-hafas-mgate-probe COMMAND hafas-mgate-probe) 0025 0026 if (TARGET PolyClipping::PolyClipping) 0027 add_executable(transport-api-sync 0028 transport-api-sync.cpp 0029 polygonsimplifier.cpp 0030 ../lib/geo/geojson.cpp 0031 ) 0032 target_link_libraries(transport-api-sync Qt::Gui KOSM PolyClipping::PolyClipping) 0033 add_custom_target(run-transport-api-sync COMMAND transport-api-sync --config-path ${CMAKE_SOURCE_DIR}/src/lib/networks --transport-apis ${CMAKE_CURRENT_BINARY_DIR}/transport-apis) 0034 endif()