From eee8b1e8ce4891a797a746bb96a91f42f0803459 Mon Sep 17 00:00:00 2001 From: Jeffery Myers Date: Sun, 18 May 2025 09:05:17 -0700 Subject: [PATCH] whitespace --- build/premake5.lua | 48 +++++++++++++++++++++++----------------------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/build/premake5.lua b/build/premake5.lua index 4df4cc1..bd4188e 100644 --- a/build/premake5.lua +++ b/build/premake5.lua @@ -1,17 +1,17 @@ newoption { - trigger = "graphics", - value = "OPENGL_VERSION", - description = "version of OpenGL to build raylib against", - allowed = { - { "opengl11", "OpenGL 1.1"}, - { "opengl21", "OpenGL 2.1"}, - { "opengl33", "OpenGL 3.3"}, - { "opengl43", "OpenGL 4.3"}, - { "openges2", "OpenGL ES2"}, - { "openges3", "OpenGL ES3"} - }, - default = "opengl33" + trigger = "graphics", + value = "OPENGL_VERSION", + description = "version of OpenGL to build raylib against", + allowed = { + { "opengl11", "OpenGL 1.1"}, + { "opengl21", "OpenGL 2.1"}, + { "opengl33", "OpenGL 3.3"}, + { "opengl43", "OpenGL 4.3"}, + { "openges2", "OpenGL ES2"}, + { "openges3", "OpenGL ES3"} + }, + default = "opengl33" } function download_progress(total, current) @@ -133,7 +133,7 @@ workspace (workspaceName) if (downloadRaylib) then build_externals() - end + end startproject(workspaceName) @@ -159,22 +159,22 @@ if (downloadRaylib) then { ["Header Files/*"] = { "../include/**.h", "../include/**.hpp", "../src/**.h", "../src/**.hpp"}, ["Source Files/*"] = {"../src/**.c", "src/**.cpp"}, - ["Widows Resoruce Files/*"] = {"../src/**.rc", "src/**.ico"}, + ["Widows Resoruce Files/*"] = {"../src/**.rc", "src/**.ico"}, } - + files {"../src/**.c", "../src/**.cpp", "../src/**.h", "../src/**.hpp", "../include/**.h", "../include/**.hpp"} - filter {"system:windows"} + filter {"system:windows"} files {"../src/*.rc", "../src/*.ico"} - - filter {"system:windows","action:gmake*", "files:**.rc"} - buildmessage 'Compiling Windows Resources %[%{file.relpath}]' + + filter {"system:windows","action:gmake*", "files:**.rc"} + buildmessage 'Compiling Windows Resources %[%{file.relpath}]' - buildcommands { - 'windres.exe "%[%{!file.relpath}]" "%[%{!cfg.objdir}/%{file.basename}.out]" ' - } + buildcommands { + 'windres.exe "%[%{!file.relpath}]" "%[%{!cfg.objdir}/%{file.basename}.out]" ' + } filter{} - + includedirs { "../src" } includedirs { "../include" } @@ -208,7 +208,7 @@ if (downloadRaylib) then links {"OpenGL.framework", "Cocoa.framework", "IOKit.framework", "CoreFoundation.framework", "CoreAudio.framework", "CoreVideo.framework", "AudioToolbox.framework"} filter{} - + project "raylib" kind "StaticLib"