Skip to content

Commit

Permalink
Fixed dependir usage in postbuildcommands
Browse files Browse the repository at this point in the history
  • Loading branch information
adriengivry committed Mar 19, 2024
1 parent a1f2b9e commit 2d260a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Sources/Overload/OvEditor/premake5.lua
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ project "OvEditor"
debugdir "%{wks.location}/../../Build/%{cfg.buildcfg}"

postbuildcommands {
"for /f \"delims=|\" %%i in ('dir /B /S \"%{dependdir}*.dll\"') do xcopy /Q /Y \"%%i\" \"%{outputdir}%{cfg.buildcfg}\\%{prj.name}\"",
"for /f \"delims=|\" %%i in ('dir /B /S \"%{dependdir}\\*.dll\"') do xcopy /Q /Y \"%%i\" \"%{outputdir}%{cfg.buildcfg}\\%{prj.name}\"",

"rmdir /s /q \"%{builddir}%{cfg.buildcfg}\\Data\"",

Expand Down
2 changes: 1 addition & 1 deletion Sources/Overload/OvGame/premake5.lua
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ project "OvGame"
characterset ("MBCS")

postbuildcommands {
"for /f \"delims=|\" %%i in ('dir /B /S \"%{dependdir}*.dll\"') do xcopy /Q /Y \"%%i\" \"%{builddir}%{cfg.buildcfg}\\%{prj.name}\"",
"for /f \"delims=|\" %%i in ('dir /B /S \"%{dependdir}\\*.dll\"') do xcopy /Q /Y \"%%i\" \"%{builddir}%{cfg.buildcfg}\\%{prj.name}\"",

"xcopy /Y /I /Q /D \"%{outputdir}Debug\\%{prj.name}\\*.exe\" \"%{builddir}%{cfg.buildcfg}\\Builder\\Development\"",
"xcopy /Y /I /Q /D \"%{outputdir}Debug\\%{prj.name}\\*.dll\" \"%{builddir}%{cfg.buildcfg}\\Builder\\Development\"",
Expand Down

0 comments on commit 2d260a9

Please sign in to comment.