Utilities/xml: Enable on Windows

This commit is contained in:
ayeteadoe 2025-08-07 14:17:34 -07:00 committed by Andrew Kaster
parent 2c91014bbf
commit f4b20129d7
2 changed files with 4 additions and 3 deletions

View File

@ -11,6 +11,7 @@
#include <AK/HashMap.h>
#include <AK/Variant.h>
#include <AK/Vector.h>
#include <LibXML/Export.h>
#include <LibXML/FundamentalTypes.h>
namespace XML {
@ -20,7 +21,7 @@ struct Attribute {
ByteString value;
};
struct Node {
struct XML_API Node {
struct Text {
StringBuilder builder;
};

View File

@ -7,6 +7,8 @@ else()
lagom_utility(wasm SOURCES wasm.cpp LIBS LibFileSystem LibWasm LibLine LibMain)
endif()
lagom_utility(xml SOURCES xml.cpp LIBS LibFileSystem LibMain LibXML LibURL)
# FIXME: Increase support for building targets on Windows
if (WIN32 AND ENABLE_WINDOWS_CI)
return()
@ -37,8 +39,6 @@ if (ASSERT_FAIL_HAS_INT OR EMSCRIPTEN)
target_compile_definitions(test262-runner PRIVATE ASSERT_FAIL_HAS_INT)
endif()
lagom_utility(xml SOURCES xml.cpp LIBS LibFileSystem LibMain LibXML LibURL)
if (NOT CMAKE_SKIP_INSTALL_RULES)
install(TARGETS js COMPONENT js)
install(TARGETS wasm COMPONENT wasm)