2013-08-01 17:08:58 +02:00
|
|
|
|
|
|
|
# Add the simple test executable 'TestSpi'
|
|
|
|
add_executable(TestSpi
|
|
|
|
TestSpi.cpp)
|
|
|
|
|
|
|
|
target_link_libraries(TestSpi
|
|
|
|
hyperion
|
|
|
|
hyperion-utils)
|
|
|
|
|
|
|
|
add_executable(TestConfigFile
|
|
|
|
TestConfigFile.cpp)
|
|
|
|
|
|
|
|
target_link_libraries(TestConfigFile
|
|
|
|
hyperion-utils
|
|
|
|
hyperion)
|
|
|
|
|
|
|
|
add_executable(Test2BobLight
|
|
|
|
Test2BobLight.cpp)
|
|
|
|
|
|
|
|
target_link_libraries(Test2BobLight
|
|
|
|
bob2hyperion)
|
|
|
|
|
|
|
|
|
|
|
|
# Find the libPNG
|
|
|
|
find_package(PNG REQUIRED QUIET)
|
|
|
|
|
|
|
|
# Add additional includes dirs
|
|
|
|
include_directories(${PNG_INCLUDE_DIR})
|
|
|
|
|
|
|
|
if(PNG_FOUND)
|
|
|
|
|
|
|
|
add_executable(TestHyperionPng
|
|
|
|
TestHyperionPng.cpp)
|
|
|
|
|
|
|
|
target_link_libraries(TestHyperionPng
|
2013-08-02 11:54:09 +02:00
|
|
|
bob2hyperion-png)
|
2013-08-01 17:08:58 +02:00
|
|
|
endif(PNG_FOUND)
|