Remove C++ references to ifcxml

This commit is contained in:
Thomas Krijnen
2026-04-19 10:35:04 +02:00
parent d448fa95e3
commit 6c47123781
6 changed files with 0 additions and 22 deletions
-5
View File
@@ -1056,11 +1056,6 @@ bool init_input_file(const std::string& filename, ifcopenshell::file*& ifc_file,
bool requires_init = false;
#ifdef WITH_IFCXML
// if (boost::ends_with(boost::to_lower_copy(filename), ".ifcxml")) {
// ifc_file = ifcopenshell::parse_ifcxml(filename);
// } else
#endif
{
ifc_file = new ifcopenshell::file(ifcopenshell::uninitialized_tag{});
requires_init = true;
-12
View File
@@ -38,18 +38,6 @@ add_library(parse ALIAS IfcParse)
target_compile_definitions(IfcParse PUBLIC ${SCHEMA_DEFINITIONS})
set_target_properties(IfcParse PROPERTIES COMPILE_FLAGS -DIFC_PARSE_EXPORTS VERSION "${PROJECT_VERSION}" SOVERSION "${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}")
if(IFCXML_SUPPORT)
find_package(LibXml2 REQUIRED)
target_compile_definitions(IfcParse PUBLIC WITH_IFCXML)
set(SWIG_DEFINES ${SWIG_DEFINES} -DWITH_IFCXML PARENT_SCOPE)
if(LibXml2_DIR)
target_compile_definitions(IfcParse PRIVATE ${LIBXML2_DEFINITIONS})
endif()
target_link_libraries(IfcParse LibXml2::LibXml2)
endif()
if(WASM_BUILD)
target_link_libraries(IfcParse plugin ${BCRYPT_LIBRARIES})
else()
-1
View File
@@ -951,7 +951,6 @@ object = _old_object
// The file* returned by open() is to be freed by SWIG/Python
%newobject open;
%newobject read;
%newobject parse_ifcxml;
%newobject stream_from_string;
%inline %{