Move IFCOPENSHELL_VERSION definition from IfcParse.h

To prevent recompiling all files that have IfcParse.h include and improve caching.
This commit is contained in:
Andrej730
2025-09-30 18:11:33 +05:00
parent f6ebf80fab
commit babf95785c
8 changed files with 49 additions and 15 deletions
+1 -1
View File
@@ -191,7 +191,7 @@ protected:
}
public:
const std::string& string() { return str; }
Hello() : Command(HELLO), str("IfcOpenShell-" IFCOPENSHELL_VERSION "-0") {}
Hello() : Command(HELLO), str("IfcOpenShell-" + std::string(IFCOPENSHELL_VERSION) + "-0") {}
};
class More : public Command {