SDL Static not yet working

This commit is contained in:
edwin 2025-02-21 14:10:42 +01:00
parent a89abf859a
commit d9a3edd140
3 changed files with 2 additions and 4 deletions

View File

@ -15,7 +15,7 @@ add_compile_definitions(DLV_CONF_PATH="${CMAKE_CURRENT_SOURCE_DIR}/include/lv_co
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include/) include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include/)
# set 1 to compile static (Standalone) # set 1 to compile static (Standalone)
set(BIN_STATIC 0) set(BIN_STATIC 0) # TODO Static
# Set binary suffix based on the operating system # Set binary suffix based on the operating system
if(CMAKE_SYSTEM_NAME STREQUAL "Windows") if(CMAKE_SYSTEM_NAME STREQUAL "Windows")

@ -1 +0,0 @@
Subproject commit ad006a3daae65a612ed87415037e32188b81071e

View File

@ -9,8 +9,7 @@
#endif #endif
#include <stdio.h> #include <stdio.h>
#include <stdbool.h> #include <stdbool.h>
#include <SDL2/SDL.h>
#include <SDL.h>
// Define MAX and MIN macros // Define MAX and MIN macros
#define MAX(X, Y) (((X) > (Y)) ? (X) : (Y)) #define MAX(X, Y) (((X) > (Y)) ? (X) : (Y))