Limitation - Dependent projects need to set NAZARA_PLATFORM_SDL2 if nazara has been build with SDL2 since OpenGL.hpp (and maybe some other headers) exposes platform details - SDL2 window doesn't supports async window since the API isn't fitting for now - Contexts parameters can't be changed until we close all the SDL windows (SDL limitation)
18 lines
254 B
Lua
18 lines
254 B
Lua
EXAMPLE.Name = "MeshInfos"
|
|
|
|
EXAMPLE.EnableConsole = true
|
|
|
|
EXAMPLE.Files = {
|
|
"main.cpp"
|
|
}
|
|
|
|
EXAMPLE.Libraries = {
|
|
"NazaraCore",
|
|
"NazaraPlatform",
|
|
"NazaraUtility"
|
|
}
|
|
|
|
if Config.PlatformSDL2 then
|
|
table.insert(EXAMPLE.Defines, "NAZARA_PLATFORM_SDL2")
|
|
end
|