Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
doxverilog
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
doxverilog
Commits
80f45b62
Commit
80f45b62
authored
Apr 04, 2007
by
Dimitri van Heesch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Batch file to generate VERSION and version.cpp from the configure script
parent
66353e2e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
0 deletions
+24
-0
version.bat
winbuild/version.bat
+24
-0
No files found.
winbuild/version.bat
0 → 100644
View file @
80f45b62
@for /F "tokens=1* delims== " %%i in (..\configure) do @call :oneline "%%i" "%%j"
@if "%mnt%"=="NO" goto :writereleaseversion
@goto :writecvsversion
:oneline
@if "-%~1"=="-doxygen_version_major" call :aset major %2
@if "-%~1"=="-doxygen_version_minor" call :aset minor %2
@if "-%~1"=="-doxygen_version_revision" call :aset revision %2
@if "-%~1"=="-doxygen_version_mmn" call :aset mnt %2
@goto :EOF
:aset
@set %1=%~2
@goto :EOF
:writecvsversion
echo %major%.%minor%.%revision%-%mnt%>..\VERSION
echo char versionString[]="%major%.%minor%.%revision%-%mnt%";>..\src\version.cpp
@goto :EOF
:writereleaseversion
echo %major%.%minor%.%revision%>..\VERSION
echo char versionString[]="%major%.%minor%.%revision%";>..\src\version.cpp
@goto :EOF
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment