mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-11 10:18:15 +09:00

This deduplicates argument handling logic from Help and man and makes it more modular for future use cases. The argument handling works as before: two arguments specify section and page (in this order), one argument specifies either a page (the first section that it's found in is used) or a path to a manpage markdown file.
9 lines
158 B
CMake
9 lines
158 B
CMake
set(SOURCES
|
|
Node.cpp
|
|
PageNode.cpp
|
|
Path.cpp
|
|
SectionNode.cpp
|
|
)
|
|
|
|
serenity_lib(LibManual manual)
|
|
target_link_libraries(LibManual PRIVATE LibCore)
|