diff options
-rw-r--r-- | .gitignore | 6 | ||||
-rw-r--r-- | CMakeLists.txt | 6 | ||||
-rw-r--r-- | makefile | 11 |
3 files changed, 11 insertions, 12 deletions
@@ -1,2 +1,6 @@ +CMakeCache.txt +CMakeFiles/ +Makefile +cmake_install.cmake +barycentric-render *.ppm -render diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..943dea8 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,6 @@ +cmake_minimum_required(VERSION 3.13) +project(barycentric-render) + +set( CMAKE_CXX_STANDARD 17 ) + +add_executable( ${PROJECT_NAME} main.cpp ) diff --git a/makefile b/makefile deleted file mode 100644 index 0a4fca9..0000000 --- a/makefile +++ /dev/null @@ -1,11 +0,0 @@ -render: main.cpp - g++ -o render main.cpp -image.ppm: render - ./render -run: render - ./render -view: image.ppm - feh -. image.ppm -clean: - rm image.ppm - rm render |