From 914f5ec9ba0124edd95f76cfb4f56eb32060d364 Mon Sep 17 00:00:00 2001
From: MaxED <j.maxed@gmail.com>
Date: Fri, 23 Jan 2015 12:49:37 +0000
Subject: [PATCH] Updated setup and automatic build files.

---
 MakeRelease.bat           | 8 ++++++++
 MakeSVNRelease.bat        | 8 ++++++++
 Setup/gzbuilder_setup.iss | 1 +
 3 files changed, 17 insertions(+)

diff --git a/MakeRelease.bat b/MakeRelease.bat
index facd8208d..d396d52a3 100644
--- a/MakeRelease.bat
+++ b/MakeRelease.bat
@@ -105,6 +105,14 @@ msbuild "Source\Plugins\NodesViewer\NodesViewer.csproj" /t:Rebuild /p:Configurat
 IF %ERRORLEVEL% NEQ 0 GOTO ERRORFAIL
 IF NOT EXIST "Build\Plugins\NodesViewer.dll" GOTO FILEFAIL
 
+ECHO.
+ECHO Compiling Sound Propagation Mode plugin...
+ECHO.
+IF EXIST "Build\Plugins\SoundPropagationMode.dll" DEL /F /Q "Build\Plugins\SoundPropagationMode.dll" > NUL
+msbuild "Source\Plugins\SoundPropagationMode\SoundPropagation.csproj" /t:Rebuild /p:Configuration=Release /p:Platform=x86 /v:minimal
+IF %ERRORLEVEL% NEQ 0 GOTO ERRORFAIL
+IF NOT EXIST "Build\Plugins\SoundPropagationMode.dll" GOTO FILEFAIL
+
 ECHO.
 ECHO Compiling Tag Explorer plugin...
 ECHO.
diff --git a/MakeSVNRelease.bat b/MakeSVNRelease.bat
index 7d2ca8f5b..258661fca 100644
--- a/MakeSVNRelease.bat
+++ b/MakeSVNRelease.bat
@@ -105,6 +105,14 @@ msbuild "Source\Plugins\NodesViewer\NodesViewer.csproj" /t:Rebuild /p:Configurat
 IF %ERRORLEVEL% NEQ 0 GOTO ERRORFAIL
 IF NOT EXIST "Build\Plugins\NodesViewer.dll" GOTO FILEFAIL
 
+ECHO.
+ECHO Compiling Sound Propagation Mode plugin...
+ECHO.
+IF EXIST "Build\Plugins\SoundPropagationMode.dll" DEL /F /Q "Build\Plugins\SoundPropagationMode.dll" > NUL
+msbuild "Source\Plugins\SoundPropagationMode\SoundPropagation.csproj" /t:Rebuild /p:Configuration=Release /p:Platform=x86 /v:minimal
+IF %ERRORLEVEL% NEQ 0 GOTO ERRORFAIL
+IF NOT EXIST "Build\Plugins\SoundPropagationMode.dll" GOTO FILEFAIL
+
 ECHO.
 ECHO Compiling Tag Explorer plugin...
 ECHO.
diff --git a/Setup/gzbuilder_setup.iss b/Setup/gzbuilder_setup.iss
index 9e9e12e5d..a88eee88d 100644
--- a/Setup/gzbuilder_setup.iss
+++ b/Setup/gzbuilder_setup.iss
@@ -54,6 +54,7 @@ Source: Plugins\BuilderEffects.dll; DestDir: {app}\Plugins; Flags: ignoreversion
 Source: Plugins\ColorPicker.dll; DestDir: {app}\Plugins; Flags: ignoreversion
 Source: Plugins\CommentsPanel.dll; DestDir: {app}\Plugins; Flags: ignoreversion
 Source: Plugins\NodesViewer.dll; DestDir: {app}\Plugins; Flags: ignoreversion
+Source: Plugins\SoundPropagationMode.dll; DestDir: {app}\Plugins; Flags: ignoreversion
 Source: Plugins\TagExplorer.dll; DestDir: {app}\Plugins; Flags: ignoreversion
 Source: Plugins\TagRange.dll; DestDir: {app}\Plugins; Flags: ignoreversion
 Source: Plugins\VisplaneExplorer.dll; DestDir: {app}\Plugins; Flags: ignoreversion
-- 
GitLab