Working with CMake
This commit is contained in:
parent
01a76578fc
commit
23473885ea
3
CMakeLists.txt
Normal file
3
CMakeLists.txt
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
cmake_minimum_required(VERSION 3.10)
|
||||||
|
project(Raycaster)
|
||||||
|
add_executable(raycaster src/main.cpp)
|
2
Makefile
2
Makefile
@ -8,7 +8,7 @@ SRC_EXT = cpp
|
|||||||
# Path to the source directory, relative to the makefile
|
# Path to the source directory, relative to the makefile
|
||||||
SRC_PATH = ./src
|
SRC_PATH = ./src
|
||||||
# Space-separated pkg-config libraries used by this project
|
# Space-separated pkg-config libraries used by this project
|
||||||
LIBS =
|
LIBS = glfw
|
||||||
# General compiler flags
|
# General compiler flags
|
||||||
COMPILE_FLAGS = -std=c++11 -Wall -Wextra -g
|
COMPILE_FLAGS = -std=c++11 -Wall -Wextra -g
|
||||||
# Additional release-specific flags
|
# Additional release-specific flags
|
||||||
|
Loading…
Reference in New Issue
Block a user