mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
restructured project structure: move projects into sub-folders, split dispmanx-grabber from hyperion
This commit is contained in:
@@ -1,27 +1,4 @@
|
||||
|
||||
add_executable(WriteConfig
|
||||
WriteConfig.cpp)
|
||||
|
||||
add_executable(hyperiond
|
||||
hyperion-d.cpp)
|
||||
|
||||
target_link_libraries(hyperiond
|
||||
hyperion
|
||||
jsonserver)
|
||||
|
||||
# Find the libPNG
|
||||
find_package(PNG QUIET)
|
||||
|
||||
if(PNG_FOUND)
|
||||
# Add additional includes dirs
|
||||
include_directories(${PNG_INCLUDE_DIR})
|
||||
|
||||
add_executable(ViewPng
|
||||
ViewPng.cpp)
|
||||
|
||||
target_link_libraries(ViewPng
|
||||
hyperion
|
||||
${PNG_LIBRARIES})
|
||||
endif(PNG_FOUND)
|
||||
|
||||
add_subdirectory(hyperion-remote)
|
||||
add_subdirectory(hyperiond)
|
||||
add_subdirectory(hyperion-remote)
|
||||
add_subdirectory(viewpng)
|
||||
add_subdirectory(writeconfig)
|
||||
|
8
src/hyperiond/CMakeLists.txt
Normal file
8
src/hyperiond/CMakeLists.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
|
||||
add_executable(hyperiond
|
||||
hyperiond.cpp)
|
||||
|
||||
target_link_libraries(hyperiond
|
||||
hyperion
|
||||
dispmanx-grabber
|
||||
jsonserver)
|
@@ -6,9 +6,11 @@
|
||||
#include <utils/jsonschema/JsonFactory.h>
|
||||
|
||||
// Hyperion includes
|
||||
#include <hyperion/DispmanxWrapper.h>
|
||||
#include <hyperion/Hyperion.h>
|
||||
|
||||
// Dispmanx grabber includes
|
||||
#include <dispmanx-grabber/DispmanxWrapper.h>
|
||||
|
||||
// JsonServer includes
|
||||
#include <jsonserver/JsonServer.h>
|
||||
|
14
src/viewpng/CMakeLists.txt
Normal file
14
src/viewpng/CMakeLists.txt
Normal file
@@ -0,0 +1,14 @@
|
||||
# Find the libPNG
|
||||
find_package(PNG QUIET)
|
||||
|
||||
if(PNG_FOUND)
|
||||
# Add additional includes dirs
|
||||
include_directories(${PNG_INCLUDE_DIR})
|
||||
|
||||
add_executable(viewpng
|
||||
ViewPng.cpp)
|
||||
|
||||
target_link_libraries(viewpng
|
||||
hyperion
|
||||
${PNG_LIBRARIES})
|
||||
endif(PNG_FOUND)
|
2
src/writeconfig/CMakeLists.txt
Normal file
2
src/writeconfig/CMakeLists.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
add_executable(WriteConfig
|
||||
WriteConfig.cpp)
|
Reference in New Issue
Block a user