From 516f043a437bb553f733967793b6e8fe1163bb19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Tue, 19 Jan 2016 13:46:21 +0100 Subject: [PATCH] times-vs.py: Added usage instructions --- tools/times-vs.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/tools/times-vs.py b/tools/times-vs.py index 0c836a622..2e542af82 100644 --- a/tools/times-vs.py +++ b/tools/times-vs.py @@ -1,4 +1,20 @@ +# Times script using Visual Studio compiler in Windows +# +# This script assumes that you have: +# Python 3 +# Visual Studio (script assumes VS2013, manipulate the sed command otherwise) +# Cygwin64 for the sed command +# Command line svn. TortoiseSVN with that feature selected works. +# +# Usage: +# Open VS command prompt. +# cd c:\users\... +# svn checkout https://github.com/danmar/cppcheck/trunk cppcheck-svn +# cd cppcheck-svn +# c:\python34\python.exe times-vs.py rev1:rev2 + + import subprocess import glob import re