mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-13 15:50:59 +00:00
FS-11298: [Build-System] Fix Win32 build under Visual Studio.
This commit is contained in:
parent
3931e8b68c
commit
13421eea17
@ -143,7 +143,7 @@ if not exist "$(ProjectDir)$(IntDir)\auth_client.obj" "autogen.cmd"
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<PreBuildEvent>
|
||||
<Command>icd /D "$(ProjectDir)..\..\sofia-sip\win32\"
|
||||
<Command>cd /D "$(ProjectDir)..\..\sofia-sip\win32\"
|
||||
set AWK="$(ProjectDir)..\..\sofia-sip\win32\gawk.exe"
|
||||
if not exist "$(ProjectDir)..\..\sofia-sip\libsofia-sip-ua\http\http_parser_table.c" "autogen.cmd"
|
||||
if not exist "$(ProjectDir)$(IntDir)\auth_client.obj" "autogen.cmd"
|
||||
|
@ -33,7 +33,9 @@ using Microsoft.Build.Framework;
|
||||
/*SoundsDir = Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData);
|
||||
SoundsDir += "\\FreeSWITCH\\sounds"; */
|
||||
|
||||
SoundsDir = @"$(SolutionDir)$(Platform)\$(Configuration)\sounds";
|
||||
string platform = (@"$(Platform)" == "x86") ? "Win32" : @"$(Platform)";
|
||||
|
||||
SoundsDir = @"$(SolutionDir)" + platform + @"\$(Configuration)\sounds";
|
||||
|
||||
Directory.CreateDirectory(SoundsDir);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user