Use underscore plugin artifact names

Generated with the assistance of an AI coding tool.
This commit is contained in:
Thomas Krijnen
2026-08-09 09:52:17 +02:00
parent c818f48a47
commit a441757080
26 changed files with 46 additions and 35 deletions
+1 -1
View File
@@ -95,7 +95,7 @@ foreach(schema ${SCHEMA_VERSIONS})
)
target_link_libraries(${SCHEMA_PLUGIN_TARGET} PRIVATE ${plugin_when_not_wasm} IfcParse)
set_target_properties(${SCHEMA_PLUGIN_TARGET} PROPERTIES
OUTPUT_NAME "ifcopenshell.parse.schema.ifc${schema}"
OUTPUT_NAME "ifcopenshell_parse_schema_ifc${schema}"
)
ifcopenshell_plugin_target(${SCHEMA_PLUGIN_TARGET})
+2 -2
View File
@@ -101,7 +101,7 @@ ifcopenshell::entity::~entity() {
}
}
namespace {
constexpr const char* schema_plugin_prefix = "parse.schema.";
constexpr const char* schema_plugin_prefix = "parse_schema_";
std::string schema_key(const std::string& schema_name) {
return boost::to_upper_copy(schema_name);
@@ -110,7 +110,7 @@ namespace {
ifcopenshell::plugin::module builtin_schema_module(const std::string& schema_name) {
ifcopenshell::plugin::metadata metadata;
metadata.kind_ = ifcopenshell::plugin::kind::parse_schema;
metadata.id = "parse.schema." + boost::to_lower_copy(schema_name);
metadata.id = "parse_schema_" + boost::to_lower_copy(schema_name);
metadata.schema = schema_name;
return ifcopenshell::plugin::module::builtin(metadata);
}