version identifier can be disabled with semicolon or dblbackslashes

This commit is contained in:
Basile Burg 2014-11-01 13:36:51 +01:00
parent 979fb0e4c3
commit 8848f28cab
1 changed files with 7 additions and 1 deletions

View File

@ -567,8 +567,14 @@ begin
if fAllInst then aList.Add('-allinst');
if fMain then aList.Add('-main');
if fRelease then aList.Add('-release');
for opt in fVerIds do
for opt in fVerIds do begin
if opt[1] = ';' then
continue;
if length(opt) > 1 then
if opt[1..2] = '//' then
continue;
aList.Add('-version=' + opt );
end;
//
if fRelease then
begin