Skip to content

Commit 7270e15

Browse files
committed
fixup! Proper letter case for configuration names when generating projects
1 parent 882e571 commit 7270e15

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tools/premake/premake5.lua

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -844,15 +844,15 @@ function pluginSdkExampleProject(projectDir, projectName, projectType, game2, ga
844844

845845
if gameVcUnreal then
846846
filter "platforms:GTA-VC_Unreal"
847-
includedirs (getExamplePluginIncludeFolders("plugin_vc_unreal", "game_vc_unreal", projectType, "", d3dSupport, false, additionalIncludeDirs))
847+
includedirs (getExamplePluginIncludeFolders("Plugin_VC_Unreal", "Game_VC_Unreal", projectType, "", d3dSupport, false, additionalIncludeDirs))
848848
libdirs (getExamplePluginLibraryFolders(projectType, "", d3dSupport, false, additionalLibraryDirs))
849849
defines (getExamplePluginDefines(projectName, "GTAVC_UNREAL", projectType, d3dSupport, additionalDefinitions, "Vice City", "VC", "vc", "Tommy", "Vice City"))
850850
setupDebugger(projectType, "VC_UNREAL", "Gameface\\Binaries\\Win64\\", "ViceCity.exe")
851851
filter { "Release", "platforms:GTA-VC_Unreal" }
852-
links (getExamplePluginLibraries("plugin_vc_unreal", projectType, "", d3dSupport, d3dSupport, additionalLibraries, false))
852+
links (getExamplePluginLibraries("Plugin_VC_Unreal", projectType, "", d3dSupport, d3dSupport, additionalLibraries, false))
853853
targetname (projectName .. ".VC-DE")
854854
filter { "Debug", "platforms:GTA-VC_Unreal" }
855-
links (getExamplePluginLibraries("plugin_vc_unreal", projectType, "", d3dSupport, d3dSupport, additionalLibraries, true))
855+
links (getExamplePluginLibraries("Plugin_VC_Unreal", projectType, "", d3dSupport, d3dSupport, additionalLibraries, true))
856856
targetname (projectName .. ".VC-DE")
857857
filter {}
858858
end
@@ -864,10 +864,10 @@ function pluginSdkExampleProject(projectDir, projectName, projectType, game2, ga
864864
defines (getExamplePluginDefines(projectName, "GTASA_UNREAL", projectType, d3dSupport, additionalDefinitions, "San Andreas", "SA", "sa", "CJ", "San Andreas"))
865865
setupDebugger(projectType, "SA_UNREAL", "Gameface\\Binaries\\Win64\\", "SanAndreas.exe")
866866
filter { "Release", "platforms:GTA-SA_Unreal" }
867-
links (getExamplePluginLibraries("plugin_unreal", projectType, "", d3dSupport, false, additionalLibraries, false))
867+
links (getExamplePluginLibraries("Plugin_Unreal", projectType, "", d3dSupport, false, additionalLibraries, false))
868868
targetname (projectName .. ".SA-DE")
869869
filter { "Debug", "platforms:GTA-SA_Unreal" }
870-
links (getExamplePluginLibraries("plugin", projectType, "", d3dSupport, false, additionalLibraries, true))
870+
links (getExamplePluginLibraries("Plugin_Unreal", projectType, "", d3dSupport, false, additionalLibraries, true))
871871
targetname (projectName .. ".SA-DE")
872872
filter {}
873873
end
@@ -927,7 +927,7 @@ function getSdkVerInfo()
927927
end
928928

929929
function generateNewPluginSource(projectDir, projectName, projectType, game2, game3, gameVc, gameSa, game4, game3Unreal, gameVcUnreal, gameSaUnreal)
930-
-- classis trilogy helper variables
930+
-- classic trilogy helper variables
931931
local trilogyDefs = {}
932932
if game3 then table.insert(trilogyDefs, "GTA3") end
933933
if gameVc then table.insert(trilogyDefs, "GTAVC") end

0 commit comments

Comments
 (0)