hyperion.ng/test/CMakeLists.txt

37 lines
749 B
CMake
Raw Normal View History

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