mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
78eaaa2e84
* common ledbuffer for color transform hyperion class uses a common buffer for all operations on ledColors got from muxer all color transforms uses new ledBuffer instead of making copies of ledbuffer other fixes: fix compile bug in profiler update doxygen config * migrate logging for color transform classes * prepare new logger in hyperion class * implement hwledcount * Update Hyperion.cpp Fix off color * remove ledscount equivalent from apa102 migrate logging in hyperion.cpp remove unused and duuplicate colorcorrection - but same is available through tempertature * remove colorcorrection completly fix compile * set colororder back to static * in remote: using correction is the same as using temperature - correction is obsolete, command not delete atm for compat reasons * refactoring of RgbChannelAdjustment * - remove rgbchannelcorrection, this was a dup of rgbchanneladjustment - add cmake policy to hide warning - tune code of rgbchanneltransform
55 lines
1.6 KiB
CMake
55 lines
1.6 KiB
CMake
# Define the current source locations
|
|
SET(CURRENT_HEADER_DIR ${CMAKE_SOURCE_DIR}/include/utils)
|
|
SET(CURRENT_SOURCE_DIR ${CMAKE_SOURCE_DIR}/libsrc/utils)
|
|
|
|
if ( ENABLE_PROFILER )
|
|
SET ( PROFILER_SOURCE ${CURRENT_HEADER_DIR}/Profiler.h ${CURRENT_SOURCE_DIR}/Profiler.cpp )
|
|
endif()
|
|
|
|
add_library(hyperion-utils
|
|
${CURRENT_HEADER_DIR}/ColorArgb.h
|
|
${CURRENT_SOURCE_DIR}/ColorArgb.cpp
|
|
${CURRENT_HEADER_DIR}/ColorBgr.h
|
|
${CURRENT_SOURCE_DIR}/ColorBgr.cpp
|
|
${CURRENT_HEADER_DIR}/ColorRgb.h
|
|
${CURRENT_SOURCE_DIR}/ColorRgb.cpp
|
|
${CURRENT_HEADER_DIR}/ColorRgba.h
|
|
${CURRENT_SOURCE_DIR}/ColorRgba.cpp
|
|
${CURRENT_HEADER_DIR}/ColorRgbw.h
|
|
${CURRENT_SOURCE_DIR}/ColorRgbw.cpp
|
|
${CURRENT_HEADER_DIR}/Image.h
|
|
${CURRENT_HEADER_DIR}/Sleep.h
|
|
|
|
${CURRENT_HEADER_DIR}/Logger.h
|
|
${CURRENT_SOURCE_DIR}/Logger.cpp
|
|
${PROFILER_SOURCE}
|
|
|
|
${CURRENT_HEADER_DIR}/PixelFormat.h
|
|
${CURRENT_HEADER_DIR}/VideoMode.h
|
|
|
|
${CURRENT_HEADER_DIR}/ImageResampler.h
|
|
${CURRENT_SOURCE_DIR}/ImageResampler.cpp
|
|
|
|
${CURRENT_HEADER_DIR}/HsvTransform.h
|
|
${CURRENT_SOURCE_DIR}/HsvTransform.cpp
|
|
${CURRENT_HEADER_DIR}/HslTransform.h
|
|
${CURRENT_SOURCE_DIR}/HslTransform.cpp
|
|
${CURRENT_HEADER_DIR}/RgbChannelTransform.h
|
|
${CURRENT_SOURCE_DIR}/RgbChannelTransform.cpp
|
|
${CURRENT_HEADER_DIR}/RgbChannelAdjustment.h
|
|
${CURRENT_SOURCE_DIR}/RgbChannelAdjustment.cpp
|
|
|
|
${CURRENT_HEADER_DIR}/RgbToRgbw.h
|
|
${CURRENT_SOURCE_DIR}/RgbToRgbw.cpp
|
|
|
|
${CURRENT_HEADER_DIR}/jsonschema/JsonFactory.h
|
|
${CURRENT_HEADER_DIR}/jsonschema/JsonSchemaChecker.h
|
|
${CURRENT_SOURCE_DIR}/jsonschema/JsonSchemaChecker.cpp
|
|
)
|
|
|
|
qt5_use_modules(hyperion-utils Core)
|
|
|
|
target_link_libraries(hyperion-utils
|
|
jsoncpp
|
|
${QT_LIBRARIES})
|