mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 09:21:46 +00:00
Rework debug flags in settings
This commit is contained in:
@@ -244,7 +244,6 @@ int main(int argc, char** argv) {
|
||||
("help,h", "display usage information")
|
||||
("version", "display version information")
|
||||
("verbose,v", po::value(&vcounter)->zero_tokens(), "more verbose log messages. Use twice (-vv) for debugging level.")
|
||||
("debug,d", "write boolean operands to file in current directory for debugging purposes")
|
||||
("quiet,q", "less status and progress output")
|
||||
#ifdef WITH_HDF5
|
||||
("cache", "cache geometry creation. Use --cache-file to specify cache file path.")
|
||||
|
||||
@@ -169,13 +169,13 @@ namespace ifcopenshell {
|
||||
static constexpr double defaultvalue = 1.0;
|
||||
};
|
||||
|
||||
struct DebugBooleanOperations : public SettingBase<DebugBooleanOperations, double> {
|
||||
static constexpr const char* const name = "debug-boolean";
|
||||
static constexpr const char* const description = "";
|
||||
struct DebugBooleanOperations : public SettingBase<DebugBooleanOperations, bool> {
|
||||
static constexpr const char* const name = "debug";
|
||||
static constexpr const char* const description = "write boolean operands to file in current directory for debugging purposes";
|
||||
static constexpr bool defaultvalue = false;
|
||||
};
|
||||
|
||||
struct BooleanAttempt2d : public SettingBase<BooleanAttempt2d, double> {
|
||||
struct BooleanAttempt2d : public SettingBase<BooleanAttempt2d, bool> {
|
||||
static constexpr const char* const name = "boolean-attempt-2d";
|
||||
static constexpr const char* const description = "Do not attempt to process boolean subtractions in 2D.";
|
||||
static constexpr bool defaultvalue = true;
|
||||
|
||||
Reference in New Issue
Block a user