mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-21 10:19:03 +03:00
fc8f6c07b4
Along with this, Port.h is include which helps generalising common information for the port package, like it's name and version. With SemVer complaint versions, it is possible to show positive change (upgrade) or negative change (downgrade) in the installed ports. However, for some non-complaint versions (eg. using git commit hash), non-equality (`!=`) is used to notify upgrade. Since there is no algorithm (without git history) to check the order of commits, it is not possible to inform whether it is an upgrade or downgrade.
16 lines
367 B
CMake
16 lines
367 B
CMake
serenity_component(
|
|
PackageManager
|
|
RECOMMENDED
|
|
TARGETS PackageManager
|
|
DEPENDS FileSystemAccessServer
|
|
)
|
|
|
|
set(SOURCES
|
|
AvailablePort.cpp
|
|
InstalledPort.cpp
|
|
main.cpp
|
|
)
|
|
|
|
serenity_app(PackageManager ICON app-assistant)
|
|
target_link_libraries(PackageManager PRIVATE LibCore LibSemVer LibMain LibFileSystem LibProtocol LibHTTP LibMarkdown LibShell)
|