| 
									
										
										
										
											2015-08-03 01:04:20 +02:00
										 |  |  | project(filesource)
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-12-06 22:08:34 +01:00
										 |  |  | set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-08-03 01:04:20 +02:00
										 |  |  | set(filesource_SOURCES | 
					
						
							|  |  |  | 	filesourcegui.cpp
 | 
					
						
							|  |  |  | 	filesourceinput.cpp
 | 
					
						
							|  |  |  | 	filesourceplugin.cpp
 | 
					
						
							|  |  |  | 	filesourcethread.cpp
 | 
					
						
							| 
									
										
										
										
											2017-12-24 11:04:30 +01:00
										 |  |  | 	filesourcesettings.cpp
 | 
					
						
							| 
									
										
										
										
											2015-08-03 01:04:20 +02:00
										 |  |  | )
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | set(filesource_HEADERS | 
					
						
							|  |  |  | 	filesourcegui.h
 | 
					
						
							|  |  |  | 	filesourceinput.h
 | 
					
						
							|  |  |  | 	filesourceplugin.h
 | 
					
						
							|  |  |  | 	filesourcethread.h
 | 
					
						
							| 
									
										
										
										
											2017-12-24 11:04:30 +01:00
										 |  |  | 	filesourcesettings.h
 | 
					
						
							| 
									
										
										
										
											2015-08-03 01:04:20 +02:00
										 |  |  | )
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | set(filesource_FORMS | 
					
						
							|  |  |  | 	filesourcegui.ui
 | 
					
						
							|  |  |  | )
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | include_directories( | 
					
						
							|  |  |  | 	.
 | 
					
						
							|  |  |  | 	${CMAKE_CURRENT_BINARY_DIR}
 | 
					
						
							| 
									
										
										
										
											2017-12-06 19:23:42 +01:00
										 |  |  | 	${CMAKE_SOURCE_DIR}/swagger/sdrangel/code/qt5/client
 | 
					
						
							| 
									
										
										
										
											2015-08-03 01:04:20 +02:00
										 |  |  | )
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #include(${QT_USE_FILE})
 | 
					
						
							|  |  |  | add_definitions(${QT_DEFINITIONS})
 | 
					
						
							|  |  |  | add_definitions(-DQT_PLUGIN)
 | 
					
						
							|  |  |  | add_definitions(-DQT_SHARED)
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #qt4_wrap_cpp(filesource_HEADERS_MOC ${filesource_HEADERS})
 | 
					
						
							|  |  |  | qt5_wrap_ui(filesource_FORMS_HEADERS ${filesource_FORMS})
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | add_library(inputfilesource SHARED | 
					
						
							|  |  |  | 	${filesource_SOURCES}
 | 
					
						
							|  |  |  | 	${filesource_HEADERS_MOC}
 | 
					
						
							|  |  |  | 	${filesource_FORMS_HEADERS}
 | 
					
						
							|  |  |  | )
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | target_link_libraries(inputfilesource | 
					
						
							|  |  |  | 	${QT_LIBRARIES}
 | 
					
						
							|  |  |  | 	sdrbase
 | 
					
						
							| 
									
										
										
										
											2017-10-22 19:12:43 +02:00
										 |  |  | 	sdrgui
 | 
					
						
							| 
									
										
										
										
											2017-12-06 19:23:42 +01:00
										 |  |  | 	swagger
 | 
					
						
							| 
									
										
										
										
											2015-08-03 01:04:20 +02:00
										 |  |  | )
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-06-13 00:20:51 +02:00
										 |  |  | target_link_libraries(inputfilesource Qt5::Core Qt5::Widgets)
 | 
					
						
							| 
									
										
										
										
											2016-02-24 11:51:36 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | install(TARGETS inputfilesource DESTINATION lib/plugins/samplesource)
 |