mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 09:30:24 +00:00
1d4f287582
This implements a FlyString that will de-duplicate String instances. The FlyString will store the raw encoded data of the String instance: If the String is a short string, FlyString holds the String::ShortString bytes; otherwise FlyString holds a pointer to the Detail::StringData. FlyString itself does not know about String's storage or how to refcount its Detail::StringData. It defers to String to implement these details.
40 lines
880 B
CMake
40 lines
880 B
CMake
set(AK_SOURCES
|
|
Assertions.cpp
|
|
Base64.cpp
|
|
CircularBuffer.cpp
|
|
DeprecatedFlyString.cpp
|
|
DeprecatedString.cpp
|
|
FloatingPointStringConversions.cpp
|
|
FlyString.cpp
|
|
Format.cpp
|
|
FuzzyMatch.cpp
|
|
GenericLexer.cpp
|
|
Hex.cpp
|
|
JsonParser.cpp
|
|
JsonPath.cpp
|
|
JsonValue.cpp
|
|
kmalloc.cpp
|
|
LexicalPath.cpp
|
|
NumberFormat.cpp
|
|
Random.cpp
|
|
StackInfo.cpp
|
|
String.cpp
|
|
StringBuilder.cpp
|
|
StringFloatingPointConversions.cpp
|
|
StringImpl.cpp
|
|
StringUtils.cpp
|
|
StringView.cpp
|
|
Time.cpp
|
|
URL.cpp
|
|
URLParser.cpp
|
|
Utf16View.cpp
|
|
Utf8View.cpp
|
|
UUID.cpp
|
|
)
|
|
# AK sources are included from many different places, such as the Kernel, LibC, and Loader
|
|
list(TRANSFORM AK_SOURCES PREPEND "${CMAKE_CURRENT_SOURCE_DIR}/")
|
|
|
|
set(AK_SOURCES ${AK_SOURCES} PARENT_SCOPE)
|
|
|
|
serenity_install_headers(AK)
|
|
serenity_install_sources(AK)
|