- [FIX] Memory leaks en gif.h - [FIX] Memory leak en backends/SDL3/input.cpp - [FIX] Bugaco enorme i silenciós en file.cpp - [FIX] Els arxius de font s'han de carregar com a arxius de text - [NEW] Afegit perfil 'linux_sanitize' per a detectar problemes de memòria
51 lines
1.4 KiB
Plaintext
51 lines
1.4 KiB
Plaintext
[linux]
|
|
cppflags = -D LUA_USE_LINUX -Wall -Os -ffunction-sections -fdata-sections -std=c++20 -Isource
|
|
libs = -Wl,--gc-sections -lSDL3 -lGL
|
|
executable = mini
|
|
sourcepath = source+
|
|
buildpath = build
|
|
|
|
[linux_debug] default
|
|
cppflags = -D LUA_USE_LINUX -D DEBUG -g -Wall -std=c++20 -Isource
|
|
libs = -lSDL3 -lGL
|
|
executable = mini_debug
|
|
sourcepath = source+
|
|
buildpath = build
|
|
|
|
[linux_sanitize] default
|
|
cppflags = -D LUA_USE_LINUX -D DEBUG -g -Wall -std=c++20 -fsanitize=address -fno-omit-frame-pointer -Isource
|
|
libs = -fsanitize=address -lSDL3 -lGL
|
|
executable = mini_san
|
|
sourcepath = source+
|
|
buildpath = build
|
|
|
|
[windows]
|
|
cppflags = -Wall -Os -ffunction-sections -fdata-sections -std=c++20 -Isource
|
|
libs = icon.res -Wl,--gc-sections -lmingw32 -lSDL3 -lopengl32 -static-libstdc++ -static-libgcc -lpthread -mwindows
|
|
executable = mini.exe
|
|
sourcepath = source+
|
|
buildpath = build
|
|
|
|
[windows_debug]
|
|
cppflags = -D DEBUG -g -Wall -std=c++20 -Isource
|
|
libs = -lmingw32 -lSDL3 -lopengl32
|
|
executable = mini_debug.exe
|
|
sourcepath = source+
|
|
buildpath = build
|
|
|
|
[macos]
|
|
compiler = clang++
|
|
cppflags = -Wall -Os -Wno-deprecated -ffunction-sections -fdata-sections -std=c++20 -Isource
|
|
libs = -lSDL3 -framework OpenGL
|
|
executable = mini
|
|
sourcepath = source+
|
|
buildpath = build
|
|
|
|
[macos_debug]
|
|
compiler = clang++
|
|
cppflags = -D DEBUG -g -Wall -Wno-deprecated -std=c++20 -Isource
|
|
libs = -lSDL3 -framework OpenGL
|
|
executable = mini_debug
|
|
sourcepath = source+
|
|
buildpath = build
|