initial commit

This commit is contained in:
2026-03-27 10:26:47 -07:00
commit 5df346e342
38 changed files with 1687 additions and 0 deletions

31
CMakeLists.txt.save Normal file
View File

@@ -0,0 +1,31 @@
cmake_minimum_required (VERSION 3.2)
set (CMAKE_CXX_STANDARD 11)
cmake_policy(SET CMP0072 NEW)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake")
project (attempt1)
# SDL2
find_package(SDL2 REQUIRED)
# find_package(OpenGL REQUIRED)
include_directories(${SDL2_INCLUDE_DIRS})
# include_directories(${OPENGL_INCLUDE_DIR})
message(STATUS "<<${SDL2_INCLUDE_DIRS}>>")
# message(STATUS "<<${OPENGL_INCLUDE_DIR}>>")
# Main Executable
add_definitions("-Wall -O0 -g")
#add_definitions("-Wall -Werror -O0 -g")
add_executable(attempt1 attempt1.cpp)
target_include_directories(attempt1 PUBLIC ${CMAKE_SOURCE_DIR}/src)
# Libraries
target_link_libraries(attempt1 ${SDL2_LIBRARIES})
# target_link_libraries(attempt1 ${OPENGL_LIBRARIES})
message(STATUS "<<${SDL2_LIBRARIES}>>")
# message(STATUS "<<${OPENGL_LIBRARIES}>>")