Modified cohomology code (unweighted and weighted) so that it doesn't use std::map for boundary computations, which should optimize memory usage.
set (targets
triangle
triangle-zigzag)
set (libraries ${libraries} ${Boost_SERIALIZATION_LIBRARY})
foreach (t ${targets})
add_executable (${t} ${t}.cpp)
target_link_libraries (${t} ${libraries})
endforeach (t ${targets})