Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
035a69a0
Kaydet (Commit)
035a69a0
authored
Agu 07, 2003
tarafından
Jens-Heiner Rechtien
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
INTEGRATION: CWS qadev0xa (1.3.28); FILE MERGED
2003/07/03 10:30:54 lla 1.3.28.1: #110278# qadev9 -> qadev0xa
üst
0e5a2b5b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
10 deletions
+32
-10
codegen.pl
testshl2/source/codegen/codegen.pl
+32
-10
No files found.
testshl2/source/codegen/codegen.pl
Dosyayı görüntüle @
035a69a0
#!/usr/bin/perl
eval
'exec perl -wS $0 ${1+"$@"}'
if
0
;
# #/usr/bin/perl
# @lines
# push(@lines, $line) append
...
...
@@ -455,11 +458,12 @@ sub generateMakefileEntry
print
MAKEFILE
".ENDIF\n"
;
print
MAKEFILE
"\n"
;
print
MAKEFILE
"SHL${nNumber}IMPLIB= i\$(SHL${nNumber}TARGET)\n"
;
print
MAKEFILE
"SHL${nNumber}DEF= \$(MISC)\$/\$(SHL${nNumber}TARGET).def\n"
;
print
MAKEFILE
"
#
SHL${nNumber}DEF= \$(MISC)\$/\$(SHL${nNumber}TARGET).def\n"
;
print
MAKEFILE
"\n"
;
# DEF name
print
MAKEFILE
"DEF${nNumber}NAME =\$(SHL${nNumber}TARGET)\n"
;
print
MAKEFILE
"DEF${nNumber}EXPORTFILE= export.exp\n"
;
print
MAKEFILE
"# DEF${nNumber}EXPORTFILE= export.exp\n"
;
print
MAKEFILE
"SHL${nNumber}VERSIONMAP= export.map\n"
;
print
MAKEFILE
"# auto generated Target:$sTargetName\n"
;
print
MAKEFILE
"# END ------------------------------------------------------------------\n\n"
;
...
...
@@ -477,7 +481,7 @@ with stub functions for all given test routines from the jobfile.
Also generate a makefile entry which is insert in the makefile.new
if a makefile.mk already exist or this tool creates a makefile.add. Which
has to add into a new makefile.mk by hand.
Also generate a export.
ex
p file, if no one exist.
Also generate a export.
ma
p file, if no one exist.
"
;
exit
(
1
);
}
...
...
@@ -535,16 +539,34 @@ sub main
close
(
MAKEFILE
);
}
print
"\n"
;
if
(
!
-
e
"export.exp"
)
# this is the old export.exp method
# if (! -e "export.exp")
# {
# print "info: create export.exp file\n";
# open(EXPORTEXP, ">export.exp") || die "can't create export.exp";
# print EXPORTEXP "registerAllTestFunction\n";
# close(EXPORTEXP);
# }
# else
# {
# print "The file 'export.exp' file already exist, please make sure that it contains the entry 'registerAllTestFunction'.\n";
# }
if
(
!
-
e
"export.map"
)
{
print
"info: create export.exp file\n"
;
open
(
EXPORTEXP
,
">export.exp"
)
||
die
"can't create export.exp"
;
print
EXPORTEXP
"registerAllTestFunction\n"
;
close
(
EXPORTEXP
);
print
"info: create export.map file\n"
;
open
(
EXPORTMAP
,
">export.map"
)
||
die
"can't create export.map"
;
print
EXPORTMAP
"UDK_3.1 {\n"
;
print
EXPORTMAP
" global:\n"
;
print
EXPORTMAP
" registerAllTestFunction\n"
;
print
EXPORTMAP
"\n"
;
print
EXPORTMAP
" local:\n"
;
print
EXPORTMAP
" *;\n"
;
print
EXPORTMAP
"};\n"
;
close
(
EXPORTMAP
);
}
else
{
print
"The file 'export.
ex
p' file already exist, please make sure that it contains the entry 'registerAllTestFunction'.\n"
;
print
"The file 'export.
ma
p' file already exist, please make sure that it contains the entry 'registerAllTestFunction'.\n"
;
}
}
...
...
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