Enable retargeting of example schema

This commit is contained in:
Thomas Krijnen
2026-06-12 11:04:18 +02:00
parent 3136c74c2f
commit 4d22a3fdb9
14 changed files with 294 additions and 132 deletions
+9 -2
View File
@@ -24,8 +24,15 @@
********************************************************************************/
#include <fstream>
#include "ifcparse/macros.h"
#ifndef IfcSchema
#define IfcSchema Ifc2x3
#include "ifcparse/Ifc2x3.h"
#endif
#include INCLUDE_SCHEMA(ifcparse, IfcSchema)
#include INCLUDE_SCHEMA_DEFINITIONS(ifcparse, IfcSchema)
#include "ifcparse/IfcHierarchyHelper.h"
typedef std::string S;
@@ -205,4 +212,4 @@ int main(int argc, char** argv) {
file.header().file_name()->setname(filename);
std::ofstream f(filename);
f << file;
}
}