BFR 2 (Big Fucking Restructureixon) (dos)
Este es el primer commit de la reestructuració. En caso de pánico, tornar al commit anterior. - [FIX] Llevada basura varia (pos no en queda...) - [NEW] mogut el codi font a ./source/ - [NEW] lagueirtofile nou per a compilar en windows y linux, release i debug. mac res, que no se ni si funciona lagueirto. - [NEW] WARNING!!! make ja no funciona. Mantinc encara el Makefile per a referència.
This commit is contained in:
@@ -1,5 +1,27 @@
|
||||
libs = -lSDL3 -lGL
|
||||
cppflags = -D LUA_USE_LINUX -D DEBUG -g -Wall -std=c++20
|
||||
executable = mini_debug
|
||||
sourcepath = . lua
|
||||
[linux]
|
||||
cppflags = -D LUA_USE_LINUX -Wall -Os -ffunction-sections -fdata-sections -std=c++20
|
||||
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
|
||||
libs = -lSDL3 -lGL
|
||||
executable = mini_debug
|
||||
sourcepath = source+
|
||||
buildpath = build
|
||||
|
||||
[windows]
|
||||
cppflags = -Wall -Os -ffunction-sections -fdata-sections -std=c++20
|
||||
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
|
||||
libs = -lmingw32 -lSDL3 -lopengl32
|
||||
executable = mini_debug.exe
|
||||
sourcepath = source+
|
||||
buildpath = build
|
||||
|
||||
Reference in New Issue
Block a user