diff options
-rw-r--r-- | CMakeLists.txt | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 45e09e3..72d3e40 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,27 +10,31 @@ include_directories( src/ ) +add_library( + imgen SHARED + src/imgen.cc + src/ppm_pixel_stream.cc +) + add_executable( voronoi voronoi.cc - src/imgen.cc - src/ppm_pixel_stream.cc ) add_executable( unit_circle unit_circle.cc - src/imgen.cc - src/ppm_pixel_stream.cc ) target_link_libraries( voronoi m + imgen pthread ) target_link_libraries( unit_circle m + imgen ) |