mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-18 19:30:25 +00:00
Use underscore plugin artifact names
Generated with the assistance of an AI coding tool.
This commit is contained in:
@@ -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})
|
||||
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user