Remote plugins: add USE_NEON definition for compatibility with cm256cc on ARM64. Fixes issue #720

pull/724/head
f4exb 2020-11-23 08:34:20 +01:00
rodzic 1d5742d3b9
commit f155d63580
4 zmienionych plików z 29 dodań i 11 usunięć

Wyświetl plik

@ -1,5 +1,10 @@
project(remotesink)
if (ARCHITECTURE_ARM64)
message(STATUS "Compiling RemoteSink for ARM64 with USE_NEON definition")
add_compile_definitions(USE_NEON)
endif()
set(remotesink_SOURCES
remotesink.cpp
remotesinkbaseband.cpp

Wyświetl plik

@ -1,5 +1,10 @@
project(remotesource)
if (ARCHITECTURE_ARM64)
message(STATUS "Compiling RemoteSource for ARM64 with USE_NEON definition")
add_compile_definitions(USE_NEON)
endif()
set(remotesource_SOURCES
remotesource.cpp
remotesourcebaseband.cpp
@ -31,7 +36,6 @@ if(NOT SERVER_MODE)
set(remotesource_SOURCES
${remotesource_SOURCES}
remotesourcegui.cpp
remotesourcegui.ui
)
set(remotesource_HEADERS
@ -59,13 +63,13 @@ if(CM256CC_EXTERNAL)
endif()
target_link_libraries(${TARGET_NAME}
Qt5::Core
${TARGET_LIB}
Qt5::Network
Qt5::Core
${TARGET_LIB}
Qt5::Network
sdrbase
${TARGET_LIB_GUI}
swagger
${CM256CC_LIBRARIES}
swagger
${CM256CC_LIBRARIES}
)
install(TARGETS ${TARGET_NAME} DESTINATION ${INSTALL_FOLDER})

Wyświetl plik

@ -1,5 +1,10 @@
project(remoteoutput)
if (ARCHITECTURE_ARM64)
message(STATUS "Compiling RemoteOutput for ARM64 with USE_NEON definition")
add_compile_definitions(USE_NEON)
endif()
set(remoteoutput_SOURCES
remoteoutput.cpp
remoteoutputplugin.cpp

Wyświetl plik

@ -1,5 +1,10 @@
project(remoteinput)
if (ARCHITECTURE_ARM64)
message(STATUS "Compiling RemoteInput for ARM64 with USE_NEON definition")
add_compile_definitions(USE_NEON)
endif()
set(remoteinput_SOURCES
remoteinputbuffer.cpp
remoteinputudphandler.cpp
@ -28,7 +33,6 @@ if(NOT SERVER_MODE)
set(remoteinput_SOURCES
${remoteinput_SOURCES}
remoteinputgui.cpp
remoteinputgui.ui
)
set(remoteinput_HEADERS
@ -56,12 +60,12 @@ if(CM256CC_EXTERNAL)
endif()
target_link_libraries(${TARGET_NAME}
Qt5::Core
${TARGET_LIB}
Qt5::Core
${TARGET_LIB}
sdrbase
${TARGET_LIB_GUI}
swagger
${CM256CC_LIBRARIES}
swagger
${CM256CC_LIBRARIES}
)
install(TARGETS ${TARGET_NAME} DESTINATION ${INSTALL_FOLDER})