set (targets test-grid2D pdbdistance-vineyard combustion-vineyard) foreach (t ${targets}) add_executable (${t} ${t}.cpp ${external_sources}) target_link_libraries (${t} ${libraries} ${cgal_libraries}) endforeach (t ${targets})