1
0
Fork 0
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:
Gordon McCann 2022-08-30 14:19:42 -04:00
parent 15020355a6
commit 45a80ab76f
3 changed files with 13 additions and 1 deletions

View File

@ -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)

View File

@ -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];

View File

@ -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]);
} }