mirror of
https://bitbucket.org/CPMADevs/cnq3
synced 2025-04-05 00:51:05 +00:00
using the CPMADIR env. var to specify the mod directory's name
This commit is contained in:
parent
de19c9beb1
commit
2cfcd8a5e8
3 changed files with 10 additions and 10 deletions
|
@ -456,9 +456,9 @@ local function ApplyExeProjectSettings(exeName, server)
|
|||
local abs_path_exe = string.format("%s\\%s.exe", abs_path_q3, exeName)
|
||||
debugcommand(abs_path_exe)
|
||||
if (server == 1) then
|
||||
debugargs { "+set sv_pure 0" }
|
||||
debugargs { "+set fs_game $(CPMADIR) +set sv_pure 0" }
|
||||
else
|
||||
debugargs { "+set sv_pure 0 +set r_fullscreen 0" }
|
||||
debugargs { "+set fs_game $(CPMADIR) +set sv_pure 0 +set r_fullscreen 0" }
|
||||
end
|
||||
debugdir(abs_path_q3)
|
||||
|
||||
|
|
|
@ -4,24 +4,24 @@
|
|||
<LocalDebuggerCommand>$(QUAKE3DIR)\cnq3-server-x86.exe</LocalDebuggerCommand>
|
||||
<LocalDebuggerWorkingDirectory>$(QUAKE3DIR)</LocalDebuggerWorkingDirectory>
|
||||
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
|
||||
<LocalDebuggerCommandArguments>+set sv_pure 0</LocalDebuggerCommandArguments>
|
||||
<LocalDebuggerCommandArguments>+set fs_game $(CPMADIR) +set sv_pure 0</LocalDebuggerCommandArguments>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug|x64'">
|
||||
<LocalDebuggerCommand>$(QUAKE3DIR)\cnq3-server-x64.exe</LocalDebuggerCommand>
|
||||
<LocalDebuggerWorkingDirectory>$(QUAKE3DIR)</LocalDebuggerWorkingDirectory>
|
||||
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
|
||||
<LocalDebuggerCommandArguments>+set sv_pure 0</LocalDebuggerCommandArguments>
|
||||
<LocalDebuggerCommandArguments>+set fs_game $(CPMADIR) +set sv_pure 0</LocalDebuggerCommandArguments>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release|Win32'">
|
||||
<LocalDebuggerCommand>$(QUAKE3DIR)\cnq3-server-x86.exe</LocalDebuggerCommand>
|
||||
<LocalDebuggerWorkingDirectory>$(QUAKE3DIR)</LocalDebuggerWorkingDirectory>
|
||||
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
|
||||
<LocalDebuggerCommandArguments>+set sv_pure 0</LocalDebuggerCommandArguments>
|
||||
<LocalDebuggerCommandArguments>+set fs_game $(CPMADIR) +set sv_pure 0</LocalDebuggerCommandArguments>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release|x64'">
|
||||
<LocalDebuggerCommand>$(QUAKE3DIR)\cnq3-server-x64.exe</LocalDebuggerCommand>
|
||||
<LocalDebuggerWorkingDirectory>$(QUAKE3DIR)</LocalDebuggerWorkingDirectory>
|
||||
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
|
||||
<LocalDebuggerCommandArguments>+set sv_pure 0</LocalDebuggerCommandArguments>
|
||||
<LocalDebuggerCommandArguments>+set fs_game $(CPMADIR) +set sv_pure 0</LocalDebuggerCommandArguments>
|
||||
</PropertyGroup>
|
||||
</Project>
|
|
@ -4,24 +4,24 @@
|
|||
<LocalDebuggerCommand>$(QUAKE3DIR)\cnq3-x86.exe</LocalDebuggerCommand>
|
||||
<LocalDebuggerWorkingDirectory>$(QUAKE3DIR)</LocalDebuggerWorkingDirectory>
|
||||
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
|
||||
<LocalDebuggerCommandArguments>+set sv_pure 0 +set r_fullscreen 0</LocalDebuggerCommandArguments>
|
||||
<LocalDebuggerCommandArguments>+set fs_game $(CPMADIR) +set sv_pure 0 +set r_fullscreen 0</LocalDebuggerCommandArguments>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug|x64'">
|
||||
<LocalDebuggerCommand>$(QUAKE3DIR)\cnq3-x64.exe</LocalDebuggerCommand>
|
||||
<LocalDebuggerWorkingDirectory>$(QUAKE3DIR)</LocalDebuggerWorkingDirectory>
|
||||
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
|
||||
<LocalDebuggerCommandArguments>+set sv_pure 0 +set r_fullscreen 0</LocalDebuggerCommandArguments>
|
||||
<LocalDebuggerCommandArguments>+set fs_game $(CPMADIR) +set sv_pure 0 +set r_fullscreen 0</LocalDebuggerCommandArguments>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release|Win32'">
|
||||
<LocalDebuggerCommand>$(QUAKE3DIR)\cnq3-x86.exe</LocalDebuggerCommand>
|
||||
<LocalDebuggerWorkingDirectory>$(QUAKE3DIR)</LocalDebuggerWorkingDirectory>
|
||||
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
|
||||
<LocalDebuggerCommandArguments>+set sv_pure 0 +set r_fullscreen 0</LocalDebuggerCommandArguments>
|
||||
<LocalDebuggerCommandArguments>+set fs_game $(CPMADIR) +set sv_pure 0 +set r_fullscreen 0</LocalDebuggerCommandArguments>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release|x64'">
|
||||
<LocalDebuggerCommand>$(QUAKE3DIR)\cnq3-x64.exe</LocalDebuggerCommand>
|
||||
<LocalDebuggerWorkingDirectory>$(QUAKE3DIR)</LocalDebuggerWorkingDirectory>
|
||||
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
|
||||
<LocalDebuggerCommandArguments>+set sv_pure 0 +set r_fullscreen 0</LocalDebuggerCommandArguments>
|
||||
<LocalDebuggerCommandArguments>+set fs_game $(CPMADIR) +set sv_pure 0 +set r_fullscreen 0</LocalDebuggerCommandArguments>
|
||||
</PropertyGroup>
|
||||
</Project>
|
Loading…
Reference in a new issue