mirror of
https://github.com/gwm17/Mask.git
synced 2024-11-22 10:18:50 -05:00
Enforce dictionary linking. Update cmake list
This commit is contained in:
parent
15020355a6
commit
45a80ab76f
|
@ -20,6 +20,6 @@ find_package(ROOT REQUIRED COMPONENTS GenVector)
|
||||||
|
|
||||||
add_subdirectory(src/vendor/catima)
|
add_subdirectory(src/vendor/catima)
|
||||||
add_subdirectory(src/Mask)
|
add_subdirectory(src/Mask)
|
||||||
add_subdirectory(src/MaskApp)
|
add_subdirectory(src/Kinematics)
|
||||||
add_subdirectory(src/Detectors)
|
add_subdirectory(src/Detectors)
|
||||||
add_subdirectory(src/Plotters)
|
add_subdirectory(src/Plotters)
|
|
@ -13,6 +13,12 @@ int main(int argc, char** argv)
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(!Mask::EnforceDictionaryLinked())
|
||||||
|
{
|
||||||
|
std::cerr<<"This should be illegal!"<<std::endl;
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
std::string inputname = argv[1];
|
std::string inputname = argv[1];
|
||||||
std::string outputname = argv[2];
|
std::string outputname = argv[2];
|
||||||
std::string statsname = argv[3];
|
std::string statsname = argv[3];
|
||||||
|
|
|
@ -9,6 +9,12 @@ int main(int argc, char** argv)
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(!Mask::EnforceDictionaryLinked())
|
||||||
|
{
|
||||||
|
std::cerr<<"This should be illegal!"<<std::endl;
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
RootPlotter plotter;
|
RootPlotter plotter;
|
||||||
plotter.Run(argv[1], argv[2]);
|
plotter.Run(argv[1], argv[2]);
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user