From 21423a44d6e3091addc00c1b0769336e1f154d4e Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Sun, 8 May 2016 19:50:45 +0200 Subject: Implement basic PPM writing function `write_ppm` generates a PPM image using a given generation function. Output is written using `std::ofstream`. The library is intended to become a straight forward way to test out various visualizations. --- CMakeLists.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 CMakeLists.txt (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..88200b9 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,17 @@ +cmake_minimum_required(VERSION 2.8) +project(imgen) + +set( + CMAKE_CXX_FLAGS + "${CMAKE_CXX_FLAGS} -std=c++14 -W -Wall -Wextra -Winline -pedantic" +) + +include_directories( + src/ +) + +add_executable( + test + test.cc + src/imgen.cc +) -- cgit v1.2.3