renderiranje - nazaj na singlethreaded ker me SDL ne mara :(
This commit is contained in:
@@ -33,6 +33,9 @@ FetchContent_MakeAvailable(SDL3_image)
|
||||
# Collect all source files from src/ and nested directories
|
||||
file(GLOB_RECURSE SOURCES CONFIGURE_DEPENDS "src/*.cpp")
|
||||
|
||||
# Compile flags
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Werror -O2")
|
||||
|
||||
# Create the executable
|
||||
add_executable(${PROJECT_NAME} ${SOURCES})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user