Small update

-minor changes to premake script
This commit is contained in:
Joseph Aquino 2025-06-22 16:06:08 -04:00
parent 573aa69d3b
commit abf26355dd
2 changed files with 5 additions and 7 deletions

View File

@ -1,6 +1,6 @@
MIT License
Copyright (c) [year] [fullname]
Copyright (c) 2025 Joseph Aquino
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal

View File

@ -14,7 +14,7 @@ local vs_intdir = "$(SolutionDir)intermediate-files/" .. outputdir
local intdir = "%{wks.location}/intermediate-files/" .. outputdir
local vs_bindir = "$(SolutionDir)bin/" .. outputdir
local bindir = "%{wks.location}/bin/" .. outputdir
local linuxlibdir = "%{wks.location}/vendor/SFML/lib/linux"
--local linuxlibdir =
local vs_libreldir = "$(SolutionDir)vendor/SFML/lib/MinSizeRel"
local libreldir = "%{wks.location}/vendor/SFML/lib/MinSizeRel"
local vs_libdebugdir = "$(SolutionDir)vendor/SFML/lib/Debug"
@ -29,7 +29,6 @@ local includedir = "%{wks.location}/include"
project "fake-mario"
cppdialect "C++17"
language "C++"
defines "SFML_STATIC"
files
{
@ -45,7 +44,7 @@ project "fake-mario"
--visual studio--
filter {"action:vs*", "system:windows"}
targetdir (vs_bindir )
targetdir (vs_bindir)
objdir (vs_intdir)
staticruntime "on"
includedirs
@ -82,6 +81,7 @@ project "fake-mario"
--platform specific settings--
filter{"system:windows"}
systemversion "latest"
defines "SFML_STATIC"
defines "PLATFORM_WINDOWS"
filter {"system:windows", "configurations:debug"}
@ -136,7 +136,6 @@ project "fake-mario"
filter {"system:linux"}
targetdir (bindir)
objdir (intdir)
libdirs{linuxlibdir}
includedirs
{
includedir,
@ -152,8 +151,7 @@ project "fake-mario"
"sfml-audio",
"sfml-network",
"sfml-system",
"OpenGL"
"OpenGL",
}
filter {"system:linux" , "configurations:debug"}