First commit, world map creation
This commit is contained in:
commit
76306196c0
7 changed files with 176 additions and 0 deletions
18
CMakeLists.txt
Normal file
18
CMakeLists.txt
Normal file
|
@ -0,0 +1,18 @@
|
|||
cmake_minimum_required(VERSION 3.14)
|
||||
project(raycasting)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 14)
|
||||
|
||||
# Detect and add SFML
|
||||
set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake_modules" ${CMAKE_MODULE_PATH})
|
||||
find_package(SFML COMPONENTS system window graphics network audio REQUIRED)
|
||||
|
||||
if(NOT SFML_FOUND)
|
||||
message(FATAL_ERROR "SFML could not be found")
|
||||
endif()
|
||||
|
||||
add_executable(raycasting main.cpp Player.cpp Player.h World.cpp World.h)
|
||||
|
||||
target_link_libraries(raycasting
|
||||
sfml-window
|
||||
sfml-graphics)
|
Loading…
Add table
Add a link
Reference in a new issue