- [NEW] Lua ara es una llibreria estàtica, pa no compilarlo cada vegada (Linux, falta en Windows) - [FIX] Arreglats mig kilo de warnings - [FIX] include <mutex> per a lua.debug
28 lines
873 B
Plaintext
28 lines
873 B
Plaintext
[linux]
|
|
cppflags = -D LUA_USE_LINUX -Wall -Os -ffunction-sections -fdata-sections -std=c++20 -Isource
|
|
libs = -Wl,--gc-sections -lSDL3 -lGL -Lsource/external/lua -llua -ldl -lm
|
|
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 -Lsource/external/lua -llua -ldl -lm
|
|
executable = mini_debug
|
|
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
|