mirror of
				https://github.com/f4exb/sdrangel.git
				synced 2025-10-31 13:00:26 -04:00 
			
		
		
		
	Server: added Test source plugin
This commit is contained in:
		
							parent
							
								
									213d19eb42
								
							
						
					
					
						commit
						d8b4af6dbf
					
				| @ -92,3 +92,4 @@ if (BUILD_DEBIAN) | ||||
| endif (BUILD_DEBIAN) | ||||
| 
 | ||||
| add_subdirectory(filesource) | ||||
| add_subdirectory(testsource) | ||||
|  | ||||
							
								
								
									
										43
									
								
								pluginssrv/samplesource/testsource/CMakeLists.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										43
									
								
								pluginssrv/samplesource/testsource/CMakeLists.txt
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,43 @@ | ||||
| project(testsource) | ||||
| 
 | ||||
| set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") | ||||
| set(PLUGIN_PREFIX "../../../plugins/samplesource/testsource") | ||||
| 
 | ||||
| set(testsource_SOURCES | ||||
| 	${PLUGIN_PREFIX}/testsourceinput.cpp | ||||
| 	${PLUGIN_PREFIX}/testsourceplugin.cpp | ||||
| 	${PLUGIN_PREFIX}/testsourcethread.cpp | ||||
| 	${PLUGIN_PREFIX}/testsourcesettings.cpp | ||||
| ) | ||||
| 
 | ||||
| set(testsource_HEADERS | ||||
| 	${PLUGIN_PREFIX}/testsourceinput.h | ||||
| 	${PLUGIN_PREFIX}/testsourceplugin.h | ||||
| 	${PLUGIN_PREFIX}/testsourcethread.h | ||||
| 	${PLUGIN_PREFIX}/testsourcesettings.h | ||||
| ) | ||||
| 
 | ||||
| include_directories( | ||||
| 	. | ||||
| 	${CMAKE_CURRENT_BINARY_DIR} | ||||
| 	${CMAKE_SOURCE_DIR}/swagger/sdrangel/code/qt5/client | ||||
| ) | ||||
| 
 | ||||
| add_definitions(${QT_DEFINITIONS}) | ||||
| add_definitions(-DQT_PLUGIN) | ||||
| add_definitions(-DQT_SHARED) | ||||
| 
 | ||||
| add_library(inputtestsourcesrv SHARED | ||||
| 	${testsource_SOURCES} | ||||
| 	${testsource_HEADERS_MOC} | ||||
| ) | ||||
| 
 | ||||
| target_link_libraries(inputtestsourcesrv | ||||
| 	${QT_LIBRARIES} | ||||
| 	sdrbase | ||||
| 	swagger | ||||
| ) | ||||
| 
 | ||||
| qt5_use_modules(inputtestsourcesrv Core) | ||||
| 
 | ||||
| install(TARGETS inputtestsourcesrv DESTINATION lib/pluginssrv/samplesource) | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user