engine: input added

This commit is contained in:
DarthMooMancer
2025-09-08 14:38:02 -04:00
parent 54bc1d7290
commit 63344fb83b
8 changed files with 50 additions and 5 deletions
+4 -3
View File
@@ -6,12 +6,13 @@ include_directories(include)
set(SOURCES
src/main.cpp
src/input.cpp
)
add_executable(2048 ${SOURCES})
# find_package(Curses REQUIRED)
# include_directories(${CURSES_INCLUDE_DIR})
# target_link_libraries(2048 ${CURSES_LIBRARIES})
find_package(Curses REQUIRED)
include_directories(${CURSES_INCLUDE_DIR})
target_link_libraries(2048 ${CURSES_LIBRARIES})
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)