ae0ff0bd62
- [FIX] Afegits defines de Lua per a cada SO
44 lines
1.0 KiB
Plaintext
44 lines
1.0 KiB
Plaintext
[linux_debug] default
|
|
libs = -lSDL3
|
|
cppflags = -D LUA_USE_LINUX -D DEBUG -g -Wall
|
|
executable = ascii_debug
|
|
sourcepath = . lua
|
|
buildpath = build
|
|
|
|
[linux]
|
|
libs = -lSDL3
|
|
cppflags = -D LUA_USE_LINUX -g -Wall -Os -ffunction-sections -fdata-sections
|
|
executable = ascii
|
|
sourcepath = . lua
|
|
buildpath = build
|
|
|
|
[windows]
|
|
cppflags = -D LUA_USE_WINDOWS -Wall -Os -ffunction-sections -fdata-sections
|
|
libs = -Wl,--gc-sections -lmingw32 -lSDL3 -static-libstdc++ -static-libgcc -lpthread -mwindows
|
|
executable = ascii.exe
|
|
sourcepath = . lua
|
|
buildpath = build
|
|
|
|
[windows_debug]
|
|
cppflags = -D LUA_USE_WINDOWS -D DEBUG -g -Wall
|
|
libs = -lmingw32 -lSDL3
|
|
executable = ascii_debug.exe
|
|
sourcepath = . lua
|
|
buildpath = build
|
|
|
|
[macos]
|
|
compiler = clang++
|
|
cppflags = -D LUA_USE_MACOS -Wall -Os -Wno-deprecated -ffunction-sections -fdata-sections
|
|
libs = -lSDL3
|
|
executable = ascii
|
|
sourcepath = . lua
|
|
buildpath = build
|
|
|
|
[macos_debug]
|
|
compiler = clang++
|
|
cppflags = -D LUA_USE_MACOS -D DEBUG -g -Wall -Wno-deprecated
|
|
libs = -lSDL3
|
|
executable = ascii_debug
|
|
sourcepath = . lua
|
|
buildpath = build
|