mirror of
https://github.com/RGBCube/serenity
synced 2025-05-20 14:25:08 +00:00

Old situation: Object.h defines Object Object.h defines ArrayObject ArrayObject requires the definition of Object ArrayObject requires the definition of Value Value.h defines Value Value requires the definition of Object Therefore, a file with the single line "#include <Value.h>" used to raise compilation errors; certainly not something that one might expect from a library. This patch splits up the definitions in Object.h to break the cycle. Now, Object.h only defines Object, Value.h still only defines Value (and includes Object.h), and the new header ObjectDerivatives.h defines ArrayObject (and includes both Object.h and Value.h).
13 lines
257 B
CMake
13 lines
257 B
CMake
set(SOURCES
|
|
ColorSpace.cpp
|
|
CommonNames.cpp
|
|
Document.cpp
|
|
Filter.cpp
|
|
ObjectDerivatives.cpp
|
|
Parser.cpp
|
|
Renderer.cpp
|
|
Value.cpp
|
|
)
|
|
|
|
serenity_lib(LibPDF pdf)
|
|
target_link_libraries(LibPDF LibC LibCore LibIPC LibGfx LibTextCodec)
|