2013-08-05 23:49:17 +02:00
|
|
|
# Needed for testing non-public components
|
|
|
|
include_directories(../libsrc)
|
2013-08-01 17:08:58 +02:00
|
|
|
|
|
|
|
# Add the simple test executable 'TestSpi'
|
|
|
|
add_executable(TestSpi
|
|
|
|
TestSpi.cpp)
|
|
|
|
target_link_libraries(TestSpi
|
2013-08-13 12:03:00 +02:00
|
|
|
hyperion)
|
|
|
|
|
2013-08-01 17:08:58 +02:00
|
|
|
|
|
|
|
add_executable(TestConfigFile
|
|
|
|
TestConfigFile.cpp)
|
|
|
|
target_link_libraries(TestConfigFile
|
|
|
|
hyperion)
|
|
|
|
|
2013-08-03 23:24:22 +02:00
|
|
|
add_executable(TestRgbImage
|
|
|
|
TestRgbImage.cpp)
|
|
|
|
target_link_libraries(TestRgbImage
|
|
|
|
hyperion-utils)
|
2013-08-01 17:08:58 +02:00
|
|
|
|
2013-08-05 23:49:17 +02:00
|
|
|
add_executable(TestColorTransform
|
2013-08-13 12:03:00 +02:00
|
|
|
TestColorTransform.cpp)
|
2013-08-05 23:49:17 +02:00
|
|
|
target_link_libraries(TestColorTransform
|
2013-08-13 12:03:00 +02:00
|
|
|
hyperion)
|
2013-08-05 23:49:17 +02:00
|
|
|
|
2013-08-01 17:08:58 +02:00
|
|
|
# Find the libPNG
|
|
|
|
find_package(PNG REQUIRED QUIET)
|
|
|
|
|
2013-08-13 12:03:00 +02:00
|
|
|
# Add additional includes dirs
|
|
|
|
include_directories(${PNG_INCLUDE_DIR})
|
2013-08-01 17:08:58 +02:00
|
|
|
|
2013-08-13 12:03:00 +02:00
|
|
|
add_executable(TestHyperionPng
|
|
|
|
TestHyperionPng.cpp)
|
2013-08-01 17:08:58 +02:00
|
|
|
|
2013-08-13 12:03:00 +02:00
|
|
|
target_link_libraries(TestHyperionPng
|
|
|
|
hyperion-png)
|