Working with CMake

This commit is contained in:
Samuel Walker 2024-09-01 17:09:23 -06:00
parent 01a76578fc
commit 23473885ea
2 changed files with 4 additions and 1 deletions

3
CMakeLists.txt Normal file
View File

@ -0,0 +1,3 @@
cmake_minimum_required(VERSION 3.10)
project(Raycaster)
add_executable(raycaster src/main.cpp)

View File

@ -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