aboutsummaryrefslogtreecommitdiff
path: root/win32/build-tcc.bat
diff options
context:
space:
mode:
authorseyko <seyko2@gmail.com>2016-04-13 06:29:24 +0300
committerseyko <seyko2@gmail.com>2016-04-13 06:29:24 +0300
commit52d194a1e6878a2a859bfa5a250e53a1e57be048 (patch)
treeccc590058735f64a6f837df7895df80df42e8ecd /win32/build-tcc.bat
parentb5b3e89f9e6735eb33eedd2b3071acd38222ee04 (diff)
downloadtinycc-52d194a1e6878a2a859bfa5a250e53a1e57be048.tar.gz
tinycc-52d194a1e6878a2a859bfa5a250e53a1e57be048.tar.bz2
VS2015 solution and project files
From: Vlad Vissoultchev Date: Mon, 11 Apr 2016 01:32:28 +0300 Subject: Add VS2015 solution and project files to `win32/vs2015` directory This allows release/debug builds for both x86 and x64 targets. Some warnings had to be suppressed. Output libtcc.dll and tcc.exe are copied to parent `win32` directory w/ a post-build action.
Diffstat (limited to 'win32/build-tcc.bat')
-rw-r--r--win32/build-tcc.bat5
1 files changed, 3 insertions, 2 deletions
diff --git a/win32/build-tcc.bat b/win32/build-tcc.bat
index 7713e69..e5caf3b 100644
--- a/win32/build-tcc.bat
+++ b/win32/build-tcc.bat
@@ -63,10 +63,11 @@ tiny_libmaker lib/libtcc1.a libtcc1.o alloca86_64.o crt1.o wincrt1.o dllcrt1.o d
del *.o
:makedoc
-where makeinfo > nul 2>&1 || goto :skip_makedoc
+for /f "delims=" %%i in ('where makeinfo') do set minfo=perl "%%~i"
+if "%minfo%"=="" goto :skip_makedoc
echo>..\config.texi @set VERSION %VERSION%
if not exist doc md doc
-makeinfo --html --no-split -o doc\tcc-doc.html ../tcc-doc.texi
+%minfo% --html --no-split -o doc\tcc-doc.html ../tcc-doc.texi
copy tcc-win32.txt doc
copy ..\tests\libtcc_test.c examples
:skip_makedoc