feat: screen is made and basic things are in to make the game

This commit is contained in:
DarthMooMancer
2025-08-30 13:48:44 -04:00
parent 5ae3e15a13
commit c6e385773b
13 changed files with 115 additions and 8 deletions
+15 -7
View File
@@ -1,11 +1,19 @@
cmake_minimum_required(VERSION 3.10)
cmake_minimum_required(VERSION 3.16)
project(pong)
include_directories(include)
set(SOURCES src/main.cpp)
add_executable(pong ${SOURCES})
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
set(CMAKE_C_STANDARD 23)
set(CMAKE_C_STANDARD_REQUIRED ON)
include_directories(include)
# find_package(SDL3 CONFIG REQUIRED) # An example of how to import libraries from vcpkg
# target_link_libraries(Game PRIVATE SDL3::SDL3)
set(SOURCES
src/main.cpp
src/input.cpp
src/window.cpp
)
add_executable(pong ${SOURCES})
find_package(Curses REQUIRED)
include_directories(${CURSES_INCLUDE_DIR})
target_link_libraries(pong ${CURSES_LIBRARIES})
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)