mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-25 17:25:08 +02:00
Utilities/xml: Enable on Windows
This commit is contained in:
Notes:
github-actions[bot]
2025-08-24 19:00:08 +00:00
Author: https://github.com/ayeteadoe Commit: https://github.com/LadybirdBrowser/ladybird/commit/f4b20129d7d Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5769 Reviewed-by: https://github.com/ADKaster ✅ Reviewed-by: https://github.com/R-Goc
@@ -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;
|
||||
};
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user