
find_package(Boost 1.39.0 REQUIRED COMPONENTS unit_test_framework)
foreach(PROG test_glink )
	file(GLOB ${PROG}_SOURCES ${PROG}*.cc)
	add_executable(unit_${PROG} ${${PROG}_SOURCES})
	target_link_libraries(unit_${PROG} votca_xtp ${Boost_UNIT_TEST_FRAMEWORK_LIBRARY})
	target_compile_definitions(unit_${PROG} PRIVATE BOOST_TEST_DYN_LINK)
	add_test(unit_${PROG} unit_${PROG})
	# run tests for xtp (for coverage) as well
	set_tests_properties(unit_${PROG} PROPERTIES LABELS "xtp;votca")
endforeach(PROG)



find_package(Boost 1.39.0 REQUIRED COMPONENTS unit_test_framework)
foreach(PROG test_glink test_hdf5)
	file(GLOB ${PROG}_SOURCES ${PROG}*.cc)
	add_executable(unit_${PROG} ${${PROG}_SOURCES})
	target_link_libraries(unit_${PROG} votca_xtp ${Boost_UNIT_TEST_FRAMEWORK_LIBRARY})
	target_compile_definitions(unit_${PROG} PRIVATE BOOST_TEST_DYN_LINK)
	add_test(unit_${PROG} unit_${PROG})
	# run tests for xtp (for coverage) as well
	set_tests_properties(unit_${PROG} PROPERTIES LABELS "xtp;votca")
endforeach(PROG)


Add hdf5 test to testing cmake file again.
Add hdf5 test to testing cmake file again.
