Merge branch 'main' of github.com:raylib-extras/raylib-quickstart
This commit is contained in:
@@ -86,7 +86,9 @@ function platform_defines()
|
||||
filter{}
|
||||
end
|
||||
|
||||
raylib_dir = "external/raylib-master"
|
||||
-- if you don't want to download raylib, then set this to false, and set the raylib dir to where you want raylib to be pulled from, must be full sources.
|
||||
downloadRaylib = true
|
||||
raylib_dir = "external/raylib-master"
|
||||
|
||||
workspaceName = 'MyGame'
|
||||
baseName = path.getbasename(path.getdirectory(os.getcwd()));
|
||||
@@ -103,6 +105,7 @@ if (os.isdir('external') == false) then
|
||||
os.mkdir('external')
|
||||
end
|
||||
|
||||
|
||||
workspace (workspaceName)
|
||||
location "../"
|
||||
configurations { "Debug", "Release", "Debug_RGFW", "Release_RGFW"}
|
||||
@@ -128,7 +131,9 @@ workspace (workspaceName)
|
||||
|
||||
targetdir "bin/%{cfg.buildcfg}/"
|
||||
|
||||
if (downloadRaylib) then
|
||||
build_externals()
|
||||
end
|
||||
|
||||
startproject(workspaceName)
|
||||
|
||||
|
||||
19
src/main.c
19
src/main.c
@@ -3,24 +3,7 @@ Raylib example file.
|
||||
This is an example main file for a simple raylib project.
|
||||
Use this as a starting point or replace it with your code.
|
||||
|
||||
For a C++ project simply rename the file to .cpp and re-run the build script
|
||||
|
||||
-- Copyright (c) 2020-2024 Jeffery Myers
|
||||
--
|
||||
--This software is provided "as-is", without any express or implied warranty. In no event
|
||||
--will the authors be held liable for any damages arising from the use of this software.
|
||||
|
||||
--Permission is granted to anyone to use this software for any purpose, including commercial
|
||||
--applications, and to alter it and redistribute it freely, subject to the following restrictions:
|
||||
|
||||
-- 1. The origin of this software must not be misrepresented; you must not claim that you
|
||||
-- wrote the original software. If you use this software in a product, an acknowledgment
|
||||
-- in the product documentation would be appreciated but is not required.
|
||||
--
|
||||
-- 2. Altered source versions must be plainly marked as such, and must not be misrepresented
|
||||
-- as being the original software.
|
||||
--
|
||||
-- 3. This notice may not be removed or altered from any source distribution.
|
||||
by Jeffery Myers is marked with CC0 1.0. To view a copy of this license, visit https://creativecommons.org/publicdomain/zero/1.0/
|
||||
|
||||
*/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user