mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 22:58:11 +00: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)
|