cmake_minimum_required( VERSION 2.8 ) project( ITABaseTests ) list( APPEND CMAKE_MODULE_PATH "$ENV{VISTA_CMAKE_COMMON}" ) include( VistaCommon ) vista_use_package( ITABase REQUIRED FIND_DEPENDENCIES ) add_executable( SampleBufferTest SampleBufferTest.cpp ) target_link_libraries( SampleBufferTest ${VISTA_USE_PACKAGE_LIBRARIES} ) vista_configure_app( SampleBufferTest ) vista_install( SampleBufferTest ) vista_create_default_info_file( SampleBufferTest ) set_property( TARGET SampleBufferTest PROPERTY FOLDER "ITACoreLibs/Tests/ITABase" ) if( ITA_BASE_WITH_SNDFILE ) add_executable( SampleFrameTest SampleFrameTest.cpp ) target_link_libraries( SampleFrameTest ${VISTA_USE_PACKAGE_LIBRARIES} ) vista_configure_app( SampleFrameTest ) vista_install( SampleFrameTest ) vista_create_default_info_file( SampleFrameTest ) set_property( TARGET SampleFrameTest PROPERTY FOLDER "ITACoreLibs/Tests/ITABase" ) endif( ) add_subdirectory( "VistaTests" )