Configuration::getVersionMinor(),
Configuration::getVersionRelease());
printf("\n");
- printf("debug code: %s\n", Configuration::isDebugBuild() ? "yes" : "no");
- printf("tracing : %s\n", Configuration::isTracingBuild() ? "yes" : "no");
- printf("muzzled : %s\n", Configuration::isMuzzledBuild() ? "yes" : "no");
- printf("assertions: %s\n", Configuration::isAssertionBuild() ? "yes" : "no");
- printf("coverage : %s\n", Configuration::isCoverageBuild() ? "yes" : "no");
- printf("profiling : %s\n", Configuration::isProfilingBuild() ? "yes" : "no");
+ printf("debug code : %s\n", Configuration::isDebugBuild() ? "yes" : "no");
+ printf("tracing : %s\n", Configuration::isTracingBuild() ? "yes" : "no");
+ printf("muzzled : %s\n", Configuration::isMuzzledBuild() ? "yes" : "no");
+ printf("assertions : %s\n", Configuration::isAssertionBuild() ? "yes" : "no");
+ printf("coverage : %s\n", Configuration::isCoverageBuild() ? "yes" : "no");
+ printf("profiling : %s\n", Configuration::isProfilingBuild() ? "yes" : "no");
+ printf("competition: %s\n", Configuration::isCompetitionBuild() ? "yes" : "no");
exit(0);
case '?':
delete cmd;
}
+#ifdef CVC4_COMPETITION_MODE
+ // exit, don't return
+ // (don't want destructors to run)
+ exit(0);
+#endif
+
// Get ready for tear-down
exprMgr.prepareToBeDestroyed();
#endif /* CVC4_PROFILING */
}
+bool Configuration::isCompetitionBuild() {
+#ifdef CVC4_COMPETITION_MODE
+ return true;
+#else /* CVC4_COMPETITION_MODE */
+ return false;
+#endif /* CVC4_COMPETITION_MODE */
+}
+
string Configuration::getPackageName() {
return PACKAGE_NAME;
}