summaryrefslogtreecommitdiff
path: root/win32/genversion.bat
Commit message (Collapse)AuthorAgeFilesLines
* genversion.bat: generate same version as update_versionRicardo Constantino2016-11-171-16/+7
| | | | | | | | | | | | | | Remove version.mk and references to it in the repo. genversion.bat will now generate the same version strings as update_version script, i.e. without 'v' prefix and without a fallback if git archive is used. If run from a release tarball it'll use package_version, like configure. If run from a git repo, it will use the same 'git describe' with '-dirty' as update_version. Signed-off-by: Ralph Giles <giles@thaumas.net>
* Add ~ to the arguments of genversion.batJoshua Milas2014-07-031-6/+6
| | | | | | | | | | | | genversion.bat would fail if an argument was passed with quotations. This is because the quotations were not being stripped before using them as variables, causing the _temp files not being created. Adding ~ to the arguments causes windows to strip the quotations, enabling it to be used with path names containing spaces and the MSVS pre-build event. Signed-off-by: Ralph Giles <giles@mozilla.com>
* Drop the use of --always to git-describeRon2013-11-281-1/+1
| | | | | | | This is a partial revert of c435f06b308e52d7a5d2aad9eec98a1541832b47, since it didn't actually fix the original problem with shallow clones. It returns just a hash, not something we (currently) can extract as a version string in the form things are expecting.
* Don't use --dirty in genversion.bat.Ralph Giles2013-10-011-1/+1
| | | | | | | This script updates version.mk, which is under version control, so the tree is always dirty. Until the script is updated to write package_version instead, incorporating version.mk as a fallback the way update_version does, it's better not to use --dirty.
* Pass --always to git describe.Ralph Giles2013-10-011-2/+2
| | | | | This generates a useful version string even for --depth=1 checkouts. The option was added in git v1.6.6.
* Big squashed commit of Garf's MSVC reorg:Jean-Marc Valin2013-06-271-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit 77880655f652c54415e4b5f03b5984b951f5267b Author: Timothy B. Terriberry <tterribe@xiph.org> Date: Wed Jun 26 12:23:53 2013 +0200 Fix version.mk parsing in genversion.bat. This was broken by the changes in 0482c82f to make it work with spaces. CMD interprets the quotes to mean the argument to FOR is a string, not a file name. Instead, we expand the path to a short file name. Signed-off-by: Gian-Carlo Pascutto <gcp@sjeng.org> commit 8e97847ecac3a04956747b117fefef14939cbcbe Merge: 0482c82 3c0aa8f Author: Gian-Carlo Pascutto <gcp@sjeng.org> Date: Wed Jun 26 12:19:41 2013 +0200 Merge branch 'master' into msvc_reorg commit 0482c82fea6dd397a7d2ab50dc6cda4965278fc2 Author: Gian-Carlo Pascutto <gcp@sjeng.org> Date: Tue May 21 17:59:30 2013 +0200 Make genversion.bat work in paths with spaces. commit 3648ec55b7511119735280fc49bc57c7a3b55d6a Author: Gian-Carlo Pascutto <gcp@sjeng.org> Date: Tue May 21 17:42:14 2013 +0200 Rework output & intermediate dirs for parallel build support. commit c367a0fcfcbf5551fb65d61365d9b832d7af2b38 Merge: bafb1dd b518b56 Author: Gian-Carlo Pascutto <gcp@sjeng.org> Date: Tue May 21 14:17:11 2013 +0200 Merge branch 'master' into msvc_reorg Conflicts: win32/VS2010/celt.vcxproj win32/VS2010/opus.vcxproj win32/VS2010/silk_common.vcxproj win32/VS2010/silk_float.vcxproj commit bafb1dda3fcf6785decdfb42a1f934c7fab0c567 Author: Gian-Carlo Pascutto <gcp@sjeng.org> Date: Mon Mar 11 21:25:28 2013 +0100 Fix two more files to not have the Platform Toolset explicitly set. commit c69c870201fec7461862fe79731a37866a1810f1 Author: Gian-Carlo Pascutto <gcp@sjeng.org> Date: Mon Mar 11 21:08:00 2013 +0100 Add missing SILK MSVC project files. commit a0d41fb7f97558c8f812d500b9027c77907c37c0 Author: Gian-Carlo Pascutto <gcp@sjeng.org> Date: Fri Mar 8 15:00:51 2013 +0100 Use the default toolset in the MSVC project files. commit 34aac5b2637ed38c5620f0d876e08db232849933 Author: Gian-Carlo Pascutto <gcp@sjeng.org> Date: Fri Mar 8 14:54:41 2013 +0100 Move the MSVC project files outside the source tree. Bring the project structure more in line with the one in libogg.
* genversion now adds the header comment to version.mkChris Moeller2012-08-161-1/+2
|
* Updated Win32 genversion.bat to generate version.mk if Git is found, use it ↵Chris Moeller2012-08-161-1/+29
| | | | if it isn't, and produce unknown version and leave it untouched if it isn't already found
* Fixes MSVC projects and adds git version generator toolChris Moeller2012-07-201-0/+17