mirror of
				https://github.com/hyperion-project/hyperion.ng.git
				synced 2025-03-01 10:33:28 +00:00 
			
		
		
		
	* make hyperion to singelton. remove arguments for config and hyperion - both are gettable via Hyperion::getInstance * refactor hyperiond * remove qt4 comapt make zeroconf mandatory refactor hyperiond * xbmcchecker is now a singleton * cleanup in hyperiond zeroconf switchable between static and shared linking * fix xbmcchecker
		
			
				
	
	
		
			46 lines
		
	
	
		
			920 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			46 lines
		
	
	
		
			920 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
cmake_minimum_required(VERSION 2.8)
 | 
						|
project(hyperion-dispmanx)
 | 
						|
 | 
						|
find_package(Qt5Widgets REQUIRED)
 | 
						|
find_package(BCM REQUIRED)
 | 
						|
 | 
						|
include_directories(
 | 
						|
	${CMAKE_CURRENT_BINARY_DIR}/../../libsrc/protoserver
 | 
						|
	${QT_INCLUDES}
 | 
						|
	${BCM_INCLUDE_DIRS}
 | 
						|
	${PROTOBUF_INCLUDE_DIRS}
 | 
						|
)
 | 
						|
 | 
						|
set(Hyperion_Dispmanx_QT_HEADERS
 | 
						|
	DispmanxWrapper.h)
 | 
						|
 | 
						|
set(Hyperion_Dispmanx_HEADERS
 | 
						|
)
 | 
						|
 | 
						|
set(Hyperion_Dispmanx_SOURCES
 | 
						|
	hyperion-dispmanx.cpp
 | 
						|
	DispmanxWrapper.cpp
 | 
						|
)
 | 
						|
 | 
						|
QT5_WRAP_CPP(Hyperion_Dispmanx_HEADERS_MOC ${Hyperion_Dispmanx_QT_HEADERS})
 | 
						|
 | 
						|
add_executable( ${PROJECT_NAME}
 | 
						|
	${Hyperion_Dispmanx_HEADERS}
 | 
						|
	${Hyperion_Dispmanx_SOURCES}
 | 
						|
	${Hyperion_Dispmanx_HEADERS_MOC}
 | 
						|
)
 | 
						|
 | 
						|
target_link_libraries( ${PROJECT_NAME}
 | 
						|
	getoptPlusPlus
 | 
						|
	blackborder
 | 
						|
	hyperion-utils
 | 
						|
	protoserver
 | 
						|
	dispmanx-grabber
 | 
						|
	${Dispmanx_LIBRARIES}
 | 
						|
	pthread
 | 
						|
)
 | 
						|
 | 
						|
qt5_use_modules(${PROJECT_NAME} Widgets Core Gui Network)
 | 
						|
 | 
						|
install ( TARGETS ${PROJECT_NAME} DESTINATION "bin" COMPONENT ambilight )
 |