| 
									
										
										
										
											2019-02-02 22:58:42 +01:00
										 |  |  | project(remoteoutput)
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | set(remoteoutput_SOURCES | 
					
						
							|  |  |  | 	remoteoutput.cpp
 | 
					
						
							|  |  |  | 	remoteoutputplugin.cpp
 | 
					
						
							| 
									
										
										
										
											2019-08-04 20:24:44 +02:00
										 |  |  |     remoteoutputsettings.cpp
 | 
					
						
							|  |  |  |     remoteoutputwebapiadapter.cpp
 | 
					
						
							| 
									
										
										
										
											2020-07-12 09:42:33 +02:00
										 |  |  | 	remoteoutputworker.cpp
 | 
					
						
							| 
									
										
										
										
											2019-08-04 20:24:44 +02:00
										 |  |  |     udpsinkfec.cpp
 | 
					
						
							| 
									
										
										
										
											2019-12-12 18:24:50 +01:00
										 |  |  |     remoteoutputsender.cpp
 | 
					
						
							|  |  |  |     remoteoutputfifo.cpp
 | 
					
						
							| 
									
										
										
										
											2019-02-02 22:58:42 +01:00
										 |  |  | )
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | set(remoteoutput_HEADERS | 
					
						
							|  |  |  | 	remoteoutput.h
 | 
					
						
							|  |  |  | 	remoteoutputplugin.h
 | 
					
						
							| 
									
										
										
										
											2019-08-04 20:24:44 +02:00
										 |  |  |     remoteoutputsettings.h
 | 
					
						
							|  |  |  |     remoteoutputwebapiadapter.h
 | 
					
						
							| 
									
										
										
										
											2020-07-12 09:42:33 +02:00
										 |  |  | 	remoteoutputworker.h
 | 
					
						
							| 
									
										
										
										
											2019-08-04 20:24:44 +02:00
										 |  |  |     udpsinkfec.h
 | 
					
						
							| 
									
										
										
										
											2019-12-12 18:24:50 +01:00
										 |  |  |     remoteoutputsender.h
 | 
					
						
							|  |  |  |     remoteoutputfifo.h
 | 
					
						
							| 
									
										
										
										
											2019-02-02 22:58:42 +01:00
										 |  |  | )
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | include_directories( | 
					
						
							| 
									
										
										
										
											2019-12-12 18:24:50 +01:00
										 |  |  |     ${CMAKE_SOURCE_DIR}/swagger/sdrangel/code/qt5/client
 | 
					
						
							| 
									
										
										
										
											2019-02-02 22:58:42 +01:00
										 |  |  | 	${CMAKE_SOURCE_DIR}/devices
 | 
					
						
							| 
									
										
										
										
											2019-12-12 18:24:50 +01:00
										 |  |  |     ${CM256CC_INCLUDE_DIR}
 | 
					
						
							| 
									
										
										
										
											2020-11-05 11:11:43 +01:00
										 |  |  |     ${Boost_INCLUDE_DIRS}
 | 
					
						
							| 
									
										
										
										
											2019-02-02 22:58:42 +01:00
										 |  |  | )
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-05-01 11:54:58 +02:00
										 |  |  | if(NOT SERVER_MODE)
 | 
					
						
							|  |  |  |     set(remoteoutput_SOURCES | 
					
						
							|  |  |  |         ${remoteoutput_SOURCES}
 | 
					
						
							|  |  |  |         remoteoutputgui.cpp
 | 
					
						
							|  |  |  |         remoteoutputgui.ui
 | 
					
						
							|  |  |  |     )
 | 
					
						
							|  |  |  |     set(remoteoutput_HEADERS | 
					
						
							|  |  |  |         ${remoteoutput_HEADERS}
 | 
					
						
							|  |  |  |         remoteoutputgui.h
 | 
					
						
							|  |  |  |     )
 | 
					
						
							|  |  |  |     set(TARGET_NAME outputremote)
 | 
					
						
							|  |  |  |     set(TARGET_LIB "Qt5::Widgets")
 | 
					
						
							|  |  |  |     set(TARGET_LIB_GUI "sdrgui")
 | 
					
						
							|  |  |  |     set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR})
 | 
					
						
							|  |  |  | else()
 | 
					
						
							|  |  |  |     set(TARGET_NAME outputremotesrv)
 | 
					
						
							|  |  |  |     set(TARGET_LIB "")
 | 
					
						
							|  |  |  |     set(TARGET_LIB_GUI "")
 | 
					
						
							|  |  |  |     set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR})
 | 
					
						
							|  |  |  | endif()
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | add_library(${TARGET_NAME} SHARED | 
					
						
							| 
									
										
										
										
											2019-02-02 22:58:42 +01:00
										 |  |  | 	${remoteoutput_SOURCES}
 | 
					
						
							|  |  |  | )
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-04-30 15:19:19 +03:00
										 |  |  | if(CM256CC_EXTERNAL)
 | 
					
						
							| 
									
										
										
										
											2019-05-23 16:01:06 +02:00
										 |  |  |     add_dependencies(${TARGET_NAME} cm256cc)
 | 
					
						
							|  |  |  | endif()
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-05-01 11:54:58 +02:00
										 |  |  | target_link_libraries(${TARGET_NAME} | 
					
						
							| 
									
										
										
										
											2019-12-12 18:24:50 +01:00
										 |  |  |     Qt5::Core
 | 
					
						
							|  |  |  |     ${TARGET_LIB}
 | 
					
						
							| 
									
										
										
										
											2019-02-02 22:58:42 +01:00
										 |  |  | 	sdrbase
 | 
					
						
							| 
									
										
										
										
											2019-05-01 11:54:58 +02:00
										 |  |  | 	${TARGET_LIB_GUI}
 | 
					
						
							| 
									
										
										
										
											2019-12-12 18:24:50 +01:00
										 |  |  |     swagger
 | 
					
						
							|  |  |  |     ${CM256CC_LIBRARIES}
 | 
					
						
							| 
									
										
										
										
											2019-02-02 22:58:42 +01:00
										 |  |  | )
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-05-01 15:17:27 +02:00
										 |  |  | install(TARGETS ${TARGET_NAME} DESTINATION ${INSTALL_FOLDER})
 |