Skip to content

Commit e2373c8

Browse files
committed
Show MCPL and NCrystal in openmc --version
1 parent e7a688a commit e2373c8

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/output.cpp

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -360,6 +360,8 @@ void print_build_info()
360360
std::string png(n);
361361
std::string profiling(n);
362362
std::string coverage(n);
363+
std::string mcpl(n);
364+
std::string ncrystal(n);
363365

364366
#ifdef PHDF5
365367
phdf5 = y;
@@ -373,6 +375,12 @@ void print_build_info()
373375
#ifdef LIBMESH
374376
libmesh = y;
375377
#endif
378+
#ifdef OPENMC_MCPL
379+
mcpl = y;
380+
#endif
381+
#ifdef NCRYSTAL
382+
ncrystal = y;
383+
#endif
376384
#ifdef USE_LIBPNG
377385
png = y;
378386
#endif
@@ -396,6 +404,8 @@ void print_build_info()
396404
fmt::print("PNG support: {}\n", png);
397405
fmt::print("DAGMC support: {}\n", dagmc);
398406
fmt::print("libMesh support: {}\n", libmesh);
407+
fmt::print("MCPL support: {}\n", mcpl);
408+
fmt::print("NCrystal support: {}\n", ncrystal);
399409
fmt::print("Coverage testing: {}\n", coverage);
400410
fmt::print("Profiling flags: {}\n", profiling);
401411
}

0 commit comments

Comments
 (0)