All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
fix_cmake_larg4.pl
Go to the documentation of this file.
1 use strict;
2 
3 use vars qw(%dir_list);
4 
5 BEGIN { %dir_list = (
6 "larsim_LArG4" => "larsim_LegacyLArG4",
7 "larsim_LArG4_LArG4Ana_module" => "larsim_LegacyLArG4_LArG4Ana_module",
8 "larsim_LArG4_LArG4_module" => "larsim_LegacyLArG4_LArG4_module",
9 "larsim_LArG4_LArSimChannelAna_module" => "larsim_LegacyLArG4_LArSimChannelAna_module"
10  ); }
11 
12 foreach my $lib (sort keys %dir_list) {
13  next if m&add_subdirectory&i;
14  next if m&simple_plugin&i;
15  next if m&SUBDIRNAME&i;
16  next if m&SUBDIRS&i;
17  #s&\b\Q${lib}\E([^\.\s]*\b)([^\.]|$)&$dir_list{$lib}${1}${2}&g and last;
18  s&\b\Q${lib}\E\b([^\.]|$)&$dir_list{$lib}${1}${2}&g and last;
19 }
use File::Basename qw(fileparse)
BEGIN_PROLOG g
tuple m
now if test mode generate materials, CRT shell, world, gdml header else just generate CRT shell for u...
my($xml, $fcl, $workdir, $check, $merge)
BEGIN
Definition: fix_cmake.pl:4
return match has_match and(match.match_pdg==11 or match.match_pdg==-11)
use strict
Definition: SubmitCommand.pl:8
then echo File list $list not found else cat $list while read file do echo $file sed s
Definition: file_to_url.sh:60
foreach my $lib(sort keys%dir_list)
Definition: fix_cmake.pl:185