aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2014-05-01 23:14:59 +0100
committerSteve Holme <steve_holme@hotmail.com>2014-05-01 23:23:50 +0100
commit96876b371bff2f82de6774dcba5c6ea7b75127c8 (patch)
tree95014ea785e80104431190e592feb1227f871ddd
parentdce748d3f1643cd7f7b95122982a4d603ce1b5af (diff)
build: Fixed Visual Studio project file generator missing some files
As of commit 6cdd88f22c the Visual Studio project file generator would skip the first and last file from each group of files.
-rw-r--r--projects/generate.bat4
1 files changed, 2 insertions, 2 deletions
diff --git a/projects/generate.bat b/projects/generate.bat
index fed472e04..8a0368c44 100644
--- a/projects/generate.bat
+++ b/projects/generate.bat
@@ -126,6 +126,8 @@ rem
set "TABS= "
)
+ call :extension %3 ext
+
if "%1" == "dsp" (
echo # Begin Source File>> %4
echo.>> %4
@@ -141,8 +143,6 @@ rem
echo %TABS%^>>> %4
echo %TABS%^</File^>>> %4
) else if "%1" == "vcxproj" (
- call :extension %3 ext
-
if "%ext%" == "c" (
echo %SPACES%^<ClCompile Include=^"..\..\..\..\%2\%~3^" /^>>> %4
) else if "%ext%" == "h" (