Skip to content
Snippets Groups Projects
Commit 6ebc4390 authored by Ezekiel Dohmen's avatar Ezekiel Dohmen
Browse files

Merge branch 'master' into logger-module-parts-module-changes

parents 74d177a6 3f03c810
No related branches found
No related tags found
3 merge requests!439RCG 5.0 release fro deb 10,!395Next dev build,!384Logger module parts module changes
This commit is part of merge request !384. Comments created here will be created in the context of that merge request.
......@@ -1931,7 +1931,6 @@ close OUT;
close OUTD;
close WARNINGS;
#// Write out the User Space Code Here (Just copy it, same code file for both)
copy("./".$modelCodeKernFilepath, "./".$modelCodeUspFilepath) or die "copy failed: $! : ";
......@@ -2314,17 +2313,29 @@ for($ii=0;$ii<$dacCnt;$ii++)
# ******************************************************************************************
#// - GENERATE caQtDM SCREENS
opendir my $dh, $epicsScreensDir;
while (my $cf = readdir $dh) {
if($cf =~ m/.adl/) {
my ($fbase,$fext) = split '\.',$cf;
system("cp $epicsScreensDir/$cf ." );
$ui_output = "$caqtdmScreensDir/$fbase" . ".ui";
system("adl2ui $cf");
system("cp $fbase.ui $ui_output");
system("rm $fbase.ui $cf");
}
if ( system("adl2ui -h") == 0 )
{
opendir my $dh, $epicsScreensDir;
while (my $cf = readdir $dh) {
if($cf =~ m/.adl/) {
my ($fbase,$fext) = split '\.',$cf;
system("cp $epicsScreensDir/$cf ." );
$ui_output = "$caqtdmScreensDir/$fbase" . ".ui";
system("adl2ui $cf");
system("cp $fbase.ui $ui_output");
system("rm $fbase.ui $cf");
}
}
}
else #No caQtDM installed skip
{
print WARNINGS "\ncaqtdm is not installed, skipping caQtDM screen generation.\n\n";
}
close WARNINGS;
#// - Print source file names into a file
#
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment