whitespace
This commit is contained in:
@@ -1,17 +1,17 @@
|
|||||||
newoption
|
newoption
|
||||||
{
|
{
|
||||||
trigger = "graphics",
|
trigger = "graphics",
|
||||||
value = "OPENGL_VERSION",
|
value = "OPENGL_VERSION",
|
||||||
description = "version of OpenGL to build raylib against",
|
description = "version of OpenGL to build raylib against",
|
||||||
allowed = {
|
allowed = {
|
||||||
{ "opengl11", "OpenGL 1.1"},
|
{ "opengl11", "OpenGL 1.1"},
|
||||||
{ "opengl21", "OpenGL 2.1"},
|
{ "opengl21", "OpenGL 2.1"},
|
||||||
{ "opengl33", "OpenGL 3.3"},
|
{ "opengl33", "OpenGL 3.3"},
|
||||||
{ "opengl43", "OpenGL 4.3"},
|
{ "opengl43", "OpenGL 4.3"},
|
||||||
{ "openges2", "OpenGL ES2"},
|
{ "openges2", "OpenGL ES2"},
|
||||||
{ "openges3", "OpenGL ES3"}
|
{ "openges3", "OpenGL ES3"}
|
||||||
},
|
},
|
||||||
default = "opengl33"
|
default = "opengl33"
|
||||||
}
|
}
|
||||||
|
|
||||||
function download_progress(total, current)
|
function download_progress(total, current)
|
||||||
@@ -133,7 +133,7 @@ workspace (workspaceName)
|
|||||||
|
|
||||||
if (downloadRaylib) then
|
if (downloadRaylib) then
|
||||||
build_externals()
|
build_externals()
|
||||||
end
|
end
|
||||||
|
|
||||||
startproject(workspaceName)
|
startproject(workspaceName)
|
||||||
|
|
||||||
@@ -159,22 +159,22 @@ if (downloadRaylib) then
|
|||||||
{
|
{
|
||||||
["Header Files/*"] = { "../include/**.h", "../include/**.hpp", "../src/**.h", "../src/**.hpp"},
|
["Header Files/*"] = { "../include/**.h", "../include/**.hpp", "../src/**.h", "../src/**.hpp"},
|
||||||
["Source Files/*"] = {"../src/**.c", "src/**.cpp"},
|
["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"}
|
files {"../src/**.c", "../src/**.cpp", "../src/**.h", "../src/**.hpp", "../include/**.h", "../include/**.hpp"}
|
||||||
|
|
||||||
filter {"system:windows"}
|
filter {"system:windows"}
|
||||||
files {"../src/*.rc", "../src/*.ico"}
|
files {"../src/*.rc", "../src/*.ico"}
|
||||||
|
|
||||||
filter {"system:windows","action:gmake*", "files:**.rc"}
|
filter {"system:windows","action:gmake*", "files:**.rc"}
|
||||||
buildmessage 'Compiling Windows Resources %[%{file.relpath}]'
|
buildmessage 'Compiling Windows Resources %[%{file.relpath}]'
|
||||||
|
|
||||||
buildcommands {
|
buildcommands {
|
||||||
'windres.exe "%[%{!file.relpath}]" "%[%{!cfg.objdir}/%{file.basename}.out]" '
|
'windres.exe "%[%{!file.relpath}]" "%[%{!cfg.objdir}/%{file.basename}.out]" '
|
||||||
}
|
}
|
||||||
filter{}
|
filter{}
|
||||||
|
|
||||||
includedirs { "../src" }
|
includedirs { "../src" }
|
||||||
includedirs { "../include" }
|
includedirs { "../include" }
|
||||||
|
|
||||||
@@ -208,7 +208,7 @@ if (downloadRaylib) then
|
|||||||
links {"OpenGL.framework", "Cocoa.framework", "IOKit.framework", "CoreFoundation.framework", "CoreAudio.framework", "CoreVideo.framework", "AudioToolbox.framework"}
|
links {"OpenGL.framework", "Cocoa.framework", "IOKit.framework", "CoreFoundation.framework", "CoreAudio.framework", "CoreVideo.framework", "AudioToolbox.framework"}
|
||||||
|
|
||||||
filter{}
|
filter{}
|
||||||
|
|
||||||
|
|
||||||
project "raylib"
|
project "raylib"
|
||||||
kind "StaticLib"
|
kind "StaticLib"
|
||||||
|
|||||||
Reference in New Issue
Block a user