From 698b94a78673f4355fa2a99ccb0c7e1a26c1d811 Mon Sep 17 00:00:00 2001 From: Clayton <42688647+netadr@users.noreply.github.com> Date: Sat, 9 Apr 2022 01:15:51 -0400 Subject: [PATCH] Add debug-dir option for setting the VS working directory (#43) --- premake5.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/premake5.lua b/premake5.lua index 9823d960..fc9e6e5b 100644 --- a/premake5.lua +++ b/premake5.lua @@ -321,6 +321,10 @@ if _OPTIONS["copy-to"] then postbuildcommands {"copy /y \"$(TargetPath)\" \"" .. _OPTIONS["copy-to"] .. "\""} end +if _OPTIONS["debug-dir"] then + debugdir ( _OPTIONS["debug-dir"] ) +end + dependencies.imports() project "tlsdll"