2014-01-10 16:49:03 +01:00
|
|
|
# Needed for testing non-public components
|
2013-08-05 23:49:17 +02:00
|
|
|
include_directories(../libsrc)
|
2013-08-01 17:08:58 +02:00
|
|
|
|
2013-12-17 22:53:16 +01:00
|
|
|
if(ENABLE_SPIDEV)
|
|
|
|
# Add the simple test executable 'TestSpi'
|
|
|
|
add_executable(test_spi TestSpi.cpp)
|
|
|
|
target_link_libraries(test_spi hyperion)
|
|
|
|
|
|
|
|
add_executable(spidev_test spidev_test.c)
|
|
|
|
|
|
|
|
add_executable(gpio2spi switchPinCtrl.c)
|
|
|
|
endif(ENABLE_SPIDEV)
|
2013-08-13 12:03:00 +02:00
|
|
|
|
2013-08-17 16:12:42 +02:00
|
|
|
add_executable(test_configfile
|
2013-08-01 17:08:58 +02:00
|
|
|
TestConfigFile.cpp)
|
2013-08-17 16:12:42 +02:00
|
|
|
target_link_libraries(test_configfile
|
2013-08-01 17:08:58 +02:00
|
|
|
hyperion)
|
|
|
|
|
2013-11-11 10:00:37 +01:00
|
|
|
add_executable(test_ImageRgb
|
2013-08-03 23:24:22 +02:00
|
|
|
TestRgbImage.cpp)
|
2013-11-11 10:00:37 +01:00
|
|
|
target_link_libraries(test_ImageRgb
|
2013-08-03 23:24:22 +02:00
|
|
|
hyperion-utils)
|
2013-08-01 17:08:58 +02:00
|
|
|
|
2013-08-17 16:12:42 +02:00
|
|
|
add_executable(test_colortransform
|
2013-08-13 12:03:00 +02:00
|
|
|
TestColorTransform.cpp)
|
2013-08-17 16:12:42 +02:00
|
|
|
target_link_libraries(test_colortransform
|
2013-08-13 12:03:00 +02:00
|
|
|
hyperion)
|
2013-08-05 23:49:17 +02:00
|
|
|
|
2013-08-17 16:12:42 +02:00
|
|
|
add_executable(test_image2ledsmap
|
2013-08-15 21:11:02 +02:00
|
|
|
TestImage2LedsMap.cpp)
|
2013-08-17 16:12:42 +02:00
|
|
|
target_link_libraries(test_image2ledsmap
|
2013-08-15 21:11:02 +02:00
|
|
|
hyperion)
|
2013-08-01 17:08:58 +02:00
|
|
|
|
2013-11-19 23:02:41 +01:00
|
|
|
if (ENABLE_DISPMANX)
|
|
|
|
add_subdirectory(dispmanx2png)
|
|
|
|
endif (ENABLE_DISPMANX)
|
2013-08-21 16:25:27 +02:00
|
|
|
|
|
|
|
add_executable(test_blackborderdetector
|
|
|
|
TestBlackBorderDetector.cpp)
|
|
|
|
target_link_libraries(test_blackborderdetector
|
|
|
|
hyperion)
|
2013-08-21 22:44:17 +02:00
|
|
|
|
|
|
|
add_executable(test_blackborderprocessor
|
|
|
|
TestBlackBorderProcessor.cpp)
|
|
|
|
target_link_libraries(test_blackborderprocessor
|
|
|
|
hyperion)
|
2013-10-07 21:15:33 +02:00
|
|
|
|
2013-11-22 11:44:41 +01:00
|
|
|
add_executable(test_qregexp TestQRegExp.cpp)
|
|
|
|
target_link_libraries(test_qregexp
|
|
|
|
${QT_LIBRARIES})
|
2013-12-20 19:46:03 +01:00
|
|
|
|
|
|
|
add_executable(test_qtscreenshot TestQtScreenshot.cpp)
|
|
|
|
target_link_libraries(test_qtscreenshot
|
|
|
|
${QT_LIBRARIES})
|
2013-12-20 13:21:52 +01:00
|
|
|
|
2013-12-25 11:14:55 +01:00
|
|
|
add_executable(determineWs2811Timing DetermineWs2811Timing.cpp)
|
|
|
|
|
2013-12-20 13:21:52 +01:00
|
|
|
add_executable(test_rs232highspeed
|
|
|
|
TestRs232HighSpeed.cpp
|
2013-12-23 22:58:54 +01:00
|
|
|
../libsrc/leddevice/LedRs232Device.cpp
|
|
|
|
../libsrc/leddevice/LedDeviceWs2812b.cpp)
|
2013-12-20 13:21:52 +01:00
|
|
|
target_link_libraries(test_rs232highspeed
|
|
|
|
serialport)
|
2013-12-23 12:55:38 +01:00
|
|
|
|
2013-12-28 08:55:06 +01:00
|
|
|
if(NOT APPLE AND UNIX)
|
|
|
|
include_directories(/usr/include)
|
|
|
|
add_executable(test_uartHighSpeed TestUartHighSpeed.cpp)
|
2014-01-10 16:49:03 +01:00
|
|
|
|
2014-01-18 23:22:10 +01:00
|
|
|
add_executable(test_nonUniformWs2812b TestNonUniformWs2812b.cpp)
|
|
|
|
add_executable(test_nonInvWs2812b TestNonInvWs2812b.cpp)
|
2013-12-28 08:55:06 +01:00
|
|
|
endif()
|