From 23473885ea59c00bd4e417a2fee55fe6b8407f77 Mon Sep 17 00:00:00 2001 From: Samuel Walker Date: Sun, 1 Sep 2024 17:09:23 -0600 Subject: [PATCH] Working with CMake --- CMakeLists.txt | 3 +++ Makefile | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..a20e75d --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,3 @@ +cmake_minimum_required(VERSION 3.10) +project(Raycaster) +add_executable(raycaster src/main.cpp) \ No newline at end of file diff --git a/Makefile b/Makefile index 68fc199..083f6b2 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ SRC_EXT = cpp # Path to the source directory, relative to the makefile SRC_PATH = ./src # Space-separated pkg-config libraries used by this project -LIBS = +LIBS = glfw # General compiler flags COMPILE_FLAGS = -std=c++11 -Wall -Wextra -g # Additional release-specific flags