mirror of
https://github.com/zebrajr/ladybird.git
synced 2025-12-06 00:19:53 +01:00
Utilities/xml: Enable on Windows
This commit is contained in:
parent
2c91014bbf
commit
f4b20129d7
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user